netfrag.org . TWiki . WebRssBase
|
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>Netfrag - An experimental fragment</description>
%INCLUDE{"%TWIKIWEB%.WebRssBase"}%
Below part is included by each WebRss topic:
%STARTINCLUDE% <image rdf:resource="http://netfrag.org/gfx/logo/netfrag358x208.gif" />
<dc:language>en-us</dc:language>
<dc:rights>Copyright %GMTIME{"$year"}%, netfrag.org and contributing authors.</dc:rights>
<dc:publisher>netfrag.org</dc:publisher>
<dc:creator>netfrag.org</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>
</channel>
<image rdf:about="http://netfrag.org/gfx/logo/netfrag358x208.gif">
<title>TWiki.%INCLUDINGWEB%</title>
<link>%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%</link>
<url>http://netfrag.org/gfx/logo/netfrag358x208.gif</url>
</image>
%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>$summary</description>$n <dc:date>$isodate</dc:date>$n <dc:contributor>$n <rdf:Description link=\"%SCRIPTURL%/view%SCRIPTSUFFIX%?topic=$wikiusername\">$n <rdf:value>$username</rdf:value>$n </rdf:Description>$n </dc:contributor>$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>"}%
%STOPINCLUDE%
See also: TWiki:Codev/RichSiteSummary, TWiki:Codev/TWikiSyndication
-- PeterThoeny? - 30 Jan 2003
----- Revision r1.1 - 30 Jan 2003 - 08:11 - PeterThoeny?
|