You are here: Foswiki>System Web>Category>AdminToolsCategory>WebAtomBase (2023-08-06, UnknownUser)Edit Attach
There are several ways to find out what's new in each web:
https://outzenj.com/bin/view/<web>/WebAtom
search=value
parameter to the URL, e.g. https://outzenj.com/bin/view/System/WebAtom?search=plugin is a what's new feed about Plugins. 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.
The WebAtom 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 WikiWords 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="entities, quote" default=".*" }%" decode="entities" web="%URLPARAM{"web" encode="safe, quote" default="%BASEWEB%" }%" excludetopic="%URLPARAM{"excludetopic" encode="safe, quote" default="%STATISTICSTOPIC%" }%" type="%URLPARAM{"type" encode="safe, quote" default="regex" }%" nosearch="on" order="modified" reverse="on" nototal="on" limit="%URLPARAM{"limit" encode="safe, quote" default="16" }%" scope="%URLPARAM{"scope" encode="safe, quote" default="text" }%" casesensitive="%URLPARAM{"casesensitive" encode="safe, quote" default="on" }%" date="%URLPARAM{"date" encode="safe, quote" default="" }%" 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: WebRssBase
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2023-08-06, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback