syndication
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syndication [2013-02-17 14:02] – links corrected because they don't work this way with feedburner cziehr | syndication [2017-12-27 01:08] – [Content Type] remove FIXME phy25 | ||
---|---|---|---|
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 122: | Line 157: | ||
===== Examples ===== | ===== Examples ===== | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
===== Feeds and ACLs ===== | ===== Feeds and ACLs ===== |
syndication.txt · Last modified: 2023-12-03 18:59 by 2601:680:c980:e7a0:5d6a:b206:e621:1b44