Closed (fixed)
Project:
Feedparser
Version:
4.7.x-1.x-dev
Component:
feedaggregator_node
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2007 at 18:16 UTC
Updated:
23 Jan 2007 at 21:29 UTC
There are no dates showing for the feed-items. Ideally it would pull the date from the feed tag. If it can't find a date it could show the date it was downloaded.
Comments
Comment #1
buddaI think that is down to your theme and your template? The usual $node->created and $node->updated timestamps are available.
Comment #2
chrishaslam commentedDates are working fine, using
<?php print $date?>in node.tpl.php (or something like aggregator-item.tpl.php)"Ideally it would pull the date from the feed tag. If it can't find a date it could show the date it was downloaded."
I'm sure this is exactly what feedparser does, it takes the date from the
if it's available and if not falls back to the node creation time. This bug report can now be closed?
Comment #3
nathanraft commentedYes.. I figured that this was part of the content and did not try the tpl. So I put together a node-aggregator-item.tpl.php with all the normal stuff and added this line.
print format_date($node->created, 'custom', 'M d, Y');Marking closed....