Solved

How to get this ics-feed to work

Posted on 2015-02-12
4
91 Views
Last Modified: 2015-06-07
We run a bed&breakfast with an online reservation system. To propagate the changes in our calendar(s) I have made an ics-feed for every room. These feeds go to several sites like Airbnb so that visitors there can see whether rooms are available. The whole system is Drupal based.

But I cannot get it to work

At severinghaus.org is a validator of ICS-feeds. This site sees no problem. Feed is validated.

In Google Calendar my feed imports successfully, that is anyway what Google says. But no reservation is to be seen.

In Outlook 2010 it depends.
If I click on the link http://www.slapeninyerseke.nl/KalFeedYel.ics it wants to open with Outlook and when one does that the calendar is imported and the bookings are there.
If however I click in the folder tree from Outlook on Other Calendars/Add Calendar/From Internet and I type in the address. It starts to work, but stops because it thinks the file has no appointments in it. I can then choose to nevertheless import it and indeed get an empty calendar.

In Airbnb I managed to import the calendar, but like in the 'successful' Outlook import updates never happen. One calendar has been open for a year now and nothing has changed.

Below you see a piece of the feed:

BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
X-WR-CALNAME;VALUE=TEXT:Bed and Breakfast De Oester: KalSyncYell
PRODID:-//Drupal iCal API//EN
BEGIN:VEVENT
DTSTART:20130622T000000
DTEND:20130623T000000
LOCATION:Yellow Submarine
UID:6
END:VEVENT
BEGIN:VEVENT
DTSTART:20130706T000000
DTEND:20130707T000000
LOCATION:Yellow Submarine
UID:39
END:VEVENT
BEGIN:VEVENT
DTSTART:20130709T000000
DTEND:20130710T000000
LOCATION:Yellow Submarine
UID:42
END:VEVENT
BEGIN:VEVENT
DTSTART:20130713T000000
DTEND:20130714T000000
LOCATION:Yellow Submarine
UID:43
END:VEVENT

This is clearly a mess. The problem to get the bookings imported at all is intriguing, but it looks like that when I can get the update problem solved then I can at least serve some of the AirBNB-like sites.
0
Comment
Question by:TheoRichel
  • 3
4 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40606173
Every BEGIN requires an END
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
X-WR-CALNAME;VALUE=TEXT:Bed and Breakfast De Oester: KalSyncYell
PRODID:-//Drupal iCal API//EN
BEGIN:VEVENT
DTSTART:20130622T000000
DTEND:20130623T000000
LOCATION:Yellow Submarine
UID:6
END:VEVENT
END:VCALENDAR

Open in new window


the link you gave returns:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
X-WR-CALNAME;VALUE=TEXT:Bed and Breakfast De Oester: KalSyncYell
PRODID:-//Drupal iCal API//EN
END:VCALENDAR
0
 

Author Comment

by:TheoRichel
ID: 40606332
Thank you. What I copied was indeed not complete. In reality the feed neatly ends with END:VCALENDAR, otherwise it wouldnt have been validated. Would it? Or am I misunderstanding something?
0
 

Accepted Solution

by:
TheoRichel earned 0 total points
ID: 40807863
Problem is solved. How specifically I do not know: I replaced a few typos (replaced a semicolon with a colon) changed the permissions and discovered that I had a problem with endofline codes (which I repaired with a patch in that Drupal module).
0
 

Author Closing Comment

by:TheoRichel
ID: 40816718
Well I solved it myself.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question