开发者

Django Feeds Add Item Entity

I have a Django Feed spitting out开发者_如何学JAVA 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'])


Django-way of specifying channel image in rss feed

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜