記事配信

DokuWiki makes some of its data available as XML feed through the feed.php file.

Parameters

How the feed is generated can be influenced through various URL parameters.

Parameter Valid values Default Description
type rss, rss1, rss2, atom rss1 This is the Document-Type the feed is using
mode recent, list recent What should be exported? The recent changes or a list of documents
num any integer recent option How many items should be included (ignored in list mode)
ns a 名前空間 * which namespace should be exported
linkto page, rev, diff diff where should the itemlink point to

Examples

Username/Password

When enabling アクセスコントロール and restricted pages to be viewed unless user is authorized, remember that one must pass to the RSS Reader the arguments of username and password, like this: ''http://example.com/dokuwiki/feed.php?u=username&p=password'' If not, then the RSS Reader will be unable to show any recent changes or list the documents that belong to a restricted namespace, due to those viewing restrictions.

Feedcreator

The XML Syndication feature was implemented by using the excellent Feed Creator Class by Kai Blankenhorn.