PDA

View Full Version : Jabber / Google Maps Mashup


Sublime Porte
06-26-2008, 07:15 AM
Ok I've created a bit of a Jabber / Google Maps Mashup that basically grabs your info from your vCard and then plots you in your location on the world map. The fields it uses/displays are:

Nickname - "Full Name" entry from vCard, some clients call this nickname though.
Resource: From your presence info.
Avatar: From your vCard.
Location: From the Locality/Region/Country fields of your vCard, also used to plot you on the map, by looking up your locality's coordinates.
Status: From your presence info.
Status Message: From your presence info.

You can view the map here (http://www.jabbering.org/main/?q=node/4).

Unlike other existing "Jabber maps" this one is fully automated, so long as you've got your info setup correctly, and doesn't require you to msg your location to the bot or sign into any websites and update your location.

Let's see if we can map out a picture of the worldwide Jabber community. To plot yourself on the map, just add geolocator@jabbering.org to your roster, and of course make sure you have some basic location info in your vCard.

Screenshot:
http://sublime.jabbering.org/images/woj.jpg

florian
06-27-2008, 09:53 AM
Looks cool. I added myself to the bot, but don't appear on the map :(

florian
06-27-2008, 10:02 AM
Looks cool. I added myself to the bot, but don't appear on the map :(
Now it works. One idea which would be cool, instead of the Google Talk icons, use a jabber bulb indicating the status ;)

Sublime Porte
06-27-2008, 02:47 PM
Good idea, I'll look into doing that.

Looks like a few people had some unexpected stuff in their profiles (like unicode strings) so I had to fix a few bugs, that's why it was done for a little while.

Sublime Porte
06-27-2008, 02:53 PM
You mean the away/xa/unavailable stuff? I thought they were jabber icons. I got them from Psi, they are the default jabber roster set.

florian
06-27-2008, 03:29 PM
yes, but I mean to have them instead of the blue icon.