Commit graph

32 commits

Author SHA1 Message Date
Zhiming Wang
9f4431880e
Rename url to uri in Atom feeds
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.
2016-12-19 01:11:33 -05:00
Lars Kiesow
303e74dc7a
Fixed registration of custom extensions
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>
2016-08-28 20:54:11 +02:00
Lars Kiesow
1a2c032654 Merge branch 'feature-load_extension' of https://github.com/jvanasco/python-feedgen into custom-extensions 2016-08-28 19:11:13 +02:00
jonathan vanasco
4f48bc1213 allowing pluggable extensions 2016-03-08 22:46:07 -05:00
Russel Mahmud
5724c569b1 Fix atom content type CDATA 2016-03-03 15:26:55 +06:00
Lars Kiesow
9819fd98b3
Fixed #26, Fixed Localized Time Formatting Issues
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-28 23:20:51 +01:00
Lars Kiesow
eca772f0b6
Merge branch 'for-pr-omitsix' of https://github.com/masayuko/python-feedgen
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-28 23:00:06 +01:00
IGARASHI Masanao
2f3c7dfe85 Fix typo, schema to scheme 2015-04-25 07:06:14 +09:00
IGARASHI Masanao
206e72cc23 Remove six dependency 2015-04-24 21:43:29 +09:00
Lars Kiesow
7d1bda868d
Fixed #24 Categories For Feed Entries
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-03 23:27:52 +01:00
Vincent Driessen
626d9df6c4 Add Python 3 compatibility. 2015-01-03 22:34:33 +01:00
Shekhar
5353f3ede5 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
2014-06-20 10:05:34 +05:30
wltb
bf6b8af249 Feed Creation: Add a separate extension call for namespace stuff. Change extensions accordingly.
Entry creation: Entries create their own XML Element, which is put into the feed by the caller
2014-05-06 10:43:39 +02:00
wltb
2e7b343857 Add content namespace and semantics for RSS 2014-05-01 01:28:09 +02:00
wltb
b3fb2ba777 Implement action for items in the dc extension. 2014-04-21 17:54:38 +02:00
Jimmy
ec4aa780c2 author is not required by rss. 2013-11-30 22:11:22 +01:00
Jimmy
b4a68f431d Make 'alternate' to the default rel value. 2013-11-30 22:10:14 +01:00
Lars Kiesow
eb5c285952 Fixed bug with non-existing type attributes 2013-09-29 19:48:33 +02:00
Lars Kiesow
6b2a2a5232 Fixed <published> attribute in Atom feed entries 2013-09-28 01:19:04 +02:00
Lars Kiesow
8b18122cfd Support of different types of content
Now the content element now supports the type attribute and the content
is encoded accordingly:
 - text and html are escaped
 - xhtml is surrounded with a div and then included as XML
 - XML is directly included
 - base64 support was *not* added. Please file a bug if you need it
2013-09-28 01:00:11 +02:00
Lars Kiesow
8b87fa67ad Fixed issue with alternate link instead of content for atom entries
...won't let me generate atom entries without a content tag even though
I have a correct link tag...
2013-09-23 14:35:59 +02:00
emacsen
29838e1f71 Fix typo found in enclosure function 2013-07-14 11:43:41 -04:00
Lars Kiesow
66689be7ff Proper initialization 2013-05-16 19:04:03 +02:00
Lars Kiesow
0a38947252 Changed RFC822 dates 2013-05-14 18:15:58 +02:00
Lars Kiesow
f47783cfb0 Fixed that ValueError was not raised 2013-05-14 17:53:18 +02:00
Lars Kiesow
3044c782e5 Fixed xml generation of entry 2013-05-14 17:46:21 +02:00
Lars Kiesow
c56f8a52aa Fixed string check 2013-05-13 17:50:03 +02:00
Lars Kiesow
8086f2112e fixed docstrings 2013-05-13 17:48:51 +02:00
Lars Kiesow
840dc7e5b8 Added extension support and converted PodcastGenerator to extension 2013-05-05 18:17:44 +02:00
Lars Kiesow
671841be6d removed shebang from library files 2013-05-05 00:05:11 +02:00
Lars Kiesow
66f8f3d8e9 renamed feedgenerator to feedgen 2013-05-04 22:54:43 +02:00
Lars Kiesow
e1a5a8e7a0 renamed feedgenerator to feedgen (files) 2013-05-04 22:45:24 +02:00
Renamed from feedgenerator/entry.py (Browse further)