feeds.rss – feed rss feeds

feeds.forms is the interface to output the collected feeds again.

It shall incorporate tracking functions

feeds/feeds.py

output feeds collected elsewhere

..codeauthor: Andreas Neumeier

class feeds.rss.ITunesFeed(title, link, description, language=None, author_email=None, author_name=None, author_link=None, subtitle=None, categories=None, feed_url=None, feed_copyright=None, feed_guid=None, ttl=None, **kwargs)

Bases: django.utils.feedgenerator.Rss201rev2Feed

This shall reproduce an iTunes Feed

add_root_elements(handler)

Add elements in the root (i.e. feed/channel) element. Called from write().

root_attributes()

Return extra attributes to place on the root (i.e. feed/channel) element. Called from write().

class feeds.rss.RssFeed

Bases: django.contrib.syndication.views.Feed

Re-Produce a RSS Feed from stored items

author(obj)

Return the author for this feed. The feed is in obj, provided by get_object

feed_url(obj)

Return the feed_url/link for this feed. The feed is in obj, provided by get_object

get_object(request, feed_id)

Get the feed for which the items should be processed

Return a trackable link for every item part of this feed.

items(obj)

get the actual feed-entries for obj

Return the link for this feed. The feed is in obj, provided by get_object

title(obj)

Return the title for this feed. The feed is in obj, provided by get_object