You are here: Foswiki>Main/Cimec Web>WebAtomBase (12 Apr 2012, MarioStorti)Edit Attach
Warning: Can't find topic Main/Cimec.DistributionDocHeader

ATOM 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

ATOM Feed Usage

ATOM Feed Internals

Each web has a WebAtom topic which includes part of this WebAtomBase topic. This topic is the base for the ATOM feed and generates an WebAtom 1.0 feed for TWiki:Codev/AtomSyndication.

The WebAtom topic in each web contains the following text:


<title><nop>%WIKITOOLNAME%'s <nop>%INCLUDINGWEB% web</title>
<subtitle>(the description of the web, plain text with no markup and no wikiwords). TWiki is an Enterprise Collaboration Platform.</subtitle>
%INCLUDE{"%SYSTEMWEB%.WebAtomBase"}% <!--
   * Set SKIN = rss
-->

Below part is included by each WebAtom topic:


%STARTINCLUDE%<link rel="self" type="application/atom+xml" href="%SCRIPTURL{"view"}%/%INCLUDINGWEB%/%BASETOPIC%"/>
<id>%SCRIPTURL{"view"}%/%INCLUDINGWEB%</id>
<rights>%WEBRSSCOPYRIGHT%</rights>%CALC{$SET(c,0)}%
%SEARCH{"%URLPARAM{"search" encode="quote" default=".*" }%" web="%INCLUDINGWEB%" type="regex" nosearch="on" order="modified" reverse="on" nototal="on" limit="16" format="$percntCALC{$IF($GET(c)>0, , <updated>$isodate</updated>$CHAR(10))$SETM(c, +1)}$percnt<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: WebRssBase, TWiki:Codev/AtomSyndication

Warning: Can't find topic Main/Cimec.DistributionDocComments
 
Topic revision: r1 - 12 Apr 2012, MarioStorti
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback