Last active
March 1, 2019 22:10
-
-
Save eli-oat/e29807aadd37ae9e13090faa7c3fb617 to your computer and use it in GitHub Desktop.
blot.im tag.rss mustache template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#tagged}} | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> | |
<channel> | |
<title><![CDATA[ {{{title}}} | Entries tagged "{{{tag}}}"]]></title> | |
<link>{{{blogURL}}}</link> | |
<atom:link href="{{{blogURL}}}/tag.rss?name={{{tag}}}" rel="self" type="application/rss+xml"/> | |
<description><![CDATA[ Feed for all entries tagged "{{{tag}}}" ]]></description> | |
{{#entries}} | |
<item> | |
<title><![CDATA[ {{{title}}} ]]></title> | |
<link>{{{absoluteURL}}}</link> | |
<guid>{{{absoluteURL}}}</guid> | |
{{! RSS feeds need a RFC 822 date}} | |
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate> | |
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator> | |
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description> | |
</item> | |
{{/entries}} | |
</channel> | |
</rss> | |
{{/tagged}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment