...

View Full Version : Possible to get date from rss feeds with javascript?



firago
05-07-2006, 05:38 PM
I was wondering if it was possible to get the date of the most recent item on a rss feed with javascript. If it is possible could somebody please show me an example script?

Thanks so much.

A1ien51
05-07-2006, 05:58 PM
Yes you can, but the datasource (XML file) has to be on the same domain. You can not get it from another site.

You need to use the XMLHttpRequest Object (Ajax) to get the file.

Eric

firago
05-07-2006, 10:56 PM
can it be on a subdomain?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum