On Wed, May 12, 2010 at 7:06 AM, Roberto <[email protected]> wrote:
> Adam Yearout escribió:

>> I ran into a similar issue here with our deployment of SOGo.  James Ray
>> wrote a Perl script that would go through and pull the individual events
>> from a calendar and compile it into a single ICS file.  You can find his
>> post here:
>>
>> http://mail.opengroupware.org/pipermail/sogo/2009-December/004537.html
>>
>> I wrote my own script in PHP to do something similar, but I don't
>> recommend it for public consumption, as it directly accesses the SOGo
>> databases via MySQL to pull the events (extremely fast and doesn't require
>> any authentication, but kludgey and potentially dangerous).  I can link you
>> to a tarball of it if you're interested.
>>

Hi,
We are using PHPiCalendar
(http://phpicalendar.net/documentation/index.php/Main_Page) to publish
a company calendar from SOGo.

Our users are set up with Thunderbird 2+Lightning+SOGo addons. A
couple of them are responsible for updating the company calendar and
they have access to the calendar through Lightning. I looked at a
couple of options to create the ics file for PHPiCalendar:
Option 1. Publish the calendar to a webDAV server by right-clicking on
the calendar in Lightning and select 'Publish Calendar...'.
PHPiCalendar is configured to look for calendar files on the webDAV
server.
Option 2: Use cron to run a perl script to create the ics file.

I chose option 2 since it didn't rely on the user initiating the
publishing. I modified the script written by James Ray so I could have
more control over the ics file. I'm not a Perl programmer but was able
to accomplish what we needed. No guarantees ;)

Good to hear that this feature is being worked on.
Bill C.

Attachment: getics.pl
Description: Binary data

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to