diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-10-08 23:57:37 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-10-08 23:57:37 +0000 |
commit | be55f6fd7cf1a251c3977f857a44ee2769e39d8b (patch) | |
tree | 36c09168ec20798e5fd5d1e0725cb8577d816928 /templates/atompage.tmpl | |
parent | bf4e6716cc57eb6d0dfca43ce92b64934950513e (diff) | |
download | ikiwiki-be55f6fd7cf1a251c3977f857a44ee2769e39d8b.tar ikiwiki-be55f6fd7cf1a251c3977f857a44ee2769e39d8b.tar.gz |
* Atom feed support based on a patch by Clint Adams.
* Add feeds=no option to inline preprocessor directive to turn off all types
of feeds. feeds=rss will still work, and feeds=atom was also added, for
fine control.
* $IkiWiki::version now holds the program version, and is accessible to
plugins.
Diffstat (limited to 'templates/atompage.tmpl')
-rw-r--r-- | templates/atompage.tmpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/atompage.tmpl b/templates/atompage.tmpl new file mode 100644 index 000000000..1c672f484 --- /dev/null +++ b/templates/atompage.tmpl @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> + +<feed xmlns="http://www.w3.org/2005/Atom"> +<title><TMPL_VAR TITLE ESCAPE=HTML></title> +<link href="<TMPL_VAR PAGEURL>"/> +<link href="<TMPL_VAR FEEDURL>" rel="self"/> +<author> +<name><TMPL_VAR WIKINAME></name> +</author> +<id><TMPL_VAR PAGEURL></id> +<subtitle type="html"><TMPL_VAR FEEDDESC ESCAPE=HTML></subtitle> +<generator uri="http://ikiwiki.kitenet.net/" version="<TMPL_VAR VERSION>">ikiwiki</generator> +<updated><TMPL_VAR FEEDDATE></updated> +<TMPL_VAR CONTENT> +</feed> |