PHP Classes

X-GOOGLE URLS

Recommend this page to a friend!

      ical parser  >  All threads  >  X-GOOGLE URLS  >  (Un) Subscribe thread alerts  
Subject:X-GOOGLE URLS
Summary:Truncates custom parameters from Google Calendar
Messages:1
Author:Alan Davies
Date:2011-05-10 19:54:22
 

  1. X-GOOGLE URLS   Reply   Report abuse  
Picture of Alan Davies Alan Davies - 2011-05-10 19:54:22
X-GOOGLE-CALENDAR-CONTENT-TITLE:Independence Day
X-GOOGLE-CALENDAR-CONTENT-ICON:http://www.google.com/calendar/images/google-holiday.gif
X-GOOGLE-CALENDAR-CONTENT-URL:http://maps.google.co.uk/maps/ms?ie=UTF8&hl=en&msa=0&msid=205668316451663204557.0004a210d0547d90a5a6d&z=13
X-GOOGLE-CALENDAR-CONTENT-TYPE:text/html

The resulting array will produce 'http' for all values with urls, as the parser uses ":" as the explode delimiter.

Also, if the DESCRIPTION parameter appears anywhere other than at the bottom of the VEVENT, stops adding key/values to the array. The rest of the VEVENT is taken to be part of the DESCRIPTION value.