MozillaZine

Any command line options to sunbird

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
harisund
 
Posts: 2
Joined: October 29th, 2006, 7:13 am
Location: Baton Rouge, LA

Post Posted October 29th, 2006, 7:16 am

Hello!

I was just wondering if there were any command line options / switches I could use while invoking Sunbird.

Primarily what I am looking for is an option that would take a calendar and export it to .ics format, so that I could use it in a script to publish that to my remote WebDAV server or my server that has phpIcal running so that I can see my latest calendar either in my desktop using Sunbird or any other calendar using my webserver.

Can I do that? Or is there any other way I can automate Sunbird to publish a .ics file out of my calendar (and there is only one calendar in my Sunbird profile, and there is only 1 profile :) ).. and then automatically push that .ics file to a server?

EndersGame
 
Posts: 357
Joined: November 27th, 2004, 6:58 am

Post Posted October 29th, 2006, 3:27 pm

There are currently only 2 command-line options available for Sunbird. -subscribe http://foo.com will add a calendar to your list and -showdate 1162160698906 will jump to the view to a particular date/time. For reference (or if you were interested in submitting a patch), see <a href="http://lxr.mozilla.org/mozilla/source/calendar/resources/content/calendar.js#145">the handleCommandLine function</a>.

Old ssiter
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted October 29th, 2006, 5:30 pm

There is an extension for Sunbird/Lightning that automatically exports all (or only selected calendars) during Sunbird shutdown to *.ics file: http://autoexport.sunbird-kalender.de/ (German page, but extension also ships with english locale). Maybe this helps you.

Return to Calendar


Who is online

Users browsing this forum: No registered users and 0 guests