OpenLayers OpenLayers

Ticket #111 (closed feature: fixed)

Opened 4 years ago

Last modified 3 years ago

Fix GeoRSS for RSS1.0 feeds in Safari

Reported by: crschmidt Assigned to:
Priority: minor Milestone:
Component: Layer Version:
Keywords: Cc:
State:

Description

For some reason, GeoRSS layer doesn't work in Safari.

Attachments

safari.patch (4.3 kB) - added by seang on 10/10/06 15:34:00.
patch for Safari and Atom feeds
safari.2.patch (5.2 kB) - added by seang on 10/10/06 16:14:37.
patch for Atom feeds on Safari, FF 1.5, and IE 6

Change History

08/15/06 13:26:02 changed by crschmidt

  • summary changed from Fix GeoRSS in Safari to Fix GeoRSS for RSS1.0 feeds in Safari.
  • milestone deleted.

getElementsByTagName does not work in Safari if there is a defualt namespace. In order to accept different RSS inputs, one must create seperate parsers which each use getElementsByTagNameNS if there is a default namespace.

This means that RSS 2.0 works fine, as demonstrated by: http://earthquake.usgs.gov/eqcenter/recenteqsww/catalogs/eqs7day-M2.5.xml

but that 1.0 won't, as demonstrated by the georss.xml in the examples.

I don't plan to fix this in the near future. Patches welcome, but for now it goes to the None milestone.

08/16/06 01:14:45 changed by euzuro

  • owner deleted.

10/10/06 15:34:00 changed by seang

  • attachment safari.patch added.

patch for Safari and Atom feeds

10/10/06 15:34:56 changed by seang

Here's a patch that enables Atom 1.0 feeds on Firefox *and* Safari.

10/10/06 16:14:37 changed by seang

  • attachment safari.2.patch added.

patch for Atom feeds on Safari, FF 1.5, and IE 6

10/10/06 17:32:26 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.

Committed in r1737.