Commit graph

49 commits

Author SHA1 Message Date
Lars Kiesow
d6cbfdb81c
Fix issues with python3
The introduced way of printing things in python3 would work for byte
arrays but not for simple strings. This patch fixes this issue.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2014-05-11 19:53:29 +02:00
Lars Kiesow
a787b22b7f Merge branch 'master' of https://github.com/snipem/python-feedgen into merge-test 2014-05-11 18:04:24 +02:00
snipem
966b7f200b Added Python 3 compatibility
Exchanged iteritems() for item() and added helper function for printing
2014-05-07 21:22:55 +02:00
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
Lars Kiesow
1e9cf23f65 Merge branch 'patch-1' of https://github.com/tekromancr/python-feedgen 2014-05-05 23:42:49 +02:00
George Griffin
cdaef2dd4b Fixes return on FeedGenerator.copyright() 2014-05-05 00:54:02 -04:00
wltb
2e7b343857 Add content namespace and semantics for RSS 2014-05-01 01:28:09 +02:00
wltb
c2197dd368 File output:
Added parameter for pretty print. Pass the file parameter directly to lxml.
2014-04-21 22:37:05 +02:00
wltb
b3fb2ba777 Implement action for items in the dc extension. 2014-04-21 17:54:38 +02:00
Lars Kiesow
d7d7b82f55 Release 0.2.8
Fixed documentation issues with last release
2014-01-01 19:06:45 +01:00
Lars Kiesow
0a83aa0d97 Release 0.2.7
Inclused some bugfixes.
2014-01-01 17:02:24 +01:00
Nico Gulden
262a0137e1 Fixed NameError: global name 'updated' is not defined
Fixes traceback
lib/python2.7/site-packages/feedgen/feed.py", line 447, in lastBuildDate
return updated( lastBuildDate )
NameError: global name 'updated' is not defined
2013-12-23 12:19:33 +01:00
Lars Kiesow
e34d9c5693 Docstring cleanup 2013-12-01 19:42:55 +01: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
Jimmy
ca860363e8 Support for default values to ensure_format. 2013-11-30 22:07:28 +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
ea6f9626a3 Release 0.2.6 2013-09-23 14:49:33 +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
Lars Kiesow
647d96881e Fixed Issue #5: Removed debug leftover 2013-09-23 14:28:01 +02:00
meteozond
d9b19f8536 Fixed podcast itunes image 2013-08-15 12:55:09 +04:00
Lars Kiesow
8b99518a40 release 0.2.5 2013-07-22 00:40:36 +02:00
DarDar
5b613c49ab Use datetime instead of datetime.datetime
There is "from datetime import datetime" in beginning of the file.
Thus the "datetime.datetime" should be checked as "datetime".
2013-07-21 21:19:39 +02:00
emacsen
29838e1f71 Fix typo found in enclosure function 2013-07-14 11:43:41 -04:00
Lars Kiesow
7981ce5884 dc: ready to use 2013-05-29 20:40:43 +02:00
Lars Kiesow
c9e07f3e0c renamed dc elements extension to dc 2013-05-29 13:55:53 +02:00
Lars Kiesow
c885652153 finished dc elements extension for feed 2013-05-29 13:54:54 +02:00
Lars Kiesow
095af7c57a Started working on Dublin Core Elements extension 2013-05-27 18:12:14 +02:00
Lars Kiesow
4a7e7ad83c improved error messages 2013-05-20 14:23:21 +02:00
Lars Kiesow
d2a3fa62ff release 0.2.4 2013-05-16 19:31:40 +02:00
Lars Kiesow
950e2f909d included version in docs and setup 2013-05-16 19:30:29 +02:00
Lars Kiesow
66689be7ff Proper initialization 2013-05-16 19:04:03 +02:00
Lars Kiesow
dd0d742e6d Fixed return type of base extension 2013-05-16 18:32:32 +02:00
Lars Kiesow
0aecfe2008 new release 2013-05-14 18:20:37 +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
bdd309fc2b fixed docstring for sphinx 2013-05-13 15:48:20 +02:00
Lars Kiesow
9a17daad30 Fixed problems with subpackage in setup.py 2013-05-05 23:00:44 +02:00
Lars Kiesow
acf49df097 Fixed version problems 2013-05-05 22:51:22 +02:00
Lars Kiesow
9df7e9dc48 Documentation for extension system 2013-05-05 20:36:35 +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