[Melbourne-pm] (paid) Assistance required for Google calendar hack

Nathan Bailey Nathan.Bailey at its.monash.edu
Mon Aug 17 04:42:45 PDT 2009

If this worked, it would be the ideal simple solution, but I can't get  
it to work (even with the "right" URL, according to http://code.google.com/apis/calendar/developers_guide_caldav.html) 

I've tried to be a bit more explicit with the code below (attached)  
but even that results in a 401 Unauthorized. Despite the above page,  
there isn't much documentation for Google's CalDAV so I'm not sure if  
I'm CalDAV'ing correctly to the server...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: google_cal.pl
Type: text/x-perl-script
Size: 913 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20090817/123dd608/attachment.bin>
-------------- next part --------------

As for push vs. pull - I need push because Google can't see my  
"server" to subscribe. FWIW, this is a path to publishing a calendar  
onto the iPhone that I want to run on a colleague's Windows PC (but  
that I will also happily run myself if/when I can get it working :-)


On 14/08/2009, at 12:59 PM, Daniel Pittman wrote:

> Nathan Bailey <Nathan.Bailey at its.monash.edu> writes:
>> That would be pull, but I need push! :-)
> Why?  (Yes, this /is/ a serious question.)
>> Although you've raised a good point - if google calendar can be  
>> mounted as a
>> file system (like gmail can), perhaps I can just cp it across :-)
> I understand that CalDAV, which is built on top of WebDAV, is  
> available for
> Google calendars.  Given the degenerate implementation is 'PUT ...',  
> here is a
> reasonable (and Perl) push implementation for you:
>  ] < /path/to/example.ics lwp-request -m PUT http://example.com/target.ics
> Substituting the appropriate URL is left as an exercise to the reader.
> You may send the cheque by way of my agent.
>        Daniel
> -- 
> ? Daniel Pittman            ? daniel at rimspace.net            ?  
> +61 401 155 707
>               ? made with 100 percent post-consumer electrons
>   Looking for work?  Love Perl?  In Melbourne, Australia?  We are  
> hiring.
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm

More information about the Melbourne-pm mailing list