I wanted to have a simple way of working out my current location from
Plazes. Right now it looks like I need to know my user ID number, and
then go get http://plazes.com/users/<id>/activity.xml, and then get
the name of the <plaze> element. Something that just returned my
current Plaze would be neater (for things like the ecto Applescript
that I based off of Peter Rukavina's Adium Applescript of days gone
by, which used the old WhereAmI API - I know it is still there for
now, but I'm thinking ahead...).
Anyway, I created a really simple Yahoo Pipe which can be configured
with a user ID and then grabs just the basic information from the output.
The base Pipe is here:
http://pipes.yahoo.com/pipes/pipe.info?_id=ZCgigzK93BGPeu60ouNLYQ
It is not very useful in raw form as Pipes returns RSS by default.
You can add a user parameter (it defaults to mine, 6032)
http://pipes.yahoo.com/pipes/pipe.run?_id=ZCgigzK93BGPeu60ouNLYQ&user=6032&_rend\
er=json
Running this query results in a JSON collection containing something like:
"items":
[
{
"city":"Farnborough",
"last_updated":"2008-01-07T14:28:00Z",
"user":"Andy Piper",
"plaze":"Andy's Office",
"description":"",
"title":""
}
]
(the plaze name here being fictional - run the pipe to find out where
I am!)
Annoyingly, Pipes only allows me to publish JSON or RSS (I'd prefer
just simple text, but hey-ho).
Might be useful to someone...
--
Andy Piper | Farnborough, Hampshire (UK)
http://andypiper.co.uk
http://www.flickr.com/photos/andypiper