RssUserland091Feed
This class provides a feed generator for the RSS 0.91 specification, extending the base RSS feed functionality. It specifically handles the creation of item elements by including mandatory title and link tags, along with an optional description. The class ensures that feed items conform to the Userland 0.91 standard during the XML generation process.
Methods
add_item_elements()
@classmethod
def add_item_elements(
handler: [SimplerXMLGenerator](../xmlutils/simplerxmlgenerator.md?sid=django_utils_xmlutils_simplerxmlgenerator),
item: dict
) - > null
Adds the title, link, and description elements to an individual item in the RSS feed.
Parameters
| Name | Type | Description |
|---|---|---|
| handler | [SimplerXMLGenerator](../xmlutils/simplerxmlgenerator.md?sid=django_utils_xmlutils_simplerxmlgenerator) | The XML handler instance used to write the feed elements to the output stream |
| item | dict | A dictionary containing the item data, including 'title', 'link', and an optional 'description' |
Returns
| Type | Description |
|---|---|
null | None |