Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to get this ics-feed to work

Posted on 2015-02-12
4
Medium Priority
?
102 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 84

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I came across an unsolved Outlook issue and here is my solution.
As a Microsoft Exchange user, you must have known the importance of an Offline storage table (OST) file. It is nothing new for an Outlook user to be dependent on a .ost file during a server break down or a problematic Internet connection. In such a…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

579 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