%META:TOPICINFO{author="PeterThoeny" date="1128750655" format="1.0" version="1.7"}%
---++ How to Find out What's New?

There are three ways to find out what's new in each TWiki web:
	1. WebChanges shows recent changes
	1. People subscribed in WebNotify get notified of recent changes by e-mail
	1. A news feed can be exported in RSS 1.0 format for TWiki:Codev/TWikiSyndication. RSS news readers like TWiki:Plugins/HeadlinesPlugin can display the recent changes

---++ RSS Feed Usage

	* The URL for an RSS feed is =%SCRIPTURL%/view%SCRIPTSUFFIX%/&lt;web&gt;/WebRss=
	* For this <nop>%WEB% web it is %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/WebRss (or %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/WebRss?skin=rss&contenttype=text/plain for plain text RSS)
	* You can also create a custom feed based on a search. Add a =search=value= parameter to the URL, e.g. %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/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 <nop>%TOPIC% 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:

-----
<pre>
&lt;channel rdf:about="%<nop>SCRIPTURL%/view%<nop>SCRIPTSUFFIX%/%<nop>INCLUDINGWEB%">
  &lt;title>%<nop>WIKITOOLNAME%'s %<nop>INCLUDINGWEB% web&lt;/title>
  &lt;link>%<nop>SCRIPTURL%/view%<nop>SCRIPTSUFFIX%/%<nop>INCLUDINGWEB%&lt;/link>
  &lt;description>(the description of the web). TWiki is a Web-Based Collaboration Platform for the Corporate World.&lt;/description>
%<nop>INCLUDE{"%TWIKIWEB%.WebRssBase"}% &lt;!--
	* Set <nop>SKIN = rss
-->
</pre>
-----


Below part is included by each <nop>WebRss topic:


-----
<verbatim>
%STARTINCLUDE%<image rdf:resource="%WIKILOGOIMG%" />
  <dc:language>en-us</dc:language>
  <dc:rights>%WEBRSSCOPYRIGHT%</dc:rights>
  <dc:publisher>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:publisher>
  <dc:creator>%WIKIWEBMASTERNAME% [%WIKIWEBMASTER%]</dc:creator>
  <dc:source>%WIKITOOLNAME%</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{"%URLPARAM{"search" default=".*" }%" 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="%WIKILOGOIMG%">
  <title>%WIKILOGOALT%.%INCLUDINGWEB%</title>
  <link>%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%</link>
  <url>%WIKILOGOIMG%</url>
</image>
%SEARCH{"%URLPARAM{"search" default=".*" }%" 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?t=$isodate</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%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%
</verbatim>
-----

__See also__: TWiki:Codev/RichSiteSummary, TWiki:Codev/TWikiSyndication 

-- TWiki:Main.PeterThoeny - 02 Sep 2003

