Commit Graph

23 Commits (fa14fa0ccbd2b678e02ee10ac50ff013a58ae0fc)

Author SHA1 Message Date
pictuga e3f525ff2a Fix JSON related encoding issue 2013-12-04 20:26:39 +01:00
pictuga c43bf9f35f Feed: print roottree
Keeps doctype declaration, xml stylesheets and so on
2013-12-04 20:14:09 +01:00
pictuga 71e4d597f8 Atom: support for <link rel="relative">
Not very clean. Clean work would require full rewrite of xgetCreate & maybe the whole item "selection" system
2013-12-04 20:12:52 +01:00
pictuga 35fba5ffad Toggle isPermaLing when changing item url 2013-11-16 19:08:08 +01:00
pictuga 91251ec306 isPermaLink in feeds.py (RSS only) 2013-11-16 19:07:25 +01:00
pictuga 68768dd6e4 Add FeedBool in feeds.py
To handle boolean values
2013-11-16 19:06:35 +01:00
pictuga 610334dca9 Use self.nname in descriptor to store preformated 2013-11-16 19:05:57 +01:00
pictuga 22d12a769c Fix Atom item's link discovery 2013-11-03 13:38:56 +01:00
pictuga d0360e5285 Remove delItems setItems in feeds.py
That part is actually done in the FeedList class
2013-10-21 21:31:38 +02:00
pictuga c1d410267b Fix two function in case of None element 2013-10-12 23:36:43 +02:00
pictuga 0d1f1fdcc0 Support for (gu)id 2013-10-12 23:36:00 +02:00
pictuga 12d48918d8 Add time handling in feeds.py
Lots of time format can be passed as a value (RSS/Atom time strings, timestamp, anything supported by dateutil.parser). Implemented in twitter feedify hook.
2013-10-09 00:48:05 +02:00
pictuga 196400967d Type of self.xdel in feeds 2013-10-02 11:33:40 +02:00
pictuga 050be7690d Ability to delete desc, content, title in feeds 2013-10-01 19:52:21 +02:00
pictuga 78706952fe Remove "clip" from Fill
Put that in Gather. Also removed from feeds.py. "alone" mode was also added (it removes the description).
2013-10-01 19:45:54 +02:00
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