[pmwiki-users] Read RSS feeds
Jean DEMARTINI
jean.d.demartini at wanadoo.fr
Thu Jan 26 12:01:41 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
>
I have (by patching the feeds.php file):
- changed <dc:date> by <pubDate>,
- used the RFC822 date format,
and then items updating date is taken in account.
JDem
More information about the pmwiki-users
mailing list