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
jonathan vanasco
4f48bc1213
allowing pluggable extensions
2016-03-08 22:46:07 -05:00
julien
5caebc220c
ref https://github.com/lkiesow/python-feedgen/issues/34
...
ref https://github.com/OnroerendErfgoed/postregistratie/issues/398
2015-12-03 16:57:30 +01:00
Lars Kiesow
abfd566c5b
Fixed #28 , Added Support for XML Declaration
...
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>
2015-10-29 00:04:16 +01: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
Vincent Driessen
626d9df6c4
Add Python 3 compatibility.
2015-01-03 22:34:33 +01:00
wltb
72b2896cf8
Add encoding argument for output creation functions, change default encoding to unicode
2015-01-03 22:14:59 +01:00
snipem
0907e993e4
Fix skipHours for Python 3
...
The xrange function isn’t available in Python 3. The range function
however is doing the same job and is working for both Python 2 and
Python 3.
2014-06-02 23:08:50 +02:00
snipem
9213c3057e
Fix domain and ttl bugs for RSS generation
...
In the context of RSS cloud domain was spelled incorrectly as ‚donain‘
which resulted in an error while unit testing. Additionally, also in
RSS ttl (Time to live) wasn’t transformed to a string.
2014-06-02 22:47:45 +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
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
647d96881e
Fixed Issue #5 : Removed debug leftover
2013-09-23 14:28:01 +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
Lars Kiesow
4a7e7ad83c
improved error messages
2013-05-20 14:23:21 +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
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
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