summaryrefslogtreecommitdiff
path: root/templates/fb-feed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/fb-feed.xml')
-rw-r--r--templates/fb-feed.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/fb-feed.xml b/templates/fb-feed.xml
new file mode 100644
index 0000000..1f83170
--- /dev/null
+++ b/templates/fb-feed.xml
@@ -0,0 +1,46 @@
+{%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/">
+ <channel>
+ <title>Luxagraf.net</title>
+ <link>http://luxagraf.net/</link>
+ <description>Walk Slowly</description>
+ <pubDate>Sat, 27 Feb 2016 22:15:06 GMT</pubDate>
+ <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 %}
+ <item>
+ <title>{{object.title}}</title>
+ <description>{{object.dek}}</description>
+ <content:encoded><![CDATA[
+ <!doctype html>
+ <html lang="en" prefix="op: http://media.facebook.com/op#">
+ <head>
+ <meta charset="utf-8">
+ <meta property="op:markup_version" content="v1.0">
+ <meta property="fb:article_style" content="default">
+ <link rel="canonical" href="https://luxagraf.net{{object.get_absolute_url}}">
+ </head>
+ <body>
+ <article>
+ <header>
+ <h1>{{object.title}}</h1>
+ <time class="op-published" datetime="{{object.pub_date}}"></time>
+ <time class="op-modified" dateTime="{{object.pub_date}}"></time>
+ <address><a>luxagraf</a></address>
+ </header>
+ {{object.body_html|facebook_processor|safe}}
+ <footer>
+ <small>&copy;{{object.pub_date|date:"Y"}} luxagraf.net</small>
+ </footer>
+ </article>
+ </body>
+ </html>
+ ]]></content:encoded>
+ <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%}{% endfor %}
+ </channel>
+</rss>