Translate posts to Experimental | Feedback
Google
Official Google Earth Download Site
Topic Options
Rate This Topic
Previous Topic
View All Topics Index
Next Topic
#497567 - 07/10/06 02:50 PM How to make a GeoRSS from RSS (Español también) ****
Gerardo64 Offline
World Explorer

Registered: 09/07/05
Posts: 1391
Loc: Argentina
1-Choose a RSS Service. Select the ones wrote in XML only. To check this click the RSS or XML orange logo and see if the linked page is written in XML, like this, for example:

http://xml.weather.yahoo.com/forecastrss?p=PAXX0007&u=f

Tip: Try to select a service that includes in the text some kind of information about a geographical place, (name of a city, etc).

2- In GE create a Folder. Inside it, create a Network Link Folder.



In the Link line paste this first part of an URL (all this text as it is here, with the “=” at the end):
http://ws.geonames.org/rssToGeoRSS?type=kml&feedUrl=



Click OK...calm down, don´t be anxious..

3- Go to the page where you have the RSS or XML logo of the service you choosed. Right click over the RSS / XML logo and copy his URL.

4-Now, we need an “external service” that is the translator from RSS to get the second part of our NL URL (remember we already have the first part of the URL), so, go to this page:

http://www.geonames.org/rss-to-georss-converter.html

Go down at that page till you find: URL Encoding



In the “Your Feed:” space, paste the RSS/XML URL you copy with right click over the RSS/XML logo.
Then press the “Encode URL” button. You´ll get a new URL in “The encoded feed :” space. Copy all that URL and go back to GE.




5- Right click over the NL you created (that doesn´t work, remember?), choose Properties . Paste the URL you just copy at the end of the one already there. Inmediately after the “=” sign, with no space there.
Press OK. Check the NL to activate it.





What happened?....

6- If you want to make several NL. copy the one you´ve just done, paste it in the Folder and edit it. Keep the first part of the URL, just replace the second part (after the =) with a new URL that you get in Geonames (doing the "translate")

Enjoy it!

Top
#497568 - 07/10/06 04:07 PM Cómo hacer GeoRSS a partir de RSS. [Re: Gerardo64]
Gerardo64 Offline
World Explorer

Registered: 09/07/05
Posts: 1391
Loc: Argentina
1- Elige un Servicio de RSS de tu gusto. Selecciona uno que esté escrito en XML. Para checkear esto haz click en el logo naranja de RSS / XML y verifica que la página que aparece sea como ésta:
http://xml.weather.yahoo.com/forecastrss?p=PAXX0007&u=f

Truco: Trata de elegir un servicio de RSS cuyo texto incluya alguna referencia geográfica, como el nombre de una ciudad, por ejemplo.

2- En GE crea una Carpeta. Dentro de ésta crea un Vínculo de Red.



En el espacio Vínculo pega la siguiente URL, tal cual como está aquí, completa. Esto va a ser la primera parte de toda la URL que necesitamos.
http://ws.geonames.org/rssToGeoRSS?type=kml&feedUrl=



Haz click en Aceptar. Tranquilo...no seas ansioso..

3- Vé a la página donde está el RSS que elgiste. Haz click derecho sobre el logo naranja y copia la Ruta del Enlace

4- Ahora vamos a usar un "servicio externo" que es el traductor de RSS. Con él vamos a obtener la segunda parte de la URL que necesitamos.
Para obtener esta segunda parte, vé a la siguiente página:

http://www.geonames.org/rss-to-georss-converter.html

Recorre esa página hacia abajo hasta encontrar el título: URL Encoding



En el espacio que dice " Your Feed" pega la URL que copiaste cuando hiciste click con el botón derecho sobre el logo RSS / XML

Ahora presiona el botón "Encode URL". Obtendrás una nueva URL en el espacio que dice "The Encoded Feed". Copia toda esa URL y vé nuevamente a GE



5- Haz click con el botón derecho sobre el Vínculo de Red y elige "Propiedades" (o "Editar" si tienes GE3). Pega la URL que acabas de copiar a continuación de la que habías pegado antes, exactamente seguido al signo = , sin espacio vacío luego de él.



Aprieta "Aceptar". Checkea el casillero del Vínculo de Red para activarlo.



¿Qué pasó?...

6- Si quieres hacer varios Vínculos de Red, copia ese mismo que acabas de hacer, pégalo en la misma carpeta y edítalo dejando la misma primera parte de la URL y cambiando sólo lo que sigue al signo = con la URL obtenida en la página de Geonames.

Que lo disfrutes!

Top
#497569 - 07/14/06 01:39 PM Re: How to make a GeoRSS from RSS (Español también [Re: Gerardo64]
Reggie98 Offline
Traveler

Registered: 08/21/05
Posts: 61
Loc: Cambridge, England
Interesting idea.

I tried it out on my photography blog http://www.reggie.net/photography_blog/

http://ws.geonames.org/rssToGeoRSS?type=..._blog%2Ffeed%2F

It managed to get two placemarks close to Lavenham, two more rather displaced, and one as far away as Texas, USA! (NB: this info will change when I next update the blog!)

All the RSS items mention England - so it might be worth tweaking the program to ensure searches and search terms are prioritised correctly.

Here is a link to an RSS-style KML generator for a WordPress blog with Geo tags for my photography blog:

http://www.reggie.net/photography_blog/wp-kml.php
_________________________
Cheers, Reggie "In Search of Beauty" Reggie's photos Photos in kmz

Top
#497570 - 07/31/06 02:00 PM Re: How to make a GeoRSS from RSS (Español también [Re: Reggie98]
geonames Offline
New Poster

Registered: 07/31/06
Posts: 1
Hi Reggie

Thanks for having reported the problems.
We will look at your blog and try to improve the results of our geocoder. Some of the problems we are encountering with your blog is the lack of public geodata for England. For example our data base does not know that Lavenham is in Suffolk. This is a serious problem. The Guardian is running a campaign to free geodata in the UK :
http://technology.guardian.co.uk/weekly/story/0,,1726229,00.html


The displacement in Texas US, has to do with the fact that there is a large city called 'Corpus Cristi' and you mention this term in one of your blog entries.

http://www.geonames.org/search.html?q=corpus+christi

Regards

Marc

Top
#497571 - 08/21/06 11:51 PM Re: How to make a GeoRSS from RSS (Español también) [Re: Gerardo64]
Delta102 Moderator Offline
Master Guide

Registered: 07/07/05
Posts: 5519
Loc: Quantico, VA
Did you see This

Top
#1215825 - 05/05/09 09:11 AM Re: How to make a GeoRSS from RSS (Español también) [Re: Gerardo64]
djorge Offline
Traveler

Registered: 11/25/05
Posts: 46
Loc: Portugal
Hello Gerardo,

Well i´ve been playing a bit with this piece of code you provided and have come to the limit of my xml vocabulary ofrown

I followed your tutorial and came to the follwing NL:

http://ws.geonames.org/rssToGeoRSS?type=kml&feedUrl=http%3A%2F%2Fwww.hidrografico.pt%2Frss-feed%2Fporto_rss.php%3Fcodp%3D74%26detail%3D

The result is the RSS feed of Tide hight predictions from www.hidrografico.pt.

The problem I am having is the following:

I don´t need geoRSS to placemark the RSS feeds because I know their locations already so firstly how do I dissable automátic positioning of the feeds in GE?

I looked in at http://www.geonames.org/rss-to-georss-converter.html under the parameters table and found that the "geoRSS" param has the following applicable strings simple,gml,w3cGeo, but how do I apply this to my NL?

Do I insert the param and string directly onto the NL href location? or do I have to edit the NL in KML mode by hand and insert Lat and Long in code?

Help would be greatly apreciated!

Regards,
Djorge


Edited by djorge (05/05/09 09:12 AM)
_________________________
My contributions to the Community:
Google Earth PT Blog

Top