[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zimbra Public Calendars + University Website



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Freddie Cash wrote:
> On April 21, 2008 06:23 am John Fulton wrote:
>> Hurstel Howard wrote:
>>> I was wondering if anyone out there has done anything or seen
>>> anyone use public Zimbra calendars that implements them into an
>>> University Website for events of various groups.
>> We haven't done that but would like to. Shouldn't be too hard.
>>
>> * Make the calendar public
>>
>> * Write a script (PHP?) to pull from the calendar ICS file:
>> $lines = file('http://zimbra.domain.tld/home/user/Calendar');
>>
>> * Parse the ICS file into a data structure:
>> http://aidanlister.com/repos/v/iCalReader.php
>>
>> * Iterate over the ICS data structure printing.
> 
> You don't need to do all that, just add a format tag to the end of the 
> URL, and it will display a nice, coloured, HTML calendar page, with links 
> to the event pages.  I forget the syntax (don't have Zimbra running), but 
> it's something simple like adding format=html to the end.

Sure, but if you wanted to make it have your template you might need to
generate your own HTML around the calendar content.

  John
- --
John Fulton, Linux Administrator, Lafayette College ITS
610-330-5650, Pardee Hall Room 11, Easton PA 18042-1775
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDy93NZmEpbCkXmERAs/vAKC+IgN++noPpBb/PycnojnrZCqpPgCgyrPb
3RHtWaQdM9VN907HSnDGFCg=
=SnuJ
-----END PGP SIGNATURE-----