RSS does not require an author's name, but only his email address. This
patch makes the name optional for RSS. Note that the name is required in
ATOM feeds and an author will not be included if the name is missing.
This fixes#59
As with media:content, there can be multiple media:thumbnail elements in
an item and in multiple groups. This patch adds the ability to do this
in the same manner as with the content.
Part of #58
One item can have multiple media:content elements which may be located
in multiple media:group element to indicate that content is the same but
for the format.
This patch adds the ability to add multiple content elements and define
the group to which they go belong.
If no group is specified, all elements are located in a `default` group.
If the group is set to None, the content element is directly attached to
the item element.
Part of #58
Using `fe.media.media_content(…)` is quite redundant. iThis patch
changes the name to `fe.media.content(…)`. The same goes for the
thumbnail method.
Part of #58
This command will automatically check the coverage of the whole project
on not only the modules called by the tests.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This patch extends the test coverage of the unit tests. It also enables
python-coverage and coveralls to track unit test coverage.
There are some additional minor issue fixed discovered during the test
creation.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
- Moved to reStructuredText for documentation (readme)
- Adhere to PEP8 (flake8)
- Fixed several minor issues
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
Sphinx always included the readme file into the generated documentation.
Since Markdown and reStructuredText are not fully compatible, the output
was now partly broken. This moves to reStructuredText only to avoid that
problem.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This patch makes the feedgen flake8 compatible, fixing some minor issues
along the way. Most noticeable, this switches from tabs to spaces.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
According to RFC 4287, there is no atom:url element, only atom:uri, so
replace occurrences of atom:url with atom:uri for compliance.
Also rename variables holding atom:uri from email to uri to better
indicate what they actually are.
- Added support for custom extensions
- Updated set-up utils
- Added Torrent extensions
- Added support for multiple ITunes (sub-)categories
- Fixed CDATA content
Thanks to all contributors for doing most of the work!
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This patch ensures the compatibility of setting categories for itunes
podcasts even though the new API now supports setting multiple
(sub-)categories.
It also fixes the docs and adjusts them to explicitly mark the old
syntax as deprecated.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This fixes some minor problems with the pull request from jvanasco so
that it may be included into the next release:
- Only one extension registry is used internally and custom extensions
do not have to be stored two times.
- Fix the bug that entry extensions were loaded for feeds.
- Do not fail if there is only a feed extension.
- Extensions for entries do not need a feed extension class.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This pull request fixes the problem that right now, if you select
content type CDATA for atom feed like this:
feed_entry.content('content', type="CDATA")
it raises a TypeError: Argument must be bytes or unicode, got 'dict'.