[pmwiki-users] Read RSS feeds
Patrick R. Michaud
pmichaud at pobox.com
Thu Jan 26 07:26:36 CST 2006
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
More information about the pmwiki-users
mailing list