aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/opml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/opml.xml')
-rw-r--r--pyaggr3g470r/templates/opml.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/opml.xml b/pyaggr3g470r/templates/opml.xml
new file mode 100644
index 00000000..8918bb88
--- /dev/null
+++ b/pyaggr3g470r/templates/opml.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- OPML generated by pyAggr3g470r on {{ now.strftime('%A, %d %B %Y') }} -->
+<opml version="1.1">
+ <head>
+ <title>Feeds of {{ user.firstname }}</title>
+ <dateCreated>{{ now.strftime('%A, %d %B %Y') }}</dateCreated>
+ <dateModified>{{ now.strftime('%A, %d %B %Y') }}</dateModified>
+ <ownerName>{{ user.firstname }} {{ user.lastname }}</ownerName>
+ <ownerEmail>{{ user.email }}</ownerEmail>
+ </head>
+ <body>
+ {% for feed in user.feeds %} <outline title="{{ feed.title|escape }}" text="{{ feed.title|escape }}" description="{{ feed.description|escape }}" xmlUrl="{{ feed.link|escape }}" htmlUrl="{{ feed.site_link|escape }}" />
+ {% endfor %}</body>
+</opml> \ No newline at end of file
bgstack15