summaryrefslogtreecommitdiffstats
path: root/templates/feed_entry.xml
blob: 410a257e499d2fe0df49687a185476b3eecf96b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$if(it.last_update)$
    <entry>
        <id>$it.url.full$</id>
        <title><![CDATA[$it.title$]]></title>
        <link href="$it.url.full$"/>
        $if(it.date)$
            <published>$it.date.rfc3339$</published>
        $endif$
        <updated>$it.last_update.rfc3339$</updated>
        $if(it.author)$
            $for(it.author)$
                <author>
                    <name>$it.name$</name>
                    $if(it.email)$
                        <email>$it.email$</email>
                    $endif$
                </author>
            $endfor$
        $else$
            $for(author)$
                <author>
                    <name>$author.name$</name>
                    $if(author.email)$
                        <email>$author.email$</email>
                    $endif$
                </author>
            $endfor$
        $endif$
        <content type="html"><![CDATA[$it.content$]]></content>
    </entry>
$endif$