syndication
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syndication [2011-08-06 10:42] – old revision restored ach | syndication [2022-07-31 23:10] (current) – Klap-in | ||
---|---|---|---|
Line 3: | Line 3: | ||
[[DokuWiki]] makes some of its data available as XML feed through the [[this> | [[DokuWiki]] makes some of its data available as XML feed through the [[this> | ||
- | The XML Syndication feature was implemented by using the excellent [[http:// | + | The XML Syndication feature was implemented by using the excellent [[http:// |
===== Config/URL Options ===== | ===== Config/URL Options ===== | ||
How the feed is produced can be configured through certain config options. When feed.php is called without any arguments it will use these options to create the feed. All options can also be overridden by parameters passed in the URL. | How the feed is produced can be configured through certain config options. When feed.php is called without any arguments it will use these options to create the feed. All options can also be overridden by parameters passed in the URL. | ||
+ | |||
+ | ==== Disabling ==== | ||
+ | |||
+ | Default the XML feed of DokuWiki is available, but you can disable it via the disable actions configuration. | ||
+ | |||
+ | * **Config Option:** [[config: | ||
+ | * **Default: | ||
==== Links ==== | ==== Links ==== | ||
Line 38: | Line 45: | ||
| htmldiff | a HTML formatted diff table of the page changes | | htmldiff | a HTML formatted diff table of the page changes | ||
| html | the full HTML rendered page content | | | html | the full HTML rendered page content | | ||
+ | |||
+ | ==== Content Type ==== | ||
+ | |||
+ | Control whether media is included in the list of feed items. | ||
+ | |||
+ | * **Config Option:** [[config: | ||
+ | * **URL Parameter: | ||
+ | * **Default: | ||
+ | * **Possible Values:** both, pages, media | ||
+ | |||
+ | ^ Value ^ Item Content ^ | ||
+ | | both | list pages and media | | ||
+ | | pages | list only pages, do not list media | | ||
+ | | media | list only media, do not list pages | | ||
==== Feed Format ==== | ==== Feed Format ==== | ||
Line 65: | Line 86: | ||
^ Value ^ List Mode ^ | ^ Value ^ List Mode ^ | ||
- | | recent | + | | recent |
| list | simply list all pages of a namespace (see below for selecting which one) | | | list | simply list all pages of a namespace (see below for selecting which one) | | ||
| search | | search | ||
Line 83: | Line 104: | ||
Namespace limitation is not directly supported for the [[#list mode]] '' | Namespace limitation is not directly supported for the [[#list mode]] '' | ||
+ | |||
+ | ==== Item Sorting ==== | ||
+ | The sorting of pages listed in the feed can be changed ([[#list mode]] '' | ||
+ | |||
+ | * **Config Option:** none | ||
+ | * **URL Parameter: | ||
+ | * **Default: | ||
+ | * **Possible Values:** date, natural | ||
+ | |||
+ | Affects only the [[#list mode]] '' | ||
+ | |||
+ | In [[#list mode]] '' | ||
==== Item Limits ==== | ==== Item Limits ==== | ||
- | The number of pages listed in the feed can be controlled as well. | + | The maximum |
* **Config Option:** [[config: | * **Config Option:** [[config: | ||
* **URL Parameter: | * **URL Parameter: | ||
- | * **Default: | + | * **Default: |
* **Possible Values:** any integer | * **Possible Values:** any integer | ||
+ | |||
+ | 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 99: | Line 134: | ||
* **Config Option:** none | * **Config Option:** none | ||
* **URL Parameter: | * **URL Parameter: | ||
+ | * **Default: | ||
+ | * **Possible Values:** 0 or 1 | ||
+ | |||
+ | ==== Show New Items only ==== | ||
+ | |||
+ | Allows to output newly created items only. | ||
+ | |||
+ | * **Config Option:** none | ||
+ | * **URL Parameter: | ||
* **Default: | * **Default: | ||
* **Possible Values:** 0 or 1 | * **Possible Values:** 0 or 1 | ||
Line 122: | Line 166: | ||
===== Examples ===== | ===== Examples ===== | ||
- | * [[this>feed.php? | + | * '' |
- | * [[this>feed.php? | + | * '' |
===== Feeds and ACLs ===== | ===== Feeds and ACLs ===== | ||
Line 164: | Line 208: | ||
* The [[plugin: | * The [[plugin: | ||
* Tips on [[tips: | * Tips on [[tips: | ||
+ | * The [[plugin: |
syndication.1312620154.txt.gz · Last modified: 2011-08-06 10:42 by ach