RSS Feed
This is the base for the RSS feed for each web.
Each web has a
WebRss that should contain the following text:
<channel rdf:about="%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%">
<title>%WIKITOOLNAME%'s %INCLUDINGWEB% web</title>
<link>%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%</link>
<description>(the description of the web). TWiki is a Web-Based Collaboration Platform for the Corporate World.</description>
%INCLUDE{"%TWIKIWEB%.WebRssBase"}%
Below part is included by each WebRss topic:
%STARTINCLUDE%
<image rdf:about="%PUBURL%/Main/NatsLogos/NatsLogoNoShadowSmall.gif">
<title>TWiki.%INCLUDINGWEB%</title>
<url>%PUBURL%/Main/NatsLogos/NatsLogoNoShadowSmall.gif</url>
<link>%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%/WebHome</link>
</image>
<image rdf:resource="%PUBURL%/Main/NatsLogos/NatsLogoNoShadowSmall.gif"/>
<dc:language>en-us</dc:language>
<dc:rights>Copyright %GMTIME{"$year"}% by the contributing authors.</dc:rights>
<dc:publisher>Michael Daum [wiki@nats.informatik.uni-hamburg.de]</dc:publisher>
<dc:creator>Wiki [wiki@nats.informatik.uni-hamburg.de]</dc:creator>
<dc:source>TWiki</dc:source>
<wiki:interwiki>
<rdf:Description link="%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%/">
<rdf:value>TWiki.%INCLUDINGWEB%</rdf:value>
</rdf:Description>
</wiki:interwiki>
<items>
<rdf:Seq>
%SEARCH{".*" web="%INCLUDINGWEB%" regex="on" nosearch="on" order="modified" reverse="on" nototal="on" limit="16" format=" <rdf:li rdf:resource=\"%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic\" />"}%
</rdf:Seq>
</items>
%SEARCH{".*" web="%INCLUDINGWEB%" regex="on" nosearch="on" order="modified" reverse="on" nototal="on" limit="16" format="<item rdf:about=\"%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic\">$n <title>$topic</title>$n <link>%SCRIPTURL%/view%SCRIPTSUFFIX%/$web/$topic</link>$n <description><![CDATA[$summary]]></description>$n <dc:date>$isodate</dc:date>$n <dc:creator>$username</dc:creator>$n <wiki:version>$rev</wiki:version>$n <wiki:status>updated</wiki:status>$n <wiki:importance>major</wiki:importance>$n <wiki:diff>%SCRIPTURL%/rdiff%SCRIPTSUFFIX%/$web/$topic</wiki:diff>$n <wiki:history>%SCRIPTURL%/rdiff%SCRIPTSUFFIX%/$web/$topic</wiki:history>$n</item>"}%
</channel>
<!--
* Set CACHEABLE = no
-->
%STOPINCLUDE%
See also:
TWiki:Codev/RichSiteSummary,
TWiki:Codev/TWikiSyndication
--
PeterThoeny - 30 Jan 2003