Revision [10529]
This is an old revision of RSSAutoDiscovery made by JavaWoman on 2005-08-07 16:42:08.
RSS Auto discovery
Wikka RSS feeds
A small modification to header.php allows Wikka feeds to be 'autodiscovered' by most feed readers and now also by some browsers supporting this mechanism.
Add the following lines after the stylesheet-related lines in actions/header.php:
<?php
if ($this->GetMethod() != 'edit') {
$rsslink = ' <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': revisions for '.$this->tag.' (RSS)" href="'.$this->Href('revisions.xml', $this->tag).'" />'."\n";
$rsslink .= ' <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': recently edited pages (RSS)" href="'.$this->Href('recentchanges.xml', $this->tag).'" />'."\n";
echo $rsslink;
}
?>
if ($this->GetMethod() != 'edit') {
$rsslink = ' <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': revisions for '.$this->tag.' (RSS)" href="'.$this->Href('revisions.xml', $this->tag).'" />'."\n";
$rsslink .= ' <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': recently edited pages (RSS)" href="'.$this->Href('recentchanges.xml', $this->tag).'" />'."\n";
echo $rsslink;
}
?>
Feed reader support
To use autodiscovery, you don't need to find out the location of the RSS file, you simply give your RSS reader the address of the web page and the RSS reader will search the page for any RSS links that it can find.
Feed readers with autodiscovery include (in alphabetical order):
Aggie
FeedDemon
SharpReader (Only the first link is picked up.)
more to follow
Browser support
Link Navigation support
Link navigation support can be found in:
Mozilla
Note that Mozilla will display all alternate links, so these should be labeled as 'RSS' in the title attribute (in addition to the description).
- Implemented now, though the screenshots don't show it) --JavaWoman
Other browsers with support for link navigation are iCab and Lynx (no screenshots available.)
RSS autodiscovery support
The RSS autodiscovery feature is currently supported by:
Firefox
Opera (7.5+)
Safari (2.0+)
Yahoo toolbar for IE (5.6+)
CategoryDevelopment