googlemaps

Creating and modifying plugins.
Post Reply
julesd
Regular
Posts: 7
Joined: Mon Nov 19, 2007 10:37 am

googlemaps

Post by julesd »

I just found out that if you go to http://www.google.com/maps and paste in your rss2 feed link, it draws markers on a map for your entries.

Can I get it to do this for my whole blog, not just the latest entries?

Thanks, J
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: googlemaps

Post by garvinhicking »

Hi!

No, because your RSS feed only contains 15 entries per default. You would need to feed your whole blog into google maps to do that, which would be too much data.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: googlemaps

Post by konus »

I am experimenting with this for a long time and also found the trick with the rss-feed. Of course it only works, if you geotagged your entries. I think someone could also raise the count of latest rss-feed entries a little bit.

Garvin, are you sure that sending more entries will cause a problem for google. I know that sending more entries to a normal rss-Feed-reader would be a bad behavior, but how about generating a special Google-Map rss-Feed?

At the moment, I am generating a kml-file out of my blog-entries. This file consists about 170 places (see here for a live display). Google can handle this just fine, but will not show all entries in the overview.

Unfortunately, my generating of the kml-file does not work inside s9y but with the help of python and a cron job, so this is not a plug and play solution.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: googlemaps

Post by garvinhicking »

Hi!

Creating a custom RSS feed would not be that hard. You could even use a custom template to create a KML file. The frontend_rss hooks can be used by a PHP plugin to modify stuff, also raise the RSS feed item limit.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply