You are here: tag » WebRssBase

RSS News Feeds

Find out What's New

There are several ways to find out what's new in each Foswiki web:
  1. Visit WebChanges to see recent changes
  2. Subscribed in WebNotify get notified of recent changes by e-mail
  3. Use a news readers such as Foswiki:Extensions/HeadlinesPlugin to display the recent changes

RSS Feed Usage

RSS Feed Internals

Each web has a WebRss topic which includes part of this WebRssBase topic. This topic is the base for the RSS feed and generates an RSS 1.0 feed for Foswiki:Codev/FoswikiSyndication.

The WebRss topic in each web contains the following text:


<channel rdf:about="%SCRIPTURL{"view"}%/%INCLUDINGWEB%">
  <title>%WIKITOOLNAME%'s <nop>%INCLUDINGWEB% web</title>
  <link>%SCRIPTURL{"view"}%/%INCLUDINGWEB%</link>
  <description>(the description of the web). Foswiki is a Web-Based Collaboration Platform for the Enterprise.</description>
%INCLUDE{"System.WebRssBase"}% <!--
   * Set SKIN = rss
-->

Below part is included by each WebRss topic:


%STARTINCLUDE%<image rdf:resource="%WIKILOGOIMG%" />
  <dc:language>en-us</dc:language>
  <dc:rights>%WEBRSSCOPYRIGHT%</dc:rights>
  <dc:publisher>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:publisher>
  <dc:creator>The contributing authors of %WIKITOOLNAME%</dc:creator>
  <dc:source>%WIKITOOLNAME%</dc:source>
  <items>
    <rdf:Seq>
%SEARCH{
    "%WEB%"
    web="all"
    excludetopic="%URLPARAM{"excludetopic" default="WebStatistics" }%"
    type="tag"
    nosearch="on"
    order="modified"
    reverse="on"
    nototal="on"
    limit="%URLPARAM{"limit" default="16" }%"
    scope="%URLPARAM{"scope" default="text" }%"
    casesensitive="%URLPARAM{"casesensitive" default="on" }%"
    date="%URLPARAM{"date" default="" }%"
    format="      <rdf:li rdf:resource=\"%SCRIPTURL{"view"}%/%WEB%/$topic\" />"
}%
    </rdf:Seq>
  </items>
</channel>
<image rdf:about="%WIKILOGOIMG%">
  <title>%WIKILOGOALT%.%INCLUDINGWEB%</title>
  <link>%SCRIPTURL{"view"}%/%INCLUDINGWEB%</link>
  <url>%WIKILOGOIMG%</url>
</image>
%SEARCH{
    "%WEB%"
    web="all"
    excludetopic="%URLPARAM{"excludetopic"
    default="WebStatistics" }%"
    type="tag"
    nosearch="on"
    order="modified"
    reverse="on"
    nototal="on"
    limit="%URLPARAM{"limit" default="16" }%"
    scope="%URLPARAM{"scope" default="text" }%"
    casesensitive="%URLPARAM{"casesensitive" default="on" }%"
    date="%URLPARAM{"date" default="" }%"
    format="<item rdf:about=\"%SCRIPTURL{"view"}%/%WEB%/$topic\">$n  <title>$topic</title>$n  <link>%SCRIPTURL{"view"}%/%WEB%/$topic</link>$n  <description>$summary (last changed by <nop>$wikiname)</description>$n  <dc:date>$isodate</dc:date>$n  <dc:contributor>$n    <rdf:Description link=\"%SCRIPTURL{"view"}%?topic=$wikiusername\">$n      <rdf:value>$username</rdf:value>$n    </rdf:Description>$n  </dc:contributor>$n</item>"}%
%STOPINCLUDE%

See also: WebAtomBase, Foswiki:Codev/RichSiteSummary, Foswiki:Codev/FoswikiSyndication