Home | Gifts

RSS News Feeds

Find out What's New

There are several ways to find out what's new in each TWiki 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 TWiki:Plugins/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 TWiki:Codev/TWikiSyndication.

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). TWiki is a Web-Based Collaboration Platform for the Enterprise.</description>
%INCLUDE{"TWiki.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{
 "%URLPARAM{"search" encode="search" default=".*" }%"
 web="%URLPARAM{"web" encode="quote" default="%INCLUDINGWEB%" }%"
 excludetopic="%URLPARAM{"excludetopic" encode="quote" default="WebStatistics" }%"
 type="%URLPARAM{"type" encode="quote" default="regex" }%"
 nosearch="on"
 sort="modified"
 reverse="on"
 nototal="on"
 limit="%URLPARAM{"limit" encode="quote" default="16" }%"
 scope="%URLPARAM{"scope" encode="quote" default="text" }%"
 casesensitive="%URLPARAM{"casesensitive" encode="quote" default="on" }%"
 date="%URLPARAM{"date" encode="quote" 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{
 "%URLPARAM{"search" encode="quote" default=".*" }%"
 web="%URLPARAM{"web" encode="quote" default="%INCLUDINGWEB%" }%"
 excludetopic="%URLPARAM{"excludetopic" encode="quote" default="WebStatistics" }%"
 type="%URLPARAM{"type" encode="quote" default="regex" }%"
 nosearch="on" sort="modified" reverse="on" nototal="on"
 limit="%URLPARAM{"limit" encode="quote" default="16" }%"
 scope="%URLPARAM{"scope" encode="quote" default="text" }%"
 casesensitive="%URLPARAM{"casesensitive" encode="quote" default="on" }%"
 date="%URLPARAM{"date" encode="quote" 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, TWiki:Codev/RichSiteSummary, TWiki:Codev/TWikiSyndication

Revision r11 - 2018-07-15 - 00:36:35 - TWikiContributor Edit