buildrelease
[openafs-wiki.git] / TWiki / WebAtomBase.mdwn
index 34953e7..c4df36c 100644 (file)
@@ -15,7 +15,7 @@ There are several ways to find out what's new in each TWiki web:
 
 - The URL for an RSS feed is `http://www.dementia.org/twiki/view/<web>/WebAtom`
 - For this %WEB% web it is [[http://www.dementia.org/twiki/view/%WEB%/WebAtom|%WEB%/WebAtom]]
-- You can also create a custom feed based on a search. Add a `search=value` parameter to the URL, e.g. <http://www.dementia.org/twiki//view/%WEB%/WebAtom?search=plugin> is a what's new feed about Plugins.
+- You can also create a custom feed based on a search. Add a `search=value` parameter to the URL, e.g. [[http://www.dementia.org/twiki/view/%WEB%/WebAtom?search=plugin|%WEB%/WebAtom?search=plugin]] is a what's new feed about Plugins.
 
 ## <a name="ATOM Feed Internals"></a> ATOM Feed Internals
 
@@ -37,10 +37,10 @@ Below part is included by each WebAtom topic:
 
 ----
 
-    %STARTINCLUDE%<link rel="self" type="application/atom+xml" href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%/%HOMETOPIC%"/>
-    <id>%SCRIPTURL%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%</id>
+    %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" default=".*" }%" web="%INCLUDINGWEB%" regex="on" 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%SCRIPTSUFFIX%/$web/$topic?t=$isodate\"/>$n <id>%SCRIPTURL%/view%SCRIPTSUFFIX%/$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>"}%
+    %SEARCH{"%URLPARAM{"search" 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%
 
 ----