aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/opml.xml
blob: 5f65329ec865813311468a68689c425435747236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="utf-8" ?>
<!-- OPML generated by Newspipe 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 }}" {% if feed.category_id != None %}category="/{{ categories[feed.category_id].name }}"{% endif %} xmlUrl="{{ feed.link|escape }}" htmlUrl="{{ feed.site_link|escape }}" />
    {% endfor %}</body>
</opml>
bgstack15