On 04/02/12 00:33, Donny Brooks wrote:
On 2/2/2012 4:14 PM, [email protected] wrote:
Hi Donny,
The solution I found for this problem is to make the calendar public,
grab a
copy of it in ics format with a cron job and then display the ics file
using
PHPiCalendar from http://phpicalendar.net/
I was able to embed this in our PHP templates using one of the recipes
on the
PHPiCalendar forum. You can see the results at
http://www.mso.anu.edu.au/research/meetings/phpicalendar/calendar.php
- I think
it does a nice job.
Others may have better solutions - I'd be interested to know what
these are.
As far as I can tell, there is no way to anonymously read-only access
the SOGo
web calendar interface. This would be a nice thing to have and is
about the
only thing I miss from our old Sun Calendar.
Regards,
Bill Roberts
How would one go about creating the cron job to output the ical file?
Donny B.
Something like this:
10 9 * * * /usr/bin/wget -O <output.ics> https://<calendar server
name>/SOGo/dav/public/<resource calendars user
name>/Calendar/3397-4E4C9700-1-7B8E0100.ics
<output.ics> is where you want the ics file to go
The name of the calendar (3397-4E4C9700-1-7B8E0100.ics) comes from
right-clicking on the calendar name in the SOGo web interface and
selecting Properties->Links to this calendar->Public Access->WebDAV ICS URL
Cheers,
Bill
--
[email protected]
https://inverse.ca/sogo/lists