Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get XML from google calendar.
#1
Here is the url for the XML that Google Calendar provides:
http://www.google.com/calendar/feeds/ji ... ce64/basic

How does one go about getting the XML from this and extracting the different events present.

Thank you very much!
#2
Macro
Code:
Copy      Help
out
str s
IntGetFile "http://www.google.com/calendar/feeds/jimmyvig%40gmail.com/private-661ba1b5c50277e97b2193b8418fce64/basic" s
;out s
IXml xml=CreateXml
xml.FromString(s)

;xml.ToString(s); out s ;;debug (this shows better formatted xml)

ARRAY(IXmlNode) a; int i
xml.Path("feed/entry" a)
for i 0 a.len
,IXmlNode& n=a[i]
,out n.ChildValue("title")
,
#3
On the ball today...that was fast. Thanks!


Forum Jump:


Users browsing this thread: 2 Guest(s)