Solved

How to get this ics-feed to work

Posted on 2015-02-12
4
86 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 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Well I solved it myself.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now