ATOM News Feeds

Find out What's New

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

ATOM Feed Usage

ATOM Feed Internals

Each web has a Web Atom topic which includes part of this WebAtomBase topic. This topic is the base for the ATOM feed and generates an Web Atom 1.0 feed.

The Web Atom topic in each web contains the following text:


<title><nop>%WIKITOOLNAME%'s <nop>%BASEWEB% web</title>
<subtitle><literal>The %WEB% web of %WIKITOOLNAME%. %WEBSUMMARY%</literal></subtitle>
%INCLUDE{"%SYSTEMWEB%.WebAtomBase"}% <!--
   * Set SKIN = rssatom
   * Set COVER = rssatom
-->

Note: The subtitle is expanded from the %WEB%, %WIKITOOLNAME% and %WEBSUMMARY% macros. These must expand to plain text with no links or html markup. <literal> is used to avoid links if the web name or any of the macros expand to include Wiki Words or other markup.

Below part is included by each WebAtom topic:


%STARTINCLUDE%<link rel="self" type="application/atom+xml" href="%SCRIPTURL{"view"}%/%BASEWEB%/%BASETOPIC%"/>
<id>%SCRIPTURL{"view"}%/%BASEWEB%</id>
<rights>%WEBRSSCOPYRIGHT%</rights>%CALC{$SET(c,0)}%
%SEARCH{"%URLPARAM{"search" encode="quote" default=".*" }%" web="%BASEWEB%" type="regex" nosearch="on" order="modified" reverse="on" nototal="on" limit="16" format="$percentCALC{$IF($GET(c)>0, , <updated>$isodate</updated>$CHAR(10))$SETM(c, +1)}$percent<entry>$n <title>$topic</title>$n <link rel=\"alternate\" type=\"text/html\" href=\"%SCRIPTURL{"view"}%/$web/$topic?t=$isodate\"/>$n <id>%SCRIPTURL{"view"}%/$web/$topic</id>$n <updated>$isodate</updated>$n <summary>$summary (last changed by <nop>$wikiname)</summary>$n <author>$n  <name><nop>$wikiname</name></author>$n</entry>"}%
%STOPINCLUDE%

See also: Web Rss Base
Topic revision: r1 - 12 Sep 2009 - 02:08:29 - Project Contributor
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback