Download & Extend

Publish Date not Set and lots of errors on Import

Project:iCal feed parser
Version:6.x-2.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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?

AttachmentSize
errorDump.txt15.97 KB
testCalendar.ics_.txt1.91 KB

Comments

#1

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

#2

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).

#3

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

#4

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

#5

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

#6

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.