GeoNames Home | Postal Codes | Download / Webservice | About |
The GeoNames "RSS to GeoRSS Converter" reads the entries of an RSS feed and searches the GeoNames Database to find a location for the entry text. If a relevant location is found, its latitude and longitude are added to the RSS feed using the GeoRSS encoding.
With the converter you can for example view the Reuters World News on a Map.
The converter is a 'natural language processor' and needs to take into account in which language a text is written. Supported languages are English, German, Spanish, French and Italian.
See also the GeoNames Blog for details about the rss to GeoRSS converter.
GeoRSS does not yet support other geographical information other than latitude and longitude. The geonames.org team is proposing to add more geographical element to the GeoRSS standard like country code or place name. As soon as GeoRSS includes this information it will be added to the converter. The draft for the new elements is here.
Url | » | api.geonames.org/rssToGeoRSS? |
Result | » | returns a RSS feed with latitude and longitude for each entry where the geonames search engine has found a relevant location. Already existant GeoRSS elements in the feed remain unchanged. There is an upper limit of 20 entries for performance reasons. |
Parameter | Value | Description |
---|---|---|
feedUrl | string (required) | The url of the RSS feed to search locations for and to convert to GeoRSS. The feed has to be syntactically correct, i.e. wellformed xml and valid rss/atom.
Note : the feed url needs to be 'url encoded'. |
feedLanguage | string (optional) en,de,fr,it,es | The language of the feed, this information is needed by the geonames search engine to find relevant locations. Default : No value = automatic language detection. |
type | string (optional) rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0, atom_0.3, atom_1.0 kml | The output RSS dialect of the conversion. Default : same RSS dialect as input feed. With type=kml the output will be in GoogleEarth kml format. |
geoRSS | string simple,gml,w3cGeo (optional) | The GeoRSS output encoding used for lat/lng. See www.georss.org for details. Default is w3cGeo. |
addUngeocodedItems | true | Items that could not be geocoded are removed from the response document. Setting the parameter addUngeocodedItems=true will include the ungeocoded items in the response. |
country | string (optional) two-letter iso country code | Restrict geocoding to a given country. This parameter may improve the results of the geocoder for feeds focusing on a single country. |
With the form below you can convert a RSS feed into GeoRSS and view the result on the ACME GeoRSS Map Viewer.
or enter the url of the rss feed you want to convert :
Note : As the Acme GeoRSS Viewer only accepts RSS2.0 feeds, we have added the parameter "type=rss_2.0" to convert feeds
in other rss dialects to RSS2.0
With the form below you can convert a RSS feed into KML and view it with GoogleEarth.
or enter the url of the rss feed you want to convert :
Note : KML files can also be viewed on google maps. Here the recent earthquakes RSS feed from the USGS converted with geonames and displayed on google maps.