Sean McCully
Sean McCully

Reputation: 1132

Django Feeds Add Item Entity

I have a Django Feed spitting out RSS. The problem is the model that i am using has extra fields that dont get included in the default RSS that I need to use on the receiving end of RSS. I found documentation on "add_item_elements" method that sounds like I want to do. Yet I cant seem to get it to work. Method implementation is below.

    def add_item_elements(self, handler, item):
        super(Rss, self).add_item_elements(handler, item)
        handler.addQuickElement('thumbnail', item['thumbnail'])

Upvotes: 1

Views: 801

Answers (1)

Related Questions