ribbit/templates/rss_feed.xml

21 lines
672 B
XML
Raw Permalink Normal View History

2020-09-28 18:03:57 +00:00
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Ribbit Feed</title>
<link>http://ribbit.bullercodeworks.com/edit/{{.TemplateData.User.Uuid}}</link>
<description>Feed for {{.TemplateData.User.Username}}</description>
<language>en-us</language>
<lastBuildDate>{{.TemplateData.BuildDate}}</lastBuildDate>
<ttl>40</ttl>
{{ range $i, $v := .TemplateData.Feeds }}
<item>
<title>{{$v.Name}}</title>
<pubDate>{{$v.LastUpdate}}</pubDate>
<guid>{{$v.Source}};{{$v.Slug}};{{$v.LastUpdate}}</guid>
<link></link>
<description><![CDATA[{{$v.Desc}}]]></description>
</item>
{{ end }}
</channel>
</rss>