Closed (fixed)
Project:
SimpleFeed
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2007 at 21:25 UTC
Updated:
10 Apr 2007 at 22:30 UTC
This works pretty awesome! Thanks.
Is it possible to have the node creation day to be the rsspubdate?
thanks
/andreas
Comments
Comment #1
m3avrck commentedRight now the node date is:
$values['created'] = $item->get_date();http://simplepie.org/docs/reference/item/get_date/
I don't any other possible date that would work. Care to expand?
Comment #2
micheleannj commentedI want to second the request. All feed items are showing up with the node publish date.
Let me know if there's any way I can help (ie test a patch or try to give more details).
Thanks
Comment #3
micheleannj commentedTo fix this, change $values['created'] to $values['date'] in simplefeed_item.module.
The date isn't in the right format, but Drupal doesn't seem to mind. To convert it, add the following
$fdate = strftime("%Y-%m-%d %H:%M:%S", strtotime($item->get_date()));
$values['date'] = $fdate;
My first module fix ;-)
HTH
maj
Comment #4
m3avrck commentedSuper thanks!
I have fixed this using Drupal's internal date functions.
Comment #5
(not verified) commented