diff options
Diffstat (limited to 'templates/rss.xml')
-rw-r--r-- | templates/rss.xml/footer.xml | 2 | ||||
-rw-r--r-- | templates/rss.xml/header.xml | 8 | ||||
-rw-r--r-- | templates/rss.xml/item.xml | 8 |
3 files changed, 18 insertions, 0 deletions
diff --git a/templates/rss.xml/footer.xml b/templates/rss.xml/footer.xml new file mode 100644 index 0000000..3a9dbde --- /dev/null +++ b/templates/rss.xml/footer.xml @@ -0,0 +1,2 @@ +</channel> +</rss> diff --git a/templates/rss.xml/header.xml b/templates/rss.xml/header.xml new file mode 100644 index 0000000..396ef6b --- /dev/null +++ b/templates/rss.xml/header.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0" + xmlns:content="http://purl.org/rss/1.0/modules/content/" + xmlns:dc="http://purl.org/dc/elements/1.1/"> +<channel> + <title>${sitetitle}</title> + <description>${description}</description> + <link>${siteurl}</link> diff --git a/templates/rss.xml/item.xml b/templates/rss.xml/item.xml new file mode 100644 index 0000000..c003f1b --- /dev/null +++ b/templates/rss.xml/item.xml @@ -0,0 +1,8 @@ +<item> + <title>${title}</title> + <link>${siteurl}/${filename}</link> + <guid>${siteurl}/${filename}</guid> + <dc:date>${created}T00:00:00Z</dc:date> + <author>${author}</author> + <description>${description}</description> +</item> |