From adff8d22e3a70aa362a909f004bc771b7affe07f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 16 Jan 2014 12:04:10 +0000 Subject: [PATCH] use item_description in sitemap.xml --- pandora/item/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/tasks.py b/pandora/item/tasks.py index 91ee6ded..b8e8d32b 100644 --- a/pandora/item/tasks.py +++ b/pandora/item/tasks.py @@ -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