aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/opml.xml
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-12-17 13:05:26 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-12-17 13:05:26 +0100
commit0312e25586d381cc53935c2fd4912378cd292d6e (patch)
treeb04ad1a26edd4c67701d0d704c8ce8c554b2ae42 /src/web/templates/opml.xml
parentUpdated link to Heroku deploy button on the About page. (diff)
parenthandling failing feed link (diff)
downloadnewspipe-0312e25586d381cc53935c2fd4912378cd292d6e.tar.gz
newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.tar.bz2
newspipe-0312e25586d381cc53935c2fd4912378cd292d6e.zip
Merge pull request #24 from jaesivsm/master
moving the root of source code from / to /src/
Diffstat (limited to 'src/web/templates/opml.xml')
-rw-r--r--src/web/templates/opml.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/web/templates/opml.xml b/src/web/templates/opml.xml
new file mode 100644
index 00000000..96fe66f5
--- /dev/null
+++ b/src/web/templates/opml.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- OPML generated by pyAggr3g470r on {{ now | datetime }} -->
+<opml version="1.1">
+ <head>
+ <title>Feeds of {{ user.nickname }}</title>
+ <dateCreated>{{ now | datetime }}</dateCreated>
+ <dateModified>{{ now | datetime }}</dateModified>
+ <ownerName>{{ user.nickname }}</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