Has someone tried to import an iCal feed via the Feeds module?

Events happening in the community are now at Drupal community events on www.drupal.org.
pkcho's picture

I am having a problem with importing a Google calendar feed using the Feeds module and iCal parser.

I'm not sure if it's an issue with the Feeds module, iCal Parser or OP 1.7.1, so I'm going to ask in each place : )

First of all, I added the Calendar module and created a new Date content type to populate the calendar. I have set up the Feeds importer so I can accept iCal feeds through the iCal parser. When I import the iCal feed, I receive this error:

    * warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /Users/joechoo/Sites/scvbj171/sites/all/modules/feeds/libraries/PuSHSubscriber.inc on line 79.
    * warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: BEGIN:VCALENDAR in /Users/joechoo/Sites/scvbj171/sites/all/modules/feeds/libraries/PuSHSubscriber.inc on line 79.
    * warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /Users/joechoo/Sites/scvbj171/sites/all/modules/feeds/libraries/PuSHSubscriber.inc on line 79.
    * String could not be parsed as XML

Does anyone know the problem here? Also, is this related to OP or the Feeds module?

Thank you very much.

Comments

I'm trying to do the same

Adam S's picture

I'm trying to do the same thing, get Google calendar imported via Feeds.module (which I might regret). Have you tried to export the Google calendar feed in XML rather than iCal?

Marine job board with Drupal 7 at http://windwardjobs.com

I tried xml

pkcho's picture

Yes, I tried it, but it doesn't provide the correct source fields.

It's trying to parse it for

ekes's picture

It's trying to parse it for Pubsubhubbub (in Feeds module) - iCal isn't XML so it will fail. This was patched back at http://drupal.org/node/724184 Try using the dev version of feeds or alpha13 when it comes out.

Alright, at least it's helpful to know

pkcho's picture

@ekes

Thanks for providing the current status. It's nice to know what's going on. It's really frustrating being left in the dark and nobody responding.

Well to be fair the issue has

ekes's picture

Well to be fair the issue has appeared in the Feeds queue, and the Parser iCal issue queues, a few times I always try and reply asap and I know alex_b is very good in replying. But I understand it's sometimes hard to find the issues that are there.

BTW I only picked this one up here because of a google search alert I've got for the ical parser.

Yeah it's difficult to follow everything out there

pkcho's picture

Yeah, it's hard to always do due diligence on a subject. Sometimes you miss a thread and get frustrated at developers for no reason. And then, there are some cases where you see threads of people all struggling with the same problem with no response...

I appreciate your feedback.

A few years later

rgchi's picture

I stumbled upon this post. I'm curious if anyone has an update to importing ical into Feeds?

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week