aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/opml.xml
blob: c6ebc2514b780d049d1bcfefb2c129cdf8316a19 (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 JARR 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 }}" 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