From ec93f99cb5d9ed0d05b1a1e02af787183e875f8d Mon Sep 17 00:00:00 2001 From: lucidiot Date: Sun, 8 Oct 2023 21:16:32 +0200 Subject: [PATCH] Prefer the W3C-recommended GeoRSS namespace --- feed.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feed.xml b/feed.xml index b0bd3d3..beeba98 100644 --- a/feed.xml +++ b/feed.xml @@ -10,7 +10,7 @@ xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" - xmlns:georss="http://www.georss.org/georss/11" + xmlns:georss="http://www.georss.org/georss" xmlns:icbm="http://postneo.com/icbm" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" @@ -19,7 +19,7 @@ xsi:noNamespaceSchemaLocation="xsd/rss.xsd" xsi:schemaLocation=" http://postneo.com/icbm xsd/icbm.xsd - http://www.georss.org/georss/11 https://schemas.opengis.net/georss/1.0/schema-1.1/georss.xsd + http://www.georss.org/georss https://schemas.opengis.net/georss/1.0/schema-1.1/georss.xsd " > @@ -1415,7 +1415,7 @@

GeoRSS defines two so-called "serializations", called Simple and GML. In this post, we will only consider GeoRSS Simple; GML requires us to delve deeper into the mess that is geospatial information, so we'll see that at some other point in time. The goal is to have most feed producers, those that are not geospatial experts, use GeoRSS Simple, which is simple enough to be understandable by them, and have geospatial experts use GML, which they probably prefer. You can convert from GeoRSS Simple to GeoRSS GML, but not necessarily the other way around.

Here's an example of yet another way to represent a point in an RSS feed, but using GeoRSS Simple this time:

-<rss version="2.0" xmlns:georss="http://www.georss.org/georss/11">
+<rss version="2.0" xmlns:georss="http://www.georss.org/georss">
   <channel>
     <!-- ... -->
     <georss:point>18.5166670 33.6666670</georss:point>