Skip to content

Instantly share code, notes, and snippets.

@beders
Created January 17, 2012 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beders/1625201 to your computer and use it in GitHub Desktop.
Save beders/1625201 to your computer and use it in GitHub Desktop.
Getting the Google Developer calendar
// Getting the Google Developer calendar
// getting a link from JSON to an XML description of an entry, parsing the text out with XPath
Resty r = new Resty();
String title =
r.json("http://www.google.com/calendar/feeds/developer-calendar@google.com/public/full?alt=json")
.xml(path("feed.entry[0].id.$t")).get("entry/title/text()", String.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment