Forum OpenACS Development: Calendar: Bulk Upload

Collapse
Posted by Matthew Burke on
After ripping out hair and cursing at how slowly entering a bunch of calendar items was, I took a little time and wrote code to do bulk items. It only handles one-shot events, I will eventually look into setting it to handle repeated events.

I also will bundle it up and submit it soon. But in the meantime, email me if you are interested sooner.

Collapse
2: Re: Calendar: Bulk Upload (response to 1)
Posted by Matthew Burke on
> I took a little time and wrote code to do bulk items

I left out the end of this sentence....should read

upload items in bulk via a CSV file.

Collapse
3: Re: Calendar: Bulk Upload (response to 1)
Posted by Malte Sussdorff on
Looking forward to see your submit, as together with the WSDL efforts that are being undertaken it should be possible to synchronize our calendar both ways with third party applications.
Collapse
4: Re: Calendar: Bulk Upload (response to 1)
Posted by Gustaf Neumann on
Hi folks,

This summer, i have implemented some addons for the calender that support among other things upload and download of calendars in the ical format, as well as providing shared calendars via webdav (when webdav writes an ical file, it is parsed on the fly, when ical reads in ical file, it is generated on the fly).

i have tested the code with mac os x ICAL and Mozilla calendar (sunbird, thunderbird cal, firefox cal). Synchronization works only with the mozilla family. ICAL unfortunately rewrites calendar item-ids after upload, one can publish ICAL calendars based on the code. Bulk download seems to work as well with the microsoft calendar. We are using this code now on our production site.

Since the code is implemented using xotcl, i am somewhat reluctant to check it into cvs just now. Currently i am doing some more polishing on the xotcl-core stuff (improved reloading) and will upload xotcl into CVS head as soon xotcl 1.3.7 is out.

For now, the calendar with ical support is here,
http://media.wu-wien.ac.at/download/acs-api-documentation-procs.patch

it works with xotcl 1.3.6 as described in
https://openacs.org/forums/message-view?message_id=316806

Collapse
5: Re: Calendar: Bulk Upload (response to 1)
Posted by Gustaf Neumann on
oops, cu&past failure. read in the above posing
http://media.wu-wien.ac.at/download/acs-api-documentation-procs.patch

as

http://media.wu-wien.ac.at/download/calendar+ical.tar.gz

Can maybe some good sould update my posting to avoid confusion?

Collapse
6: Re: Calendar: Bulk Upload (response to 1)
Posted by Matthew Burke on
Ok, I've submitted my code as a patch. For now, if you're interested you can get it from the bugtracker.
Collapse
7: Re: Calendar: Bulk Upload (response to 6)
Posted by Matthew Dodwell on
OK, annoying newbie question, how do I use bugtracker to get this fix? (!)

Thanks
Matthew

Collapse
8: Re: Calendar: Bulk Upload (response to 1)
Posted by Matthew Burke on
Go to https://openacs.org/bugtracker/openacs. Select 'patches' from the list of choices above the bug list. On the sidebar menu, select 'calendar', then select 'clear' for both 'status' and 'apply to version'.

Or, you could just go to https://openacs.org/bugtracker/openacs/patch?patch%5fnumber=739

Matt

Collapse
9: Re: Calendar: Bulk Upload (response to 1)
Posted by Matthew Dodwell on
Thanks - got it