Utils Feeds
inyoka.utils.feeds
Utils for creating an atom feed.
- copyright:
2007-2026 by the Inyoka Team, see AUTHORS for more details.
- license:
BSD, see LICENSE for more details.
- class inyoka.utils.feeds.InyokaAtomFeed
- class FeedModes(*values)
- FULL = 'full'
- SHORT = 'short'
- TITLE = 'title'
- static _generate_next_value_(name, start, count, last_values)
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_values: the list of values assigned
- _check_content_mode(kwargs)
- _check_item_count(kwargs)
- _shorten_html(html)
- _subtitle(obj)
Small helper which returns the subtitle content. Modify it in the subclass.
- feed_copyright()
- get_object(request, *args, **kwargs)
- subtitle(obj)
Removes HTML tags in subtitle (otherwise they will be escaped). For customization use _subtitle.
- supports_modes = True