[Cosmo-dev] Multiply Calendars ?

Brian Moseley bcm at osafoundation.org
Wed Jul 26 09:29:35 PDT 2006


On 7/26/06, Adam Procter <adam.procter at luton.ac.uk> wrote:
> -- try and explain a bit better (however see below for solution)----
>
> Yes I logged in with Scooby once and have a folder it created (type
> Calendar)
>
> I can put the two .ics files in the home collection and I can issue
> tickets to them
> but like I said if I update the cal (re-publish) it will wipe the
> tickets like you say - which is no good - i would have to keep
> telling subscribers the new ticket number

this is a potential problem. i've never seen this happen in my ical usage.

> If I issue a ticket for the home collection iCal cannot subscribe to
> that and if I do tickets for each
> cal i have above problem

correct. ical cannot subscribe to a regular collection, only a
calendar collection. if you had tried subscribing to
<http://scooby.local:8080/cosmo/home/adamprocter/Scooby/>, it would
have worked.

> If I create my own folders then these cannot be subscribed to in ical

as expected, for the same reason.

> If I publish .ics files in the Scooby folder if I have more than
> 1 .ics file in there and make a ticket
> for the Scooby folder this works but the people subscribing see both
> events in 1 cal on there machine

that's because the Scooby calendar collection is itself regarded as a
single calendar. the .ics files you put into that calendar collection
are actually rolled up into an aggregate ics file that is created
dynamically when the client requests
<http://scooby.local:8080/cosmo/home/adamprocter/Scooby/>.

when using ical, publish your calendars into your home collection, or
into regular untyped subcollections.

> ------ this is how I ended up doing it -----
>
> Got there in the end
>
> Create 2 folders in your home collection (ignore the Scooby folder :))
> Publish Cals to the separate folders.
> Give tickets to the folders
> take the ticket DAV link and add in the middle the .ics file name
> like so (example here is Hols.ics)
>
> http://scooby.local:8080/cosmo/home/adamprocter/cal1/?ticket=aqys0c37g0
>
> http://scooby.local:8080/cosmo/home/adamprocter/cal1/Hols.ics?
> ticket=aqys0c37g0
>
> Second Cal URL would be
> http://scooby.local:8080/cosmo/home/adamprocter/cal2/Moonlighting.ics?
> ticket=rgfa9h65a8
>
> Now people can subscribe to these ok as separate in iCal and you can
> update them :)

you should not have to use the cal1 and cal2 subcollections.
publishing the calendars into your home collection should be
sufficient. i'd appreciate it if you could open a bug for us at
<http://bugzilla.osafoundation.org/> describing exactly what is
happening when you try to subscribe to calendars published into your
home collection.

also, you should not have to put tickets on the cal1 and cal2
subcollections in order to see the individual calendars. tickets on
the calendars themselves should be sufficient.

i'm glad you got *something* working in the end, but i hope that we
can make this process easier and less problematic for future users.


More information about the cosmo-dev mailing list