aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/opml.xml
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-10 07:39:06 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-10 07:39:06 +0100
commit31cabee3489feaca2ceaf223f93cd33a85ee6659 (patch)
treec2024c5aa05f4ef9dbd7ce6259d4094cee412e94 /src/web/templates/opml.xml
parentFixed an error when redirecting to home from the 'duplicates' page. (diff)
downloadnewspipe-31cabee3489feaca2ceaf223f93cd33a85ee6659.tar.gz
newspipe-31cabee3489feaca2ceaf223f93cd33a85ee6659.tar.bz2
newspipe-31cabee3489feaca2ceaf223f93cd33a85ee6659.zip
The OPML generation now includes the category of the feeds.
Diffstat (limited to 'src/web/templates/opml.xml')
-rw-r--r--src/web/templates/opml.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/opml.xml b/src/web/templates/opml.xml
index 051d3af6..c6ebc251 100644
--- a/src/web/templates/opml.xml
+++ b/src/web/templates/opml.xml
@@ -9,6 +9,6 @@
<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 }}" />
+ {% for feed in user.feeds %} <outline title="{{ feed.title|escape }}" text="{{ feed.title|escape }}" description="{{ feed.description|escape }}" category="{% if feed.category_id != None %}/{{ categories[feed.category_id].name }}{% endif %}" xmlUrl="{{ feed.link|escape }}" htmlUrl="{{ feed.site_link|escape }}" />
{% endfor %}</body>
</opml>
bgstack15