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?
Comment | File | Size | Author |
---|---|---|---|
testCalendar.ics_.txt | 1.91 KB | mikesir87 | |
errorDump.txt | 15.97 KB | mikesir87 |
Comments
Comment #1
mikesir87 CreditAttribution: mikesir87 commentedSorry to bump...but any thoughts on this?
Comment #2
ekes CreditAttribution: ekes commentedI 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).
Comment #3
mikesir87 CreditAttribution: mikesir87 commentedSo, what is the iCal date intended to be imported into? A CCK date field?
Comment #4
ekes CreditAttribution: ekes commentedYes. CCK Date fields can have start, end times and repeats. The mapper handles date objects fine for the Date field.
Comment #5
mikesir87 CreditAttribution: mikesir87 commentedOk. I will attempt that, and let you know how it goes.
Comment #6
valerycolong CreditAttribution: valerycolong commentedI 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.