[pmwiki-users] RSS feed
akille.24444274 at bloglines.com
akille.24444274 at bloglines.com
Fri Feb 24 21:26:45 CST 2006
Thanks so much for everyone's help. I just updated to the most recent version
of pmwiki, so the feeds.php script is back to normal. I added the following
to my config.php script:
$FeedFmt['rss']['item']['author'] = '$LastModifiedBy';
$FeedFmt['rss']['item']['description'] = '$LastModifiedSummary';
However,
I still don't get a <description> element in my RSS feed. Any ideas?
Thanks
again,
Angela
--- Patrick R. Michaud" <pmichaud at pobox.com wrote:
On
Fri, Feb 24, 2006 at 03:58:26PM +0100, Roman wrote:
> > > Note that you don't
need to change the feeds.php script itself --
> > > better might be to do
(in local/config.php):
> > >
> > > $FeedFmt['rss']['item']['author']
=
> > > "<author><name>{\$LastModifiedBy}</name></author>";
> >
>
> I have this line in my config and it works fine:
> >
> > $FeedFmt['rss']['item']['author']
= '$LastModifiedBy';
> >
> > Isn't <author><name> redundant?
>
> Yes,
in reading the RSS 2.0 spec it appears that the <name>
> element isn't needed
(and could in fact be wrong). So,
>
> $FeedFmt['rss']['item']['author']
= '$LastModifiedBy';
>
> works just fine. I think I will add this particular
example
> into the comments of the feeds.php script.
>
> > > The relevant
variable is {$LastModifiedSummary} -- what RSS
> > > element do you want
it to appear under?
> >
> > I use "description" element ($FeedFmt['rss']['item']['description']).
>
> This is fine. PmWiki doesn't default to this because some would
>
argue that the RSS 2.0 <description> element is really meant to
> be a summary
of the entire page (e.g., from the page's
> (:description ...:) directive)
and not simply a summary of the
> latest change.
>
> Here we can see RSS's
design criteria showing a bit -- it was really
> intended to provide information
about a sequence of articles,
> as opposed to changes within a single article.
>
> Pm
>
> _______________________________________________
> pmwiki-users
mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list