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>
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>
When piping to stdout the special handling for Pthon 3 will cause
problems in Python 2 and produce an Unicode encoding error. This commit
separates the output handling of both Python versions.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
- Syndication extension
- Remove six dependency
- Fix typo, schema to scheme
- Fixed Localized Time Formatting Issues
- Added Support for XML Declaration
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
All XML generation methods now have an optional argument
`xml_declaration` which, set to True, will add an XML declaration to the
output. By default, the argument is set to True.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
- Fixed several minor bugs
- Code cleanup of extensions (API change!)
- Added unit tests
Thanks to all contributors!
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This merges in a pull request by Shekhar, adding support for CDATA
content:
---
If type specified CDATA content won't be escaped. This makes it easier
for RSS publishers and readers. Also adheres CDATA recommendation at
http://www.rssboard.org/rss-profile#element-channel-item-description
---
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This fixes some small issues with the unit tests and adding a test case
to the Makefile so that all tests can easily be invoked by running:
make test
Signed-off-by: Lars Kiesow <lkiesow@uos.de>