[pmwiki-users] RSS and "feeds.php"

H. Fox haganfox at users.sourceforge.net
Sun Sep 16 11:30:27 CDT 2007


On 9/14/07, H. Fox <haganfox at users.sourceforge.net> wrote:
> On 9/13/07, Tegan Dowling <tmdowling at gmail.com> wrote:
> > On 9/11/07, Graham Archer <Graham.Archer at sun.com> wrote:
> > >  It seems my Reader is only looking at the URL, and since it doesn't change
> > > there are no updates.
> > >  However PM's neat little trick works a treat....Thanks..!!
> >
> > Yes, PM wrote:
> > 'Some aggregators key updates to the urls in the feed, and since page
> > urls don't change when there's an update, the aggregator never
> > notices. In these cases we have to "trick" the aggregator into seeing
> > a different url every time a page is updated. I think this can be done
> > with something like: $FeedFmt['rss']['item']['link'] =
> > '{$PageUrl}?when=$ItemISOTime'; '

Answering my own questions:

> Does that line only affect RSS 2.0 feeds (?action=rss)?

Yes.

> Is a similar
> line recommended for Atom feeds (?action=atom).

I don't know, but here's what the similar line for Atom feeds would
look like if so:

$FeedFmt['atom']['item']['link'] =
   "<link rel=\"alternate\" href=\"{\$PageUrl}?when=\$ItemISOTime\" />\n";

Hagan



More information about the pmwiki-users mailing list