rss
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| rss [2010-03-23 21:51] – old revision restored ach | rss [2023-01-18 19:52] (current) – [Syntax] 77.119.214.121 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Including an RSS or ATOM feed is simple. Here is an example of including the latest Headlines from Slashdot: | Including an RSS or ATOM feed is simple. Here is an example of including the latest Headlines from Slashdot: | ||
| - | {{rss> | + | {{rss> |
| - | {{rss> | + | {{rss> |
| For parsing the XML feeds, [[http:// | For parsing the XML feeds, [[http:// | ||
| - | ^ Parameter | + | ^ Parameter |
| - | | any number | will be used as maximum number items to show, defaults to 8 | | + | | any number |
| - | | reverse | + | | reverse |
| - | | author | + | | author |
| - | | date | + | | date |
| - | | description| show the item description. If [[config: | + | | description |
| - | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | + | | // |
| The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. DokuWiki will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. DokuWiki will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. | ||
| Line 25: | Line 25: | ||
| Example: | Example: | ||
| - | {{rss> | + | {{rss> |
| - | + | ||
| + | To access feeds via HTTPS/SSL the openssl extension must enabled in the PHP configuration. | ||
rss.1269377471.txt.gz · Last modified: by ach
