[OpenLayers-Trac] [OpenLayers] #1064: Refresh GeoRSS layer
OpenLayers
trac at openlayers.org
Tue Jul 29 20:01:46 EDT 2008
#1064: Refresh GeoRSS layer
------------------------------+---------------------------------------------
Reporter: thijsbrentjens | Owner: crschmidt
Type: feature | Status: new
Priority: critical | Milestone: 2.8 Release
Component: Layer.GeoRSS | Version: SVN
Resolution: | Keywords:
State: Needs More Work |
------------------------------+---------------------------------------------
Changes (by crschmidt):
* state: Review => Needs More Work
* milestone: 2.7 Release => 2.8 Release
Comment:
This refresh patch has a couple problems.
1. The 'adding a cache-busting parameter' code does not work cleanly on
URLs like "/georss.xml?type=foo' -- it will add ?currenttime=2008-blah to
the 'type', messing up that parameter.
2. The caching stuff should be optional (since ideally that should be
handled on the server)
3. The patch has other things in it that shouldn't be there (and won't
apply any more)
4. The new way to do this is actually pretty simple: layer.loaded=false;
layer.url = 'foo'; layer.loadRSS();
Given this, I'm bumping out of 2.8 unless someone offers a cleaned up
patch to improve these things.
--
Ticket URL: <http://trac.openlayers.org/ticket/1064#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list