Merge pull request #1 from pngwjpgh/feat/category
Set feed item category to broadcast type
This commit is contained in:
commit
36aa75b967
|
@ -157,6 +157,7 @@ class RSSVoDServer(webapp2.RequestHandler):
|
||||||
else:
|
else:
|
||||||
link = vod['url']
|
link = vod['url']
|
||||||
item["title"] = vod['title']
|
item["title"] = vod['title']
|
||||||
|
item["category"] = vod['broadcast_type']
|
||||||
item["link"] = link
|
item["link"] = link
|
||||||
item["description"] = "<a href=\"%s\"><img src=\"%s\" /></a>" % (link, vod['preview']['large'])
|
item["description"] = "<a href=\"%s\"><img src=\"%s\" /></a>" % (link, vod['preview']['large'])
|
||||||
if vod.get('description_html'):
|
if vod.get('description_html'):
|
||||||
|
|
Loading…
Reference in New Issue