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/atomitem.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/atomitem.tmpl')
-rw-r--r-- | templates/atomitem.tmpl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/atomitem.tmpl b/templates/atomitem.tmpl new file mode 100644 index 000000000..e0f7bb4f9 --- /dev/null +++ b/templates/atomitem.tmpl @@ -0,0 +1,20 @@ +<entry> + <title><TMPL_VAR TITLE ESCAPE=HTML></title> + <TMPL_IF NAME="AUTHOR"> + <author><TMPL_VAR AUTHOR ESCAPE=HTML></author> + <TMPL_ELSE> + </TMPL_IF> + <id><TMPL_VAR URL></id> + <link href="<TMPL_VAR PERMALINK>"/> + <TMPL_IF NAME="CATEGORIES"> + <TMPL_LOOP NAME="CATEGORIES"> + <category><TMPL_VAR CATEGORY></category> + </TMPL_LOOP> + </TMPL_IF> + <updated><TMPL_VAR DATE_3339></updated> + <content type="xhtml" xml:lang="en"> + <div xmlns="http://www.w3.org/1999/xhtml"> + ![CDATA[<TMPL_VAR CONTENT>]] + </div> + </content> +</entry> |