I'm trying to parse the google:location from this url:

I am using the "xml" package in R language (but the solution can be
similar in other languages) and my core (to parse the "title" and not
the "google:location") is:

twitter_url = paste('http://search.twitter.com/search.atom?
q=morning&rpp=100&geocode=48.853873,2.340088,2500km1, sep='')
mydata.xml <- xmlParseDoc(twitter_url, asText=F)
mydata.vector <- xpathSApply(mydata.xml, '//s:entry/s:title, xmlValue,
namespaces =c('s'='http://www.w3.org/2005/Atom'))
mydata.vectors <- c(mydata.vector, mydata.vectors)

when I replace "title" with "google:location" there is an error,
probably because of not using the Google Base API (http://
base.google.com/ns/1.0), because it is not available any more (but I
am not absolutely sure about that)

How can I parse the location? Any suggestions?


Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 

Reply via email to