diff options
Diffstat (limited to 'design/templates/fb-feed.xml')
-rw-r--r-- | design/templates/fb-feed.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/design/templates/fb-feed.xml b/design/templates/fb-feed.xml index cce4368..1f83170 100644 --- a/design/templates/fb-feed.xml +++ b/design/templates/fb-feed.xml @@ -1,6 +1,6 @@ {%load facebook_processor%}<?xml version="1.0"?> <!-- RSS generated by luxagraf.net on Sun, 28 Feb 2016 02:11:10 GMT --> -<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"> (http://purl.org/rss/1.0/modules/content/); +<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"> <channel> <title>Luxagraf.net</title> <link>http://luxagraf.net/</link> @@ -9,10 +9,10 @@ <lastBuildDate>Sun, 28 Feb 2016 02:11:10 GMT</lastBuildDate> <language>en-us</language> <generator>luxagraf.net</generator> - <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>{% for object in object_list %}{% with object.content_object as object %}{% with object.body_html|facebook_processor as body %} + <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>{% for object in object_list %}{% with object.content_object as object %} <item> <title>{{object.title}}</title> - <description>{{body}}</description> + <description>{{object.dek}}</description> <content:encoded><![CDATA[ <!doctype html> <html lang="en" prefix="op: http://media.facebook.com/op#"> @@ -30,7 +30,7 @@ <time class="op-modified" dateTime="{{object.pub_date}}"></time> <address><a>luxagraf</a></address> </header> - {{body|safe}} + {{object.body_html|facebook_processor|safe}} <footer> <small>©{{object.pub_date|date:"Y"}} luxagraf.net</small> </footer> @@ -41,6 +41,6 @@ <pubDate>Wed, 17 Feb 2016 19:11:17 GMT</pubDate> <link>https://luxagraf.net{{object.get_absolute_url}}</link> <guid>https://luxagraf.net{{object.get_absolute_url}}</guid> - </item>{%endwith%}{%endwith%}{% endfor %} + </item>{%endwith%}{% endfor %} </channel> </rss> |