AtomViewTemplate
View for the atom feeds

02 May 2019 - 09:27 | Version 1 |

%{
}%
%TMPL:P{"atomhead"}%%TMPL:P{"atombody"}%%TMPL:P{"atomfooter"}%
%{
}%

%{
}%
%TMPL:DEF{"atomhead"}%<?xml version="1.0" encoding="%CHARSET%" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>%WEB% - %WIKITOOLNAME%</title>
  <subtitle>%WEBSUMMARY%</subtitle>
  <link href="%SCRIPTURL{"view"}%/%WEB%" />
  <link href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?%QUERYSTRING%" rel="self" />
  <updated>%DBQUERY{"%FILTER%" sort="modified" reverse="on" limit="1" format="$formatTime(info.date, '$year-$mo-$dayT$hour:$minute:$secondsZ')"}%</updated>
  <logo>%WIKILOGOIMG%</logo>
  <id>%SCRIPTURL{"view"}%/%WEB%</id>
  <rights>%WEBRSSCOPYRIGHT%</rights>
%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"atomfooter"}%</feed>%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"atombody"}%%DBQUERY{"%FILTER%" 
   exclude="WebTopicEditTemplate"
   sort="created" 
   reverse="on" 
   limit="%LIMIT%" 
   separator="$n"
   format="  <entry>
   <title>$expand(topictitle)</title>
   <id>%SCRIPTURL{"view"}%/$web/$topic</id>
   <link rel=\"alternate\" type=\"text/html\" href=\"%SCRIPTURL{"view"}%/$web/$topic\"/>
   <updated>$formatTime(createdate, '$year-$mo-$dayT$hour:$minute:$secondsZ')</updated>
   $percntFORMATLIST{\"$expand(Author or createauthor)\"
      split=\"\s*,\s*\"
      format=\"<author><name>$1</name></author>\"
   }$percnt$percntCATINFO{\"$web.$topic\" 
      format=\"<category label=\\"$title\\" term=\\"$dollartopic\\" />\"
      separator=\"$n        \"
   }$percnt$percntTAGINFO{\"$web.$topic\"
      format=\"<category term=\\"$dollarname\\" />\"
      separator=\"$n        \"
   }$percnt
   <content type=\"html\"><![CDATA[
$percntDBCALL{\"$web.$topic\"}$percnt
$percntTAGINFO{
   \"$web.$topic\"
   header=\"<p>%TRANSLATE{"Tags"}%: \"
   format=\"$dollarname\"
   footer=\"</p>\"
}$percnt
   ]]></content>
   </entry>"
}%
%TMPL:END%
%{
}%
This site is powered by FoswikiCopyright © 2002-2024 by contributors to Wasserstoff-Fahrer Forum ImpressumDatenschutz  Feedback
This website is using cookies. More info. That's Fine