Created
May 1, 2013 12:50
-
-
Save iso100/5495111 to your computer and use it in GitHub Desktop.
A quick rss feed template for Statamic.
This file contains hidden or 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
<channel> | |
<title><![CDATA[{{ folder }}]]></title> | |
<link>{{ _site_url }}/{{ folder }}</link> | |
<description>{{ _site_name }} {{ folder }}</description> | |
<dc:language>en-us</dc:language> | |
<dc:creator>{{ contact_email }}</dc:creator> | |
<dc:rights>Copyright {{ current_date format='Y' }}</dc:rights> | |
<dc:date>{{ current_date format="Y-m-d\TH:i:s\Z" }}</dc:date> | |
<admin:generatorAgent rdf:resource="http://statamic.com/" /> | |
{{ entries:listing folder="blog" limit="10" }} | |
<item> | |
<title><![CDATA[{{ title }}]]></title> | |
<link>{{ _site_url }}{{ url }}</link> | |
<guid>{{ _site_url }}{{ url }}</guid> | |
<description><![CDATA[{{ intro|markdown }}]]></description> | |
<dc:date>{{ date format="Y-m-d\TH:i:s\Z" }}</dc:date> | |
</item> | |
{{ /entries:listing }} | |
</channel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment