spider_threads = 15
# template_files: Space-separated list of output template files
-template_files = templates/index.html.dj templates/atom.xml.dj templates/rss20.xml.tmpl templates/rss10.xml.tmpl templates/opml.xml.tmpl templates/foafroll.xml.tmpl
+template_files = templates/index.html.dj templates/atom.xml.dj templates/rss20.xml.dj templates/rss10.xml.dj templates/opml.xml.dj templates/foafroll.xml.dj
# The following provide defaults for each template:
# items_per_page: How many items to put on each page
spider_threads = 15
# template_files: Space-separated list of output template files
-template_files = templates/index.html.dj templates/atom.xml.dj templates/rss20.xml.tmpl templates/rss10.xml.tmpl templates/opml.xml.tmpl templates/foafroll.xml.tmpl
+template_files = templates/index.html.dj templates/atom.xml.dj templates/rss20.xml.dj templates/rss10.xml.dj templates/opml.xml.dj templates/foafroll.xml.dj
# The following provide defaults for each template:
# items_per_page: How many items to put on each page
+++ /dev/null
-<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<feed xmlns="http://www.w3.org/2005/Atom">
-
- <title><TMPL_VAR name></title>
- <link rel="self" href="<TMPL_VAR feed ESCAPE="HTML">"/>
- <link href="<TMPL_VAR link ESCAPE="HTML">"/>
- <id><TMPL_VAR feed ESCAPE="HTML"></id>
- <updated><TMPL_VAR date_iso></updated>
- <generator uri="http://www.intertwingly.net/code/venus/"><TMPL_VAR generator ESCAPE="HTML"></generator>
-
-<TMPL_LOOP Items>
- <entry<TMPL_IF channel_language> xml:lang="<TMPL_VAR channel_language>"</TMPL_IF>>
- <title type="html"<TMPL_IF title_language> xml:lang="<TMPL_VAR title_language>"</TMPL_IF>><TMPL_VAR title ESCAPE="HTML"></title>
- <link href="<TMPL_VAR link ESCAPE="HTML">"/>
- <id><TMPL_VAR id ESCAPE="HTML"></id>
- <updated><TMPL_VAR date_iso></updated>
- <summary type="html"<TMPL_IF summary_language> xml:lang="<TMPL_VAR summary_language>"</TMPL_IF>><TMPL_VAR summary ESCAPE="HTML"></summary>
- <content type="html"<TMPL_IF content_language> xml:lang="<TMPL_VAR content_language>"</TMPL_IF>><TMPL_VAR content ESCAPE="HTML"></content>
- <author>
-<TMPL_IF author_name>
- <name><TMPL_VAR author_name ESCAPE="HTML"></name>
-<TMPL_IF author_email>
- <email><TMPL_VAR author_email ESCAPE="HTML"></email>
-</TMPL_IF author_email>
-<TMPL_ELSE>
-<TMPL_IF channel_author_name>
- <name><TMPL_VAR channel_author_name ESCAPE="HTML"></name>
-<TMPL_IF channel_author_email>
- <email><TMPL_VAR channel_author_email ESCAPE="HTML"></email>
-</TMPL_IF channel_author_email>
-<TMPL_ELSE>
- <name><TMPL_VAR channel_name ESCAPE="HTML"></name>
-</TMPL_IF>
-</TMPL_IF>
- <uri><TMPL_VAR channel_link ESCAPE="HTML"></uri>
- </author>
- <source>
-<TMPL_IF channel_title>
- <title type="html"><TMPL_VAR channel_title ESCAPE="HTML"></title>
-<TMPL_ELSE>
- <title type="html"><TMPL_VAR channel_name ESCAPE="HTML"></title>
-</TMPL_IF>
-<TMPL_IF channel_subtitle>
- <subtitle type="html"><TMPL_VAR channel_subtitle ESCAPE="HTML"></subtitle>
-</TMPL_IF>
- <link rel="self" href="<TMPL_VAR channel_url ESCAPE="HTML">"/>
-<TMPL_IF channel_id>
- <id><TMPL_VAR channel_id ESCAPE="HTML"></id>
-<TMPL_ELSE>
- <id><TMPL_VAR channel_url ESCAPE="HTML"></id>
-</TMPL_IF>
-<TMPL_IF channel_updated_iso>
- <updated><TMPL_VAR channel_updated_iso></updated>
-</TMPL_IF>
-<TMPL_IF channel_rights>
- <rights type="html"><TMPL_VAR channel_rights ESCAPE="HTML"></rights>
-</TMPL_IF>
- </source>
- </entry>
-
-</TMPL_LOOP>
-</feed>
--- /dev/null
+<?xml version="1.0"?>
+<rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:rss="http://purl.org/rss/1.0/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+>
+<foaf:Group>
+ <foaf:name>{{ name }}</foaf:name>
+ <foaf:homepage>{{ link }}</foaf:homepage>
+ <rdfs:seeAlso rdf:resource="{{ url }}" />
+
+{% for channel in Channels %}
+ <foaf:member>
+ <foaf:Agent>
+ <foaf:name>{{ channel.name }}</foaf:name>
+ <foaf:weblog>
+ <foaf:Document rdf:about="{{ channel.link }}">
+ <dc:title>{{ channel.title_plain }}</dc:title>
+ <rdfs:seeAlso>
+ <rss:channel rdf:about="{{ channel.url }}" />
+ </rdfs:seeAlso>
+ </foaf:Document>
+ </foaf:weblog>
+ </foaf:Agent>
+ </foaf:member>
+{% endfor %}
+
+</foaf:Group>
+</rdf:RDF>
+++ /dev/null
-<?xml version="1.0"?>
-<rdf:RDF
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
- xmlns:foaf="http://xmlns.com/foaf/0.1/"
- xmlns:rss="http://purl.org/rss/1.0/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
->
-<foaf:Group>
- <foaf:name><TMPL_VAR name ESCAPE="HTML"></foaf:name>
- <foaf:homepage><TMPL_VAR link ESCAPE="HTML"></foaf:homepage>
- <rdfs:seeAlso rdf:resource="<TMPL_VAR url ESCAPE="HTML">" />
-
-<TMPL_LOOP Channels>
- <foaf:member>
- <foaf:Agent>
- <foaf:name><TMPL_VAR name ESCAPE="HTML"></foaf:name>
- <foaf:weblog>
- <foaf:Document rdf:about="<TMPL_VAR link ESCAPE="HTML">">
- <dc:title><TMPL_VAR title_plain ESCAPE="HTML"></dc:title>
- <rdfs:seeAlso>
- <rss:channel rdf:about="<TMPL_VAR url ESCAPE="HTML">" />
- </rdfs:seeAlso>
- </foaf:Document>
- </foaf:weblog>
- </foaf:Agent>
- </foaf:member>
-</TMPL_LOOP>
-
-</foaf:Group>
-</rdf:RDF>
--- /dev/null
+<?xml version="1.0"?>
+<opml version="1.1">
+ <head>
+ <title>{{ name }}</title>
+ <dateModified>{{ date_822 }}</dateModified>
+ <ownerName>{{ owner_name }}</ownerName>
+ <ownerEmail>{{ owner_email }}</ownerEmail>
+ </head>
+
+ <body>
+{% for channel in Channels %}
+ <outline type="rss" text="{{ channel.name }}" xmlUrl="{{channel.url }}" title="{% firstof channel.title channel.name %}"{% if channel.channel_link %} htmlUrl="{{ channel.channel_link }}"{% endif %} /> {% endfor %}
+ </body>
+</opml>
+++ /dev/null
-<?xml version="1.0"?>
-<opml version="1.1">
- <head>
- <title><TMPL_VAR name ESCAPE="HTML"></title>
- <dateModified><TMPL_VAR date_822></dateModified>
- <ownerName><TMPL_VAR owner_name></ownerName>
- <ownerEmail><TMPL_VAR owner_email></ownerEmail>
- </head>
-
- <body>
- <TMPL_LOOP Channels>
- <outline type="rss" text="<TMPL_VAR name ESCAPE="HTML">" xmlUrl="<TMPL_VAR url ESCAPE="HTML">" title="<TMPL_IF title><TMPL_VAR title ESCAPE="HTML"></TMPL_IF><TMPL_UNLESS title><TMPL_VAR name ESCAPE="HTML"></TMPL_UNLESS>"<TMPL_IF channel_link> htmlUrl="<TMPL_VAR channel_link ESCAPE="HTML">"</TMPL_IF> />
- </TMPL_LOOP>
- </body>
-</opml>
--- /dev/null
+<?xml version="1.0"?>
+<rdf:RDF
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
+ xmlns:content="http://purl.org/rss/1.0/modules/content/"
+ xmlns="http://purl.org/rss/1.0/"
+>
+<channel rdf:about="{{ link }}">
+ <title>{{ name }}</title>
+ <link>{{ link }}</link>
+ <description>{{ name }} - {{ link }}</description>
+
+ <items>
+ <rdf:Seq> {% for item in Items %}
+ <rdf:li rdf:resource="{{ item.id }}"/>{% endfor %}
+ </rdf:Seq>
+ </items>
+</channel>
+
+{% for item in Items %}
+<item rdf:about="{{ item.id }}">
+ <title>{{ item.channel_name }}>{% if item.title %}: {{ item.title_plain }}{% endif %}</title>
+ <link>{{ item.link }}</link>
+ {% if item.content %} <content:encoded>{{ item.content }}</content:encoded> {% endif %}
+ <dc:date>{{ item.date_iso }}</dc:date>
+ <dc:creator>{% firstof item.author_name item.channel_author_name item.channel_name %}</dc:creator>
+</item> {% endfor %}
+
+</rdf:RDF>
+++ /dev/null
-<?xml version="1.0"?>
-<rdf:RDF
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:foaf="http://xmlns.com/foaf/0.1/"
- xmlns:content="http://purl.org/rss/1.0/modules/content/"
- xmlns="http://purl.org/rss/1.0/"
->
-<channel rdf:about="<TMPL_VAR link ESCAPE="HTML">">
- <title><TMPL_VAR name ESCAPE="HTML"></title>
- <link><TMPL_VAR link ESCAPE="HTML"></link>
- <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link ESCAPE="HTML"></description>
-
- <items>
- <rdf:Seq>
-<TMPL_LOOP Items>
- <rdf:li rdf:resource="<TMPL_VAR id ESCAPE="HTML">" />
-</TMPL_LOOP>
- </rdf:Seq>
- </items>
-</channel>
-
-<TMPL_LOOP Items>
-<item rdf:about="<TMPL_VAR id ESCAPE="HTML">">
- <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF></title>
- <link><TMPL_VAR link ESCAPE="HTML"></link>
- <TMPL_IF content>
- <content:encoded><TMPL_VAR content ESCAPE="HTML"></content:encoded>
- </TMPL_IF>
- <dc:date><TMPL_VAR date_iso></dc:date>
- <TMPL_IF author_name>
- <dc:creator><TMPL_VAR author_name ESCAPE="HTML"></dc:creator>
- </TMPL_IF>
-</item>
-</TMPL_LOOP>
-
-</rdf:RDF>
--- /dev/null
+<?xml version="1.0"?>
+<rss version="2.0">
+
+<channel>
+ <title>{{ name }}</title>
+ <link>{{ link }}</link>
+ <language>en</language>
+ <description>{{ name }} - {{ link }}</description>
+
+{% for item in Items %}
+<item>
+ <title>{{ item.channel_name }}>{% if item.title %}: {{ item.title_plain }}{% endif %}</title>
+ <guid>{{ item.id }}</guid>
+ <link>{{ item.link }}</link>
+ {% if item.content %} <description> {% if item.channel_face %} <img src="http://planet.debian.org/heads/{{ item.channel_face }}" width="{{ item.channel_facewidth }}" height="{{ item.channel_faceheight }}" alt="" align="right" style="float: right;"> {% endif %} {{ item.content }} </description> {% endif %}
+ <pubDate>{{ item.date_822 }}</pubDate>
+{% if item.author_email %} {% if item.author_name %} <author>{{ item.author_email }} ({{ item.author_name }})</author> {% else %} <author>{{ item.author_email }}</author> {% endif %} {% endif %}
+</item> {% endfor %}
+</channel>
+</rss>
+++ /dev/null
-<?xml version="1.0"?>
-<rss version="2.0">
-
-<channel>
- <title><TMPL_VAR name></title>
- <link><TMPL_VAR link ESCAPE="HTML"></link>
- <language>en</language>
- <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link ESCAPE="HTML"></description>
-
-<TMPL_LOOP Items>
-<item>
- <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF></title>
- <guid><TMPL_VAR id ESCAPE="HTML"></guid>
- <link><TMPL_VAR link ESCAPE="HTML"></link>
- <TMPL_IF content>
- <description><TMPL_IF channel_face><img src="http://planet.debian.org/heads/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth>" height="<TMPL_VAR channel_faceheight>" alt="" align="right" style="float: right;"></TMPL_IF><TMPL_VAR content ESCAPE="HTML"></description>
- </TMPL_IF>
- <pubDate><TMPL_VAR date_822></pubDate>
- <TMPL_IF author_email>
- <TMPL_IF author_name>
- <author><TMPL_VAR author_email ESCAPE="HTML"> (<TMPL_VAR author_name ESCAPE="HTML">)</author>
- <TMPL_ELSE>
- <author><TMPL_VAR author_email ESCAPE="HTML"></author>
- </TMPL_IF>
- </TMPL_IF>
-</item>
-</TMPL_LOOP>
-
-</channel>
-</rss>