I'm importing a Google Calendar iCal (attached), and getting a lot of errors on import. I'm using the parser for Feeds, with the latest version of Feeds. I have a content type called Calendar Feed, that on import builds nodes of type Event. On the mappings, I have a mapping for Title, Description, and the iCal Date => Published Date.

On the import, I'm getting the following errors in the attached text file.

Any thoughts? I've gone into the code, and plugged in some watchdogs that print_r the class, but, I don't see anything too big. I'm not too familiar with how Feeds works with it, as I'm new to this module. But, I will see what I can come up with.

Any thoughts?

CommentFileSizeAuthor
testCalendar.ics_.txt1.91 KBmikesir87
errorDump.txt15.97 KBmikesir87
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikesir87’s picture

Sorry to bump...but any thoughts on this?

ekes’s picture

I don't think you should put the 'iCal date' into the Published Date. It makes no sense. iCal date is a complex being that includes start, stop, repeat information. So there won't be a mapper for that type of date into the published date field. Published date is a single date and not a date field. Is there some part of the the ical date you want to put into the published date? (Note I'm not sure if it will work, but if it doesn't it would make more sense to make it be able to do that than put all of a complicated date into it).

mikesir87’s picture

So, what is the iCal date intended to be imported into? A CCK date field?

ekes’s picture

Yes. CCK Date fields can have start, end times and repeats. The mapper handles date objects fine for the Date field.

mikesir87’s picture

Ok. I will attempt that, and let you know how it goes.

valerycolong’s picture

I imported the iCal Date field into a cck Date field of type Datetime but I still get import errors as reported in log above. Not sure why this is but the error displayed isn't helpful as much.