Jump to content

ojohnsen

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ojohnsen

  1. Ryan, Thank you for the heads up on the allow_url_fopen. That is the problem. I added the following code to the loadXMLData method. $ch = curl_init($url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $xmlData= curl_exec($ch); curl_close($ch); //$xmlData = @file_get_contents($url); This retrieved the xml data, sort of. The makeCalendar method does too much to the url to make it work properly. However, if you change the code to this - $xmlData = $this->loadXmlData($calendarID); in the makeCalendar method. then it renders out the calendar. I think though this will eliminate the features of the start-min, start-max, order by, etc. Perhaps you have some more insight into how we could get this to work properly using curl? Olen
  2. I have been getting this message when using gcal and the items->render() method. The feed works when entered staight into a browser. Any ideas? Unable to load GCal XML feed at http://www.google.com/calendar/feeds/www.google.com%2Fcalendar%2Ffeeds%2Fggn1dqqha77gc0ullk27uuh2s0%2540group.calendar.google.com%2Fpublic%2Ffull/public/full?start-min=2012-12-01T00%3A00%3A00-05%3A00&start-max=2012-12-31T00%3A00%3A00-05%3A00&orderby=starttime&sortorder=ascending&max-results=100&singleevents=true:
×
×
  • Create New...