summaryrefslogtreecommitdiff
path: root/design/templates/fb-feed.xml
blob: 1f8317021d3e00ea8e9f10fe609372fe0daa9306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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>