Click to See Complete Forum and Search --> : RSS pubDate


meek
08-18-2010, 07:36 AM
Hi.

I'm trying to create a RSS feed based on a certain application. I'm able to fetch a date for the <pubDate> tag, but not in the correct format. I only have access to the frontend of this application, so I can't change the date format in the database or using server-side scripting.

My date format is this: "12 07 2010 00:00:01 GMT" but a <pubDate> needs to comply with this format: Sat, 07 Dec 2010 00:00:01 GMT.

I'm able to fix the format using some javaScript, but it makes my RSS feed invalid.

Does anyone have an idea how to solve this? Or should I just forget about it?

Thanks.

Charles
08-18-2010, 05:10 PM
How are you generating the RSS?

meek
08-19-2010, 03:31 AM
Hi.

Using some Perl variables... The application I'm working with is written in Perl.

Charles
08-19-2010, 09:06 AM
Don't get me wrong, I love Perl, but it's a little less good with dates than PHP. Best to post this on the Perl forum where some good soul will show you how to tweak that script.

meek
08-20-2010, 04:02 AM
Thanks.