[OpenLayers-Trac] [OpenLayers] #3246: OpenLayers.Format.GeoRSS does not parse namespaced attributes

OpenLayers trac-20090302 at openlayers.org
Tue Apr 5 06:21:21 EDT 2011


#3246: OpenLayers.Format.GeoRSS does not parse namespaced attributes
---------------------------+------------------------------------------------
 Reporter:  fvanderbiest   |       Owner:              
     Type:  feature        |      Status:  new         
 Priority:  minor          |   Milestone:  2.12 Release
Component:  Format.GeoRSS  |     Version:  2.10        
 Keywords:                 |       State:              
---------------------------+------------------------------------------------
 While trying to read the following feed, I realized that our georss format
 does not parse namespaced attributes.

 {{{
 <?xml version="1.0" encoding="utf8"?>

 <rss version="2.0" xmlns:georezo="http://georezo.net/"
 xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">

         <channel>

                 <title>GeoRezo.net - Géo-Entreprise</title>

                 <link>http://georezo.net/</link>

                 <description><![CDATA[GeoRezo.net, le Portail de la
 Géomatique et des SIG (Systèmes d'Information
 Géographique)]]></description>

                 <language>fr</language>

                 <image>

 <url>http://georezo.net/img/logo/logo_small_georezo.gif</url>

                         <title>GeoRezo.net - Géo-Entreprise</title>

                         <link>http://georezo.net/</link>

                         <width>120</width>

                         <height>30</height>

                         <description><![CDATA[GeoRezo.net, le Portail de
 la Géomatique et des SIG (Systèmes d'Information
 Géographique)]]></description>

                 </image>

                 <pubDate>Mon, 03 Dec 2007 00:52:40 +0100</pubDate>

                 <generator>GeoRezo</generator>

                 <ttl>60</ttl>

                 <item>

                         <title>1001maps.fr</title>

                         <link>http://georezo.net/geo-
 entreprise/index.php?search%5Bname%5D=&amp;id=401</link>

                         <description></description>

                         <category>Géo-Entreprise</category>

 <georezo:external><![CDATA[http://www.1001maps.fr]]></georezo:external>

                         <georezo:adress>9 rue André
 Maginot</georezo:adress>

                         <georezo:cp>55000</georezo:cp>

                         <georezo:city>Trémont sur Saulx</georezo:city>

                         <georezo:country>France</georezo:country>

                         <geo:lat>48.7470352834902</geo:lat>

                         <geo:long>5.05529880523682</geo:long>

                         <pubDate>Mon, 03 Dec 2007 00:52:40 +0100</pubDate>

                         <guid isPermaLink="true">http://georezo.net/geo-
 entreprise/index.php?search%5Bname%5D=&amp;id=401</guid>

                 </item>

         </channel>

 </rss>


 }}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3246>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list