diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/rss-item.xml | 5 | ||||
-rw-r--r-- | data/templates/rss.xml | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml new file mode 100644 index 0000000..2166a25 --- /dev/null +++ b/data/templates/rss-item.xml @@ -0,0 +1,5 @@ +<item> + <title>$title</title> + <link>$absolute/$url</link> + <description>$description</description> +</item> diff --git a/data/templates/rss.xml b/data/templates/rss.xml new file mode 100644 index 0000000..62fcc07 --- /dev/null +++ b/data/templates/rss.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" ?> +<rss version="2.0"> + <channel> + <title>$title</title> + <link>$absolute</link> + <description>$description</description> + $body + </channel> +</rss> |