tomazos has asked for the wisdom of the Perl Monks concerning the following question:
For each item I have a $id, $title, $link and a $blurb as follows:
$rss->add_item( title => encode_entities("$id: $title"), link => $link, description => encode_entities($blurb) );
My question is how to set the items datetime. The datetime is in a $time SELECTed through DBI from a MySQL TIMESTAMP.
What hash key and conversion should I perform on it to include this information with the add_item hash?
Or am I missing something?
Any ideas appreciated. -Andrew
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::RSS timestamping items
by pg (Canon) on Jul 25, 2005 at 00:30 UTC | |
by tomazos (Deacon) on Jul 25, 2005 at 01:13 UTC | |
|
Re: XML::RSS timestamping items
by Your Mother (Archbishop) on Jul 25, 2005 at 01:01 UTC | |
by tomazos (Deacon) on Jul 25, 2005 at 01:16 UTC | |
|
Re: XML::RSS timestamping items
by jhourcle (Prior) on Jul 24, 2005 at 23:19 UTC | |
by tomazos (Deacon) on Jul 25, 2005 at 01:11 UTC |