Not Part II of Places, Part I

Well worth reading, the Places project from Kellan’s point of view.

In which he phrases many things far more neatly than I ever could, and also mentions place_ids, that I’ll hopefully get into tomorrow and something we’ve been working up-to for a while.

Plus: [heart] the Feeds …

Feeds for a

Now each place has a feed for the most Recent Photos. And nope this still isn’t everything that Stefan wants :) The reason being that as huge as Flickr is, we still want to provide RSS feeds that we can cache, which means that 200 people subscribing to San Francisco is far better performance wise than everyone picking a slightly different bounding box or center point and radius. As an aside it also means that the recent photos cached on the Places page may be slightly different to the photos cached by the RSS feed, in case you end up wondering why the two appear to be slightly different.

On the wish list is a feed for “Iconic” too, but there’s a few complications with that to get sorted out first.

The KML link (yes network, change the format=kml_nl to just format=kml if you don’t want the network part) is there too. It just so happens that the most recent photos when I wrote this post were all take in San Francisco Zoo, which is reminding me that I need to go as apparently they have reindeer and stuff at the moment …

Places KML link in Google Earth - Someone has just been to the Zoo!

… which of course is for not only Google Earth as I assume anything that takes KML will handle it, for example here’s good old Google Maps doing it’s thing …

Copying the Places Page KML link into Google Maps

In Google Earth, the KML pops open a bubble with a nice big healthy photo and a bunch of information about tags and so on. On Google Maps none of the images seem to appear in the pop-up, even though I know that they can from a KML feed. Obviously something isn’t working right, which is a shame as I spent a fair while trying to get the Google Earth ones right. I’ll have a leaf over the docs during the Holidays and see if I can work something out.

Anyway, finally, feeds for locations have somewhere on the site to live!

3 Responses to “Not Part II of Places, Part I”

  1. Congratulations on launching the feeds! I’ve just spent a very happy hour browsing around many old haunts, marveling at how they’ve changed. Catt++

  2. I did some debugging on your KML feed in Maps. It looks like you just need to add CDATA tags around your description. I did a quick test and that got the photos working - e.g. http://pamela.fox.googlepages.com/sanfran.kml (just fixed one of the Levi Climbs pics).

    Cool stuff. :)

  3. It seems the break in GMaps was that the html tags weren’t encoded and simply being caught as XML tags, luckily is to the rescue!

    I took one photo, and added the cdata tag, and changed the   back to   (thats removing the double entities in nbsp if they are swallowed by the blog software)
    http://www.nearby.org.uk/google/temp/SanFrancisco2.kml
    which displays fine in GMaps.

    Hopefully that helps, and should be a nice quick fix.

Leave a Reply