use item_description in sitemap.xml

This commit is contained in:
j 2014-01-16 12:04:10 +00:00
parent 7b32cfbf5b
commit adff8d22e3
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ def update_sitemap(base_url):
description = i.get_item_description()
if description:
el = ET.SubElement(video, "video:description")
el.text = i.get('description', i.get('summary', ''))
el.text = description
el = ET.SubElement(video, "video:family_friendly")
el.text = 'Yes'
duration = i.sort.duration