%{
}%
%TMPL:P{"rsshead"}%%TMPL:P{"rssbody"}%%TMPL:P{"rssfooter"}%
%{
}%

%{
}%
%TMPL:DEF{"rsshead"}%<?xml version="1.0" encoding="%CHARSET%" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" >
%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"rssbody"}%<noautolink><literal>
<channel rdf:about="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%">
  <title>Extension News - %WIKITOOLNAME%</title>
  <link>%SCRIPTURL{"view"}%/%WEB%/ExtensionNews</link>
  <description>Latest News on Foswiki Extensions</description>
  <image rdf:resource="%WEBLOGOIMG%" />
  <dc:language>en-us</dc:language>
  <dc:rights>%WEBRSSCOPYRIGHT%</dc:rights>
  <dc:publisher>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:publisher>
  <dc:creator>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:creator>
  <dc:source><nop>%WIKITOOLNAME%</dc:source>
  <items>
    <rdf:Seq>
%FORMATLIST{"$percntINCLUDE{\"%WEB%.%TOPIC%\"}$percnt"
  split="\n"
  pattern="\* (Foswiki|[^\s]+?(?:Plugin|AddOn|Contrib|Skin)) ([^\s]+?) (.*) _(.*)_ *$"
  separator="$n"
  _format="1=$1, 2=$2, 3=$3, 4=$4"
  format="      <rdf:li rdf:resource=\"%SCRIPTURL{"view"}%/$percntIF{\"'$1'='Foswiki'\" then=\"Download/WebHome\" else=\"%WEB%/$1?v=$2\"}$percnt\" />"
  limit="%URLPARAM{"limit" default="20"}%"
}%  </rdf:Seq>
  </items>
</channel>
<image rdf:about="%WIKILOGOIMG%">
  <title>%WIKILOGOALT%.%BASEWEB%</title>
  <link>%SCRIPTURL{"view"}%/%BASEWEB%/ExtensionNews</link>
  <url>%WIKILOGOIMG%</url>
</image>
%FORMATLIST{"$percntINCLUDE{\"%WEB%.%TOPIC%\"}$percnt"
  split="\n"
  pattern="\* (Foswiki|[^\s]+?(?:Plugin|AddOn|Contrib|Skin)) ([^\s]+?) (.*) _(.*)_ *$"
  separator="$n"
  _format="1=$1, 2=$2, 3=$3, 4=$4"
  format="     <item rdf:about=\"%SCRIPTURL{"view"}%/$percntIF{\"'$1'='Foswiki'\" then=\"Download/WebHome\" else=\"%WEB%/$1?v=$2\"}$percnt\">
      <title>$1 $2</title>
      <link>%SCRIPTURL{"view"}%/%WEB%/$1</link>
     <dc:creator>$percntSPACEOUT{$percntQUERY{\"'%WEB%.$1'/info.author\"}$percnt}$percnt</dc:creator>
      <dc:contributor><rdf:Description link='%SCRIPTURL{"view"}%/%USERSWEB%/$percntQUERY{\"'%WEB%.$1'/info.author\"}$percnt'>
        <rdf:value>$percntSPACEOUT{$percntQUERY{\"'%WEB%.$1'/info.author\"}$percnt}$percnt</rdf:value>
        </rdf:Description>
      </dc:contributor>
      <dc:date>$percntCALC{\"$FORMATTIME($TIME($4),$year-$month-$dayT00:00Z)\"}$percnt</dc:date>
      <dc:subject>$percntQUERY{\"'%WEB%.$1'/ExtensionClassification\"}$percnt</dc:subject>
      <description><![CDATA[$percntTMPL:P{\"extension_image\" topic=\"$1\"}$percnt $1 $2 $3]]></description>
   </item>"
  limit="%URLPARAM{"limit" default="20"}%"
}%
</literal></noautolink>%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"extension_image"}%%IF{"'%WEB%.%topic%'/attachments[name=~'\.(gif|png|jpe?g|svg)$']"
       then="<img src='%PUBURL%/%WEB%/%topic%/%QUERY{"'%WEB%.%topic%'/attachments[name=~'\.(gif|png|jpe?g|svg)'][0].name"}%' alt='%topic%' style='float:left;margin:0 1em 1em 0' />"
}%%{
}%

%{
}%
%TMPL:DEF{"rssfooter"}%</rdf:RDF>%TMPL:END%
%{
}%
Topic revision: r7 - 25 Apr 2024, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy