Hello,

everytime I want to get an calendar.ics file then I have to go on the link from the calendar view "ICal"
and it looks like that "www.example.com/calendar/ical/2010".

More options are like that:
- www.example.com/calendar/ical => current month
- www.example.com/calendar/ical/2010-02 => february 2010
- www.example.com/calendar/ical/2010-04-12 => april 12th 2010

And well I think you can guess what I would like to have...
- www.example.com/calendar/ical/2010-2011 or
- www.example.com/calendar/ical/all
so I would like to have more than one year in my calendar.ics.

I need help. Thanks.

CommentFileSizeAuthor
#5 screen.png91.77 KBSlovak
#5 calendar.txt13.29 KBSlovak
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Slovak’s picture

bura36’s picture

Hi slovak,

I know that "www.example.com/calendar/ical/calendar.ics" works like "www.example.com/calendar/ical".

I want a way to put date events that are not limited to the current year or the year one put to the url,
like "www.example.com/calendar/ical/2007/calendar.ics".

I want it independet from a year, it should be possible to show all years.

Slovak’s picture

My www.example.com/calendar/ical/calendar.ics displays all events without a date limit. You may want to check your view settings.

bura36’s picture

Hi slovak,

could you be so kind and share your settings with me?
That would be a big help.

Thank you for reply slovak.

Slovak’s picture

FileSize
13.29 KB
91.77 KB

Attaching a screen shot and the actual export of the view.

You can see the live working version at http://dasn.org/calendar

bura36’s picture

Hi slovak,

thanks for your simple example. I have downloaded the calendar.ics from your site :
"http://dasn.org/calendar/ical/calendar.ics"
and in my calendar.ics are only two events inside.

calendar.ics:

BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
X-WR-CALNAME: DASN events | Dallas AfterSchool Network 
PRODID:-//Drupal iCal API//EN
BEGIN:VEVENT
UID:calendar:120:field_event_datetime:0:0
SUMMARY:AQuA Peer-to-Peer
DTSTAMP;TZID=America/Chicago;VALUE=DATE-TIME:20100228T175211
DTSTART;TZID=America/Chicago;VALUE=DATE-TIME:20100217T100000
DTEND;TZID=America/Chicago;VALUE=DATE-TIME:20100217T113000
URL;VALUE=URI:http://dasn.org/calendar/120
END:VEVENT
BEGIN:VEVENT
UID:calendar:124:field_event_datetime:0:1
SUMMARY:Board Governance Panel Discussion
DTSTAMP;TZID=America/Chicago;VALUE=DATE-TIME:20100228T175211
DTSTART;TZID=America/Chicago;VALUE=DATE-TIME:20100225T110000
DTEND;TZID=America/Chicago;VALUE=DATE-TIME:20100225T130000
URL;VALUE=URI:http://dasn.org/calendar/124
END:VEVENT
END:VCALENDAR

Do you get more events in your calendar.ics?
And is it possible to make some event in your calendar that are in 2011 and then get them to the
calendar.ics too? Because this is the point I am looking for. :)

Thanks slovak.

Slovak’s picture

I've got some other things going on right now, but I will look at this in the next few days. Stand by.

bura36’s picture

Hello,

I thought about a way to get all events from the Views but now the Ical feature is missing.
Do you know an easy way to get the Ical feature to a normal selfmade View?

jct’s picture

Following

bura36’s picture

Hallo,

I still have no solution.
Could someone help, please?

raintonr’s picture

To make an iCal file that is always relevant I think you have to remove the argument.

The feed needs at least one date argument or one date filter though.

That being the case, I created a filter on the relevant date that is populated in the feed and made it relative to 'now' -7 days, +90 days. That is, events from the last week and those up to 90 days (3 months) into the future are shown.

Seems to work. I put this on /calendar/ical on my site, no need for arguments of course.

YMMV, but think that's what is being asked here.

bura36’s picture

Hi raintonr,

this is my filter "„From“-Date > now" and when I use the calendar page 'www.x.de/calender/' it shows me the event from the current month and the same for the calender.ics when I download it. so when I use this url 'www.x.de/calender/2010' it gives me all event from 2010. I hope someone underestand what I'm really looking for T.T... now I want event even further than 2010 like 2015 or 2011 I don't care how far in the future. Please help.

Shiraz Dindar’s picture

Please see my comment http://drupal.org/node/289166#comment-2222580 which works in D5 for all-time (multi-year) calendar links and should be very easy to do the same for D6.

NickDickinsonWilde’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

6.x is entirely unmaintained.