diff options
Diffstat (limited to 'default-files')
-rw-r--r-- | default-files/atom.xml | 22 | ||||
-rw-r--r-- | default-files/rss.xml (renamed from default-files/feed.xml) | 4 | ||||
-rw-r--r-- | default-files/top.html | 3 |
3 files changed, 26 insertions, 3 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> diff --git a/default-files/feed.xml b/default-files/rss.xml index b971b55..cc48d00 100644 --- a/default-files/feed.xml +++ b/default-files/rss.xml @@ -6,7 +6,7 @@ <link><?fugitive blog_url ?></link> <description>5 last published articles</description> <generator>fugitive - http://gitorious.org/fugitive</generator> - <lastBuildDate><?fugitive commit_date ?></lastBuildDate> + <lastBuildDate><?fugitive commit_date_html5 ?></lastBuildDate> <?fugitive foreach:article ?> <item> @@ -15,7 +15,7 @@ <description><![CDATA[<?fugitive article_content ?>]]></description> <author><?fugitive article_cauthor ?></author> <guid><?fugitive blog_url ?><?fugitive article_file ?>.html</guid> - <pubDate><?fugitive article_cdatetime ?></pubDate> + <pubDate><?fugitive article_cdatetime_html5 ?></pubDate> </item> <?fugitive endforeach:article ?> diff --git a/default-files/top.html b/default-files/top.html index 5a2ea1b..6dc93a4 100644 --- a/default-files/top.html +++ b/default-files/top.html @@ -6,7 +6,8 @@ <meta name="author" content="<?fugitive-install name ?>" /> <meta name="description" content="<?fugitive-install name ?>'s blog" /> <meta name="viewport" content="width=device-width" /> - <link rel="alternate" type="application/rss+xml" href="<?fugitive blog_url ?>feed.xml" title="5 last articles RSS feed" /> + <link rel="alternate" type="application/rss+xml" href="<?fugitive blog_url ?>rss.xml" title="5 last articles RSS feed" /> + <link rel="alternate" type="application/atom+xml" href="<?fugitive blog_url ?>atom.xml" title="5 last articl es Atom feed"> <link rel="stylesheet" href="fugitive.css" type="text/css" media="screen" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> <link rel="contents" href="archives.html" /> |