I think class django.contrib.syndication.feeds.Feed need
item_categories methods that allow use of categories also in high-level
syndication framework.
Something like this should work:

    # ITEM CATEGORIES --One of the following three is optional. The
    # framework looks for them in this order.
    #
    # If you specify this, you must specify item_categories.

    def item_categories(self, obj):
        """
        Takes an item, as returned by items(), and returns the item's
        categories as a Python list.
        """

    def item_categories(self):
        """
        Returns the categories for every item in the feed.
        """

    item_categories = ("Action", "Drama", "Sci-Fi",) # Hard-coded
categories.


Cherrs,
Flavio Curella.

Reply via email to