[cosmo-dev] server can now import icalendar collection

Jeffrey Harris jeffrey at osafoundation.org
Tue Jun 17 13:47:40 PDT 2008


Hi Randy,

> I just checked in preliminary support for importing an icalendar 
> collection into cosmo using atom. The server could always do this, but 
> it wasn't exposed at the protocol layer.  I have updated 
> http://chandlerproject.org/Projects/CosmoFeedCollections with details.
> Using curl, creating a new collection and importing items from an 
> icalendar file (icalendarfile.ics) is as simple as:
> 
> curl -u [user]:[pass] -T [icalendarfile.ics] -H "Content-Type: 
> text/calendar" -X POST 
> http://localhost:8080/chandler/atom/user/[username]/import/[displayName]
> 
> This creates a new collection named [displayName] and imports all 
> icalendar items found in icalendarfile.ics.

This is terrific, nice work!

How hard would it be/is it compatible with Atom semantics to allow an 
ics file to be posted into an existing collection?  Seems like that's 
often what people want if they've got a link to an itinerary or 
something like that.

Sincerely,
Jeffrey


More information about the cosmo-dev mailing list