|
From: | MJ Ray |
Subject: | Re: [Koha-devel] Dates in Koha's RSS |
Date: | Mon Aug 9 14:21:07 2004 |
"line 13, column 40: lastBuildDate must be an RFC-822 date
There is no lastBuildDate in RSS 1.0, which I think is still the last working group version (as opposed to Winer's fork 2.0, but please let me know if not). What validator are you using and is rsskoha producing something other than 1.0?
sub getDate { my $date = localtime(timelocal(localtime)); return $date; }...which is where I assume the date formatting should take place, but it's beyond me. I assume it's not that difficult for those who know Perl. Can someone offer a suggestion?
Try the strftime function in the POSIX module on the whole localtime(...) thing. "perldoc POSIX" for help.
-- MJR/slef My Opinion Only and not of any group I know http://www.ttllp.co.uk/ for creative copyleft computing Please email about: BT alternative for line rental+DSL; Education on SMEs+EU FP6; office filing that works fast
[Prev in Thread] | Current Thread | [Next in Thread] |