[pmwiki-users] Read RSS feeds
Jean DEMARTINI
jean.d.demartini at wanadoo.fr
Thu Jan 26 11:12:46 CST 2006
Patrick R. Michaud a écrit :
> On Wed, Jan 25, 2006 at 06:15:07PM -0700, H. Fox wrote:
>
>> On 1/24/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>>
>>> You can do this in config.php with one line:
>>>
>>> $FeedFmt['rss']['item']['title'] = '{$Group} / {$Title} @ $ItemISOTime';
>>>
>> Is there a way to include a nicer-looking date/time string?
>>
>
> How about...?
>
> $FeedFmt['rss']['item']['title'] = '{$Group} / {$Title} @ {$LastModified}';
>
> Or, create a custom page variable:
>
> $FmtPV['$ShortDate'] = 'strftime("%Y-%m-%d", $page["time"])';
> $FeedFmt['rss']['item']['title'] = '{$Group} / {$Title} @ {$ShortDate}';
>
> Aside: IMO, the idea that any RSS feed reader uses the *title* to
> decide if an article has changed is totally bogus. Articles change
> far more often than titles.
>
> Pm
>
It seems that the tag dc:date is not valid the official tag is pubDate,
it seems also that the date format has to be the $RSSTimeFmt. This
information comes from:
1. the analysis of the RSS provided by sourceforge for its own site,
2. an RSS validation done by: http://feedvalidator.org/
Things seems to be not so simple !
JDem
More information about the pmwiki-users
mailing list