Created
January 17, 2012 06:38
-
-
Save beders/1625201 to your computer and use it in GitHub Desktop.
Getting the Google Developer calendar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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