summaryrefslogtreecommitdiff
path: root/srv/templates/atompage.tmpl
diff options
context:
space:
mode:
authorroot <root@piny.svcs.cs.pdx.edu>2009-09-06 04:26:13 -0700
committerroot <root@piny.svcs.cs.pdx.edu>2009-09-06 04:26:13 -0700
commit29355a1653a12742928ce563e4c077a77f67c9f9 (patch)
treea502a34c06c33c08cfb8050527e2c7ae5ceb47ad /srv/templates/atompage.tmpl
parent3d47e7f272d128780a2c6c5d94e4c61d7888c3d1 (diff)
downloadpiny-code-29355a1653a12742928ce563e4c077a77f67c9f9.tar.gz
piny-code-29355a1653a12742928ce563e4c077a77f67c9f9.zip
Import of unversioned piny code.
Diffstat (limited to 'srv/templates/atompage.tmpl')
-rw-r--r--srv/templates/atompage.tmpl39
1 files changed, 39 insertions, 0 deletions
diff --git a/srv/templates/atompage.tmpl b/srv/templates/atompage.tmpl
new file mode 100644
index 0000000..dcb89ab
--- /dev/null
+++ b/srv/templates/atompage.tmpl
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<feed xmlns="http://www.w3.org/2005/Atom">
+<title><TMPL_VAR TITLE></title>
+<link href="<TMPL_VAR PAGEURL>"/>
+<link href="<TMPL_VAR FEEDURL>" rel="self" type="application/atom+xml"/>
+<author>
+<TMPL_IF NAME="AUTHOR">
+ <name><TMPL_VAR AUTHOR></name>
+<TMPL_ELSE>
+ <name><TMPL_VAR WIKINAME></name>
+</TMPL_IF>
+</author>
+<TMPL_IF NAME="COPYRIGHT">
+ <rights type="html" xml:lang="en">
+ <TMPL_IF NAME="LICENSE">
+ <TMPL_VAR LICENSE>
+ <TMPL_VAR COPYRIGHT ESCAPE=HTML>
+ <TMPL_ELSE>
+ <TMPL_VAR COPYRIGHT ESCAPE=HTML>
+ </TMPL_IF>
+ </rights>
+<TMPL_ELSE>
+ <TMPL_IF NAME="LICENSE">
+ <rights type="html">
+ <TMPL_VAR LICENSE ESCAPE=HTML>
+ </rights>
+ </TMPL_IF>
+</TMPL_IF>
+<TMPL_IF NAME="GUID">
+ <id><TMPL_VAR GUID></id>
+<TMPL_ELSE>
+ <id><TMPL_VAR PAGEURL></id>
+</TMPL_IF>
+<subtitle type="html"><TMPL_VAR FEEDDESC ESCAPE=HTML></subtitle>
+<generator uri="http://ikiwiki.info/" version="<TMPL_VAR VERSION>">ikiwiki</generator>
+<updated><TMPL_VAR FEEDDATE></updated>
+<TMPL_VAR CONTENT>
+</feed>