]> git.deb.at Git - deb/hackedgotchi.git/blobdiff - templates/opml.xml.dj
More django templates
[deb/hackedgotchi.git] / templates / opml.xml.dj
diff --git a/templates/opml.xml.dj b/templates/opml.xml.dj
new file mode 100644 (file)
index 0000000..2cc3d38
--- /dev/null
@@ -0,0 +1,14 @@
+<?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>