Revision [10520]

This is an old revision of RSSAutoDiscovery made by JavaWoman on 2005-08-07 15:35:43.


RSS Auto discovery


A small modification to header.php allows Wikka feeds to be autodiscovered by most feedreaders and by browsers supporting this function.

Add the following lines after the stylesheet-related lines in actions/header.php:

if ($this->GetMethod() != 'edit') {
    $rsslink = '    <link rel="alternate" type="application/rss+xml" title="'.$this->GetWakkaName().': revisions for '.$this->tag.'" href="'.$this->Href('revisions.xml', $this->tag).'" />'."\n";
    $rsslink .= '   <link rel="alternate" type="application/atom+xml" title="'.$this->GetWakkaName().': recently edited pages" href="'.$this->Href('recentchanges.xml', $this->tag).'" />'."\n";
    echo $rsslink; 

Browser support

Link navigation support can be found in:

Mozilla 'Other Versions' in link navigation bar
Note that Mozilla will display all alternate links, so these should be labeled as 'RSS'.

RSS autodiscovery support

The RSS autodiscovery feature is currently supported by:

FF autodiscovery button

Opera (7.5+)
Opera autodiscovery button

Safari (2.0+)
Safari autodiscovery button

Yahoo toolbar for IE (5.6+)
Yahoo toolbar autodiscovery button

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki