Hello all,
I've been at this one for days on end. I just don't understand how to
create the GeoRSS layer. I have tried various examples and I either get
nothing, or this weird error in firebug:
doc.getElementsByTagName("title")[0] is undefined
[Break on this error]
catch(e){name=doc.getElementsByTagName('title')[0].firstChild.nodeValue;}
My code for the layer is:
OpenLayers.ProxyHost ="http://localhost/cgi-bin/proxy.cgi?url=";
var georss = new OpenLayers.Layer.GeoRSS( "GeoRSS",
"http://earthquake.usgs.gov/recenteqsww/eqs7day-M2.5.xml");
map.addLayer(georss);
I am in desperate need of some sort of help for this :-/. When I do
http://earthquake.usgs.gov/recenteqsww/eqs7day-M2.5.xml in the example
http://openlayers.org/dev/examples/georss.html
it seems to work and display makers...Why is this not showing up for me?
Thank you, elshae
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Creating-a-GeoRSS-Layer-tp5604650p5604650.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users