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

  • The URL for an RSS feed is /twiki/bin/view/<web>/WebRss
  • For this TWiki web it is /twiki/bin/view/TWiki/WebRss
  • You can also create a custom feed based on a search. Add a search=value parameter to the URL, e.g. /twiki/bin/view/TWiki/WebRss?search=plugin is a what's new feed about Plugins.

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

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2018-07-15 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.WebRssBase.