diff options
author | Peter Ludikovsky <peter@ludikovsky.name> | 2016-02-15 19:28:37 +0000 |
---|---|---|
committer | Peter Ludikovsky <peter@ludikovsky.name> | 2016-02-15 19:28:37 +0000 |
commit | c2547e0b684e61539666ec6d130145fe1c59f341 (patch) | |
tree | a034f2ac86d5bdb637aa01adefe5cd3e5a69c970 /default-files/atom.xml | |
parent | cd10c52edb146a0542cce6a65cfb3ae134c232dc (diff) |
Added support for Atom feeds, improved validation for RSS feeds
Diffstat (limited to 'default-files/atom.xml')
-rw-r--r-- | default-files/atom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/default-files/atom.xml b/default-files/atom.xml new file mode 100644 index 0000000..2cfc918 --- /dev/null +++ b/default-files/atom.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de"> + <title><?fugitive-install name ?>'s blog atom feed</title> + <link rel="self" href="<?fugitive blog_url ?>atom.xml" /> + <link href="<?fugitive blog_url ?>" /> + <id><?fugitive blog_url ?>atom.xml</id> + <updated><?fugitive commit_datetime_html5 ?></updated> + <generator>fugitive - http://gitorious.org/fugitive</generator> + <?fugitive foreach:article ?> + <entry> + <title><?fugitive article_title ?></title> + <link href="<?fugitive blog_url ?><?fugitive article_file ?>.html" /> + <id><?fugitive blog_url ?><?fugitive article_file ?>.html</id> + <updated><?fugitive article_mdatetime_html5 ?></updated> + <published><?fugitive article_cdatetime_html5 ?></published> + <author> + <name><?fugitive article_cauthor ?></name> + </author> + <content type="html"><![CDATA[ <?fugitive article_content ?> ]]></content> + </entry> + <?fugitive endforeach:article ?> +</feed> |