On the fly XML
So I have XML generated on the fly for Virtual Earth using a simple URL.
All this does is echo out the XML file (which works fine if I save it). For instance if I was to set the
Code Snippet
var veLayerSpec = new VEShapeSourceSpecification(VEDataType.GeoRSS, 'http://www.domain.com/map/getGeoRSS/', 'existingLayer');
Should I be doing this some other way? (I would like for the XML data to be as secure as possible...
[563 byte] By [
Athfar] at [2008-1-4]
Echoing what Derek said, there's really not going to be a way to hide your feed from users of your site. Since the fetching of the feed is a standard fetch action.
If you're having all of your stuff (the map, too) inside a password protected area, you could consider trying a .htaccess file that you would have to get through first. Since you'd have to give it your username/password before loading the map page, the page generating your feed can (probably, I haven't tested this) be behind it as well, effectively blocking outside users.