(This is my first post - so apologies in advance if I have not posted correctly/appropriately!)

I am using the CVS version of the event module which has the ical integration.

The link to export (event/ical) the ical .ics file seems to work for the Upcoming Events block. However, this only seem to export events for the current month only.

When looking at the main event module calendar page there is also an export link (export/ical/all/all) - I assumed this is meant to be ical export for all events. However, it seems the export only produced an .ics file with the headers:

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:June 08, 2005 - June 08, 2005
PRODID:-//strange bird labs//Drupal iCal API//EN
END:VCALENDAR

Is the iCal support still limited and teh above issues are due to the features not being fully implemented?

Regards,

Mon

CommentFileSizeAuthor
#3 event.module_8.patch1.48 KBmfb
#2 event.module_7.patch1.48 KBmfb

Comments

mfb’s picture

Assigned: Unassigned » mfb

I see two problems here, one is an incomplete link to ical (doesn't include any of the year/month/day path) and, ical returns nothing if none of that is supplied -- presumably should return all events from the default overview period (this month, week or day).

mfb’s picture

StatusFileSize
new1.48 KB

This patch seems to be all that is needed -- also affects rss links.

mfb’s picture

StatusFileSize
new1.48 KB

i think /tmp is full on drupal.org... let's try again.

killes@www.drop.org’s picture

I am not 100% sure, but shouldn't we some output checking on $duration?

mfb’s picture

Right now duration defaults to 30 days if not specified. If the duration is gibberish, it is a duration of 0 and no events are returned. Can be set to large positive or negative numbers to show a large range of events.

Zack Rosen’s picture

I have the same problem on http://events.civicspacelabs.com/home/event . Installed the patch and it doesn't seem to fix the problem. Event data is still not being exported in iCal feed.

PunkCut25’s picture

+1 on mfbs patch

Zack Rosen’s picture

NM. Patch does work.

mfb’s picture

Lack of input validation of duration is another issue (I will file a bug report). This is necessary as e.g. event/2005/06/30/table/all/all/232134312 will do bad things.

killes@www.drop.org’s picture

ok, please have a look at input validation. We had to release Drupal 4.6.1 partly because of lack thereof. Some silly numbers aren't the problem. JS exploits are.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

lukes’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)
rubenk’s picture

Title: ical export for main from calendar view (event/ical/all/all) does not produce any event data » allow ical and rss to span over a month
Version: » 5.x-2.x-dev
Component: Miscellaneous » Code
Category: bug » feature

Sorry for resurrecting this from the Dead (happy halloween)...

Even in the new version, it only seems to do a month for both the ics and the rss feeds.

Doesn't it make sense that if I post an event for January 1st, it should show up in the RSS feed and/or the ical?