68 lines
3.7 KiB
Plaintext
68 lines
3.7 KiB
Plaintext
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="7"}%
|
|
---+ 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
|
|
1. Subscribed in WebNotify get notified of recent changes by e-mail
|
|
1. Use a news readers such as TWiki:Plugins/HeadlinesPlugin to display the recent changes
|
|
* The source can be a RSS 1.0 feed (WebRss) or ATOM 1.0 feed (WebAtom)
|
|
* Learn more on RSS at TWiki:Codev/TWikiSyndication
|
|
* Learn more on ATOM at WebAtomBase and TWiki:Codev/AtomSyndication
|
|
|
|
---++ RSS Feed Usage
|
|
|
|
* The URL for an RSS feed is =%SCRIPTURL{"view"}%/<web>/WebRss=
|
|
* For this <nop>%WEB% web it is %SCRIPTURL{"view"}%/%WEB%/WebRss
|
|
* You can also create a custom feed based on a search. Add a =search=value= parameter to the URL, e.g. %SCRIPTURL{"view"}%/%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>
|
|
<channel rdf:about="%<nop>SCRIPTURL{"view"}%/%<nop>INCLUDINGWEB%">
|
|
<title>%<nop>WIKITOOLNAME%'s <nop>%<nop>INCLUDINGWEB% web</title>
|
|
<link>%<nop>SCRIPTURL{"view"}%/%<nop>INCLUDINGWEB%</link>
|
|
<description>(the description of the web). TWiki is a Web-Based Collaboration Platform for the Enterprise.</description>
|
|
%<nop>INCLUDE{"%TWIKIWEB%.WebRssBase"}% <!--
|
|
* 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>The contributing authors of %WIKITOOLNAME%</dc:creator>
|
|
<dc:source>%WIKITOOLNAME%</dc:source>
|
|
<items>
|
|
<rdf:Seq>
|
|
%SEARCH{"%URLPARAM{"search" default=".*" }%" web="%URLPARAM{"web" default="%INCLUDINGWEB%" }%" excludetopic="%URLPARAM{"excludetopic" default="WebStatistics" }%" type="%URLPARAM{"type" default="regex" }%" 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{"%URLPARAM{"search" default=".*" }%" web="%URLPARAM{"web" default="%INCLUDINGWEB%" }%" excludetopic="%URLPARAM{"excludetopic" default="WebStatistics" }%" type="%URLPARAM{"type" default="regex" }%" 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%
|
|
</verbatim>
|
|
-----
|
|
|
|
__See also__: WebAtomBase, TWiki:Codev/RichSiteSummary, TWiki:Codev/TWikiSyndication
|
|
|