This patch implements the source element for feed entries/items. Note
that only the set of RSS elements (URL and title) are implemented right
now. ATOM supports additional elements which cannot be set at the
moment.
This fixes#79
This patch renames the entries `pubdate` method to `pubDate` to be
consistent with the feed's method as well as the documentation. Note
that for now, the old method is preserved as well but is marked as
deprecated and to be removed.
This fixes#71
- MediaRSS support
- New entries are now rendered first
- Python 3.6 support and testing
- Add permalink attribute to RSS guid
- Lots of tests and minor fixes
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
The `isPermalink` attribute can now be set using the `guid()` function
for entries. Note that this only effects RSS feeds. This patch does not
change Atom feeds in any way.
This fixes#60
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 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>
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>