[pmwiki-users] Read RSS feeds

Jean DEMARTINI jean.d.demartini at wanadoo.fr
Thu Jan 26 09:58:29 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 agree totally but I have tested FeedReader, Google Reader and 
Thunderbird and all exhibit the same behaviour: only the titles are 
considered.
Another hypothesis is that the tag indicating the date is not the right 
one. I have tested the tag <pubDate> instead of <dc:date> the result is 
the same.
I'm quite puzzled.

JDem

PS: the funny solution which consists to add the update date to the 
title is, presently, the only which functions.







More information about the pmwiki-users mailing list