Solved

How to get this ics-feed to work

Posted on 2015-02-12
4
90 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 79

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Email Headers 5 61
Help with query 3 25
Two wordpress questions 3 45
Office / Outook 2013 how to change interval to check email. 2 13
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

810 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