[Rt-devel] [rt-users] Further iCal/RSS experimenting/problems & some success

Jerrad Pierce jpierce at cambridgeenergyalliance.org
Wed Apr 8 21:23:22 EDT 2009


After patching Data::iCal (it was not folding per the RFC),
I've been able to intermittently-add RT iCal feeds to google
calendar, but never see any events. As per the previously
referenced thread, this is symptomatic of other issues with
the feed...

--- /usr/lib/perl5/site_perl/5.8.5/Data/ICal/Property.pm~
2007-01-12 13:21:32.000000000 -0500
+++ /usr/lib/perl5/site_perl/5.8.5/Data/ICal/Property.pm
2009-04-08 20:56:49.000000000 -0400
@@ -316,7 +316,7 @@
 #        }
     } else {
         while ( $string =~ /(.{76})/ ) {
-            $string =~ s/(.{75})(.)/$1\n $2/;
+            $string =~ s/(.{64,74}\b)|(.{74})/$1\r\n\t/;
         }
     }
-- 
Cambridge Energy Alliance: Save money. Save the planet.


More information about the Rt-devel mailing list