Commit Graph

8 Commits (9bc4417be380f247a815603d69b0452f1fe0e213)

Author SHA1 Message Date
pictuga edff54a016 Add pushContent in feeds.py
Useful for twitter (later) for it's "clip" toggle, which keeps the original desc/content above the article. Makes changing the content, while keeping the original stub in place, easier.
2013-09-25 12:18:22 +02:00
pictuga e759cd46c6 Add set/getLinks in FeedItem (base) 2013-09-17 00:45:15 +02:00
pictuga 355bfa5efd Adding items, creating feeds now possible
Both hakish to do, but works
2013-09-17 00:44:10 +02:00
pictuga 3176c2a8e8 Fix bad characters detection
Now works with any encoding, no longer restricted to utf-8. Uses regex to find encoding (not perfect, but rather fast, since it's used on a substring)
2013-09-15 14:57:37 +02:00
pictuga 1b7fdad6a8 Improve broken XML support
TPB feed is a good example <http://rss.thepiratebay.sx/blog>. Now supports ampersand in feed, using the "recover" mode in etree.parse. Broken utf-8 strings in feed are now also supported.
2013-09-08 15:48:34 +02:00
pictuga fe89a70f24 Add help for new classes 2013-09-01 19:00:22 +02:00
pictuga 50f3c5a552 Use descriptors for lists and to replace property
Much nicer. Less duplicate code. More transparent. Big commit.
2013-09-01 18:52:07 +02:00
pictuga 8ac7d8b282 Add feeds.py
This is a huge change. Feed parsing is now done in a separate file, much cleaner. The code of the lib tends to repeat itself a lot though. It should be possible to improve it. Code should be more stable.
2013-07-14 18:25:49 +02:00