DokuWiki

It's better when it's simple

User Tools

Site Tools


syndication

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
syndication [2014-05-06 20:06]
Klap-in [Disabling]
syndication [2020-05-08 13:34]
Klap-in [Show New Items only]
Line 3: Line 3:
 [[DokuWiki]] makes some of its data available as XML feed through the [[this>feed.php]] file. The feed can be subscribed in a [[wp>Aggregator|newsreader]]. [[DokuWiki]] makes some of its data available as XML feed through the [[this>feed.php]] file. The feed can be subscribed in a [[wp>Aggregator|newsreader]].
  
-The XML Syndication feature was implemented by using the excellent [[http://www.bitfolge.de/rsscreator-en.html|Feed Creator Class]] by Kai Blankenhorn.+The XML Syndication feature was implemented by using the excellent [[http://www.bitfolge.de/rsscreator-en.html|Feed Creator Class]] FIXME by Kai Blankenhorn.
  
 ===== Config/URL Options ===== ===== Config/URL Options =====
Line 104: Line 104:
  
 Namespace limitation is not directly supported for the [[#list mode]] ''search''. Instead you can give a namespace limitation in the query (using the ''@'' syntax) -- this however **will** include sub namespaces. Namespace limitation is not directly supported for the [[#list mode]] ''search''. Instead you can give a namespace limitation in the query (using the ''@'' syntax) -- this however **will** include sub namespaces.
 +
 +==== Item Sorting ====
 +The sorting of pages listed in the feed can be changed ([[#list mode]] ''list'' only)
 +
 +  * **Config Option:** none
 +  * **URL Parameter:** sort
 +  * **Default:** natural
 +  * **Possible Values:** date, natural
 +
 +Affects only the [[#list mode]] ''list''. Natural sorting is just the order of the stored pages.
 +
 +In [[#list mode]] ''recent'', the pages are always ordered by date, as its name already suggests.
  
 ==== Item Limits ==== ==== Item Limits ====
Line 115: Line 127:
  
 Note: The actual number of items returned in the feed will also be limited by the number of items that meet the criteria of the feed. Note: The actual number of items returned in the feed will also be limited by the number of items that meet the criteria of the feed.
 +
 ==== Including Minor Edits ==== ==== Including Minor Edits ====
  
Line 121: Line 134:
   * **Config Option:** none   * **Config Option:** none
   * **URL Parameter:** minor   * **URL Parameter:** minor
 +  * **Default:** 0
 +  * **Possible Values:** 0 or 1
 +
 +==== Show New Items only ====
 +[[devel:develonly]]
 +
 +Allows to output newly created items only.
 +
 +  * **Config Option:** none
 +  * **URL Parameter:** only_new
   * **Default:** 0   * **Default:** 0
   * **Possible Values:** 0 or 1   * **Possible Values:** 0 or 1
syndication.txt · Last modified: 2020-05-08 13:34 by Klap-in