Commit graph

210 commits

Author SHA1 Message Date
raspbeguy
6b7c44eeb3 Creation of torrent extention 2016-05-24 00:46:11 +02:00
xaxa
086d51c555 changes to support multiple itunes (sub)categories 2016-03-21 11:38:44 -03: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
290045ac49 Merge branch 'patch-1' of https://github.com/tdhopper/python-feedgen 2016-01-01 20:36:57 +01:00
Lars Kiesow
9b6e3cb45e
Fix Python 2 Unicode Problem
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>
2016-01-01 19:31:00 +01:00
Timothy Hopper
aee009678c Fix spelling error 2015-12-31 21:43:23 -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
7b9df19402
Added Python 3 Package to Readme
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-30 01:03:26 +01:00
Lars Kiesow
345c0edf09
Release 0.3.2
- 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>
2015-10-29 23:14:55 +01:00
Lars Kiesow
ba89e283b2
Added Travis CI Build Status Image
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-29 00:45:14 +01:00
Lars Kiesow
86a8b69233
Fix Python 3 Test Issues
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-29 00:39:57 +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
303c047697
Merge branch 'fixDomainOnCategory' of https://github.com/pzelnip/python-feedgen
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-28 23:05:49 +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
Lars Kiesow
553a02cd56
Merge branch 'for-pr-fixtypo' of https://github.com/masayuko/python-feedgen
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-28 22:42:22 +01:00
Lars Kiesow
fab134e9ba
Added Copr Repository to Readme
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-28 22:31:20 +01:00
Lars Kiesow
99e4ed856a
Merge branch 'syndication_extension' of https://github.com/ksato9700/python-feedgen
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-10-28 22:30:25 +01:00
Adam Parkin
0aee3fd407 Fixed domain not being set on RSS 2015-10-27 08:50:13 -07:00
Lars Kiesow
183cbd577a
Updated RPM SPEC File to Support Python 3
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-05-04 18:51:35 +02: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
Ken Sato
e4149d5c00 add syndication extension 2015-03-08 18:39:18 +09:00
Lars Kiesow
bf8d0729f6
Release 0.3.1
- Python 3 compatibility
 - Test updates
 - Encoding support

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-16 17:05:54 +01: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
Lars Kiesow
01e3c0daaa
Update Links to RPM Files
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-03 23:13:55 +01:00
Lars Kiesow
a16759c339
Merge lionelyoung:patch-1
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-03 22:48:13 +01:00
Lars Kiesow
f926aed49b
Added Python 3.4 for Tests
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-03 22:35:31 +01: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
Lars Kiesow
be09fe7b65
Be Less Noisy on Dependency Installation
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-03 22:14:31 +01:00
Lars Kiesow
6ac8191396
Update Travis-CI Configuration
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2015-01-03 22:09:31 +01:00
Lionel Young
3b821a43d6 Update readme.md for podcast example
Show the user how to create an entry with an enclosure
2015-01-01 19:28:36 -08:00
Lars Kiesow
f9c2b36233
Remove temporary test files
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2014-07-21 00:43:54 +02:00
Lars Kiesow
211aac6f28
Modified documentation for new release
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2014-07-21 00:34:07 +02:00
Lars Kiesow
8e0ed2df8b
Release 0.3.0
- 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>
2014-07-20 23:57:29 +02:00
Lars Kiesow
36a16fe725
Merge branch 'master' of https://github.com/shon/python-feedgen
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>
2014-07-20 23:29:12 +02:00
Lars Kiesow
ff1f40a6cd
Fixing some small test issues
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>
2014-07-20 22:55:25 +02:00
Lars Kiesow
858abbf79b
Merge branch 'master' of https://github.com/snipem/python-feedgen
This merges in a pull request by snipem brining in some unit tests and
bug fixes:

---

Unit tests

I've created unit tests for the module, especially for feeds and
entries. Whilst entry tests aren't fully implemented yet, unit test
cases for feed creation are complete and working. They cover the
creation of a full blown feed in Atom and RSS.

Bugs fixed

Thanks to the unit test cases, I was able to discover three bugs
concerning the fields domain, ttl and skipHours. According to the
lastest test results, they are resolved and working with both Python 2
and Python 3.

Travis support

Additionally, I've added Travis support. Which is a Continuous
Integration platform powering Github.

---

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2014-07-20 22:54:32 +02:00
Lars Kiesow
ae760d0463
Fixed some fields of the DC extension
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
2014-07-20 22:19:17 +02: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
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
a6300a13ab Added dateutil requirement for travis
python-dateutil was missing for a clean install of the module
2014-06-02 22:55:25 +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
snipem
da06835e8b Added unit test cases for extension loading
Also fixed bugs regarding the upcoming feed.py fix
2014-06-02 22:45:15 +02:00
snipem
d2bbc87f6c Added test cases for all elements and travis support 2014-06-01 13:39:37 +02:00
snipem
90ab565a4a Unit test for feed creation
Tests feed object, atom and rss string
2014-06-01 00:27:35 +02:00
wltb
eab1f874f2 podcast: Update docstring, remove legacy x=x code 2014-05-12 19:04:55 +02:00
wltb
cddff68f37 dc: Centralize XML extension 2014-05-12 18:53:39 +02:00