Maintain the subscription list using OPML format, which is de facto standard for the purpose.
Represent body element of OPML document.
Encode strings e.g. ['a', 'b', 'c'] into a comma-separated list e.g. 'a,b,c', and decode it back to a Python list. Whitespaces between commas are ignored.
>>> codec = CommaSeparatedList() >>> codec.encode(['technology', 'business']) 'technology,business' >>> codec.decode('technology, business') ['technology', 'business']
Represent head element of OPML document.
Represent outline element of OPML document.
(datetime.datetime) The archived time, if deleted ever. It could be None as well if it’s never deleted. Note that it doesn’t have enough information about whether it’s actually deleted or not. For that you have to use deleted property instead.
New in version 0.3.0.
Subscription which holds referring feed_uri.
(str) The feed identifier to be used for lookup. It’s intended to be SHA1 digest of Feed.id value (which is UTF-8 encoded).
(distutils.version.StrictVersion) The OPML version number.
Determine whether the set contains the given outline. If recursively is False (which is by default) it works in the same way to in operator.
True if the set (or tree) contains the given outline, or False
New in version 0.2.0.
Add a subscription from Feed instance. Prefer this method over add() method.
the created subscription object
New in version 0.3.0: Optional icon_url parameter was added.