Author Topic: [0.5.2] Holiday Feed for Roundcube Calendar  (Read 6911 times)

Offline jeffshead

  • Full Member
  • ***
  • Posts: 71
[0.5.2] Holiday Feed for Roundcube Calendar
« on: May 04, 2011, 01:45:43 PM »
I am currently using the following feed in my Roundcube calendar:
https://www.google.com/calendar/feeds/en.usa%23holiday%40group.v.calendar.google.com/public/basic

It is the same and only feed I am using in my Google calendar but there are many other holidays listed in my Google calendar such as major non-federal religious or cultural holidays like Easter and Groundhog Day respectively.

I want the same holidays to show in my Roundcube calendar. Just as a test, I disabled that feed in my Google calendar and no holidays show up so that leads me to believe Google is somehow enhancing that feed???

Does anyone know how I can show the same holidays in RC as in my Google calendar?

The RC Calendar plugin does not handle the feeds the same way Google calendar does. I've tried several other feeds in both Google Calendar and RC but they seem to slow down Roundcube and some holidays do not show in Roundcube (some show on wrong date, i.e., Mother's Day, Independence Day) but they ALL show correctly in my Google Calendar.

Here are some of the feeds I've tried:

Code: [Select]

http://www.mozilla.org/projects/calendar/caldata/USHolidays.ics

http://ical.mac.com/ical/US32Holidays.ics

https://www.google.com/calendar/feeds/9p1ilqt3hbg8941c920rmkkfjg%40group.calendar.google.com/public/basic

https://www.google.com/calendar/feeds/isfeu8stthhem5mrmd04tjoero%40group.calendar.google.com/public/basic

http://icalx.com/public/icalshare/US%20Holidays.ics


Why do they work correctlty in Google Calendar but not in RC?




UPDATE:
This one (http://www.webcal.fi/cal.php?id=52&wrn=1&rid=ics&wrn=0&wp=12&wf=55) seems to work although I have not completely verified all of the dates.

It works only when I have each user add it under Settings->Calendar Feeds.

It does not work if I add it to the config file using the code below:

// public calendar (can't be deleted by user)
$rcmail_config['public_calendarfeeds'] = array(
 
'http://www.webcal.fi/cal.php?id=52&wrn=1&rid=ics&wrn=0&wp=12&wf=55',
);


What is the proper code to add it to the config file?
« Last Edit: May 04, 2011, 05:17:13 PM by jeffshead »