Login   Register  
PHP Classes
elePHPant
Icontem

Excellent Script :D one small fix, as Google Calender will w...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      ical parser  >  All threads  >  Excellent Script :D one small fix, as Google Calender will w...  >  (Un) Subscribe thread alerts  
Subject:Excellent Script :D one small fix, as Google Calender will w...
Summary:Package rating comment
Messages:2
Author:boba fett
Date:2009-02-16 19:32:41
Update:2010-07-08 06:29:42
 

boba fett rated this package as follows:

Utility: Good
Consistency: Good

  1. Excellent Script :D one small fix, as Google Calender will w...   Reply  
Picture of boba fett
boba fett
2009-02-16 19:32:41
Excellent Script :D

one small fix, as Google Calender will wrap long lines:

function iCalDecoder($file) {
$ical = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/cals/'.$file);

//my add in for lines that wrap - CAN'T USE : CHARACTER in DESCRIPTION
$ical = str_replace ("\r\n ", "", $ical );

  2. Re: Excellent Script :D one small fix, as Google Calender will   Reply  
Picture of Anil
Anil
2010-07-08 06:29:42 - In reply to message 1 from boba fett
hi this line u have given is not working for me