New line issue when importing via iCal feed

Home Forums Calendar Products Event Aggregator New line issue when importing via iCal feed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1069194
    Adam
    Participant

    Similar issue too https://theeventscalendar.com/support/forums/topic/broken-newline-support-in-ical-imports/

    We’re importing events via an iCal feed. For every new line we’re simply getting an ‘n’ before the next line.

    We really could do with a fix, and bar editing the plugin itself hoping you’d have a fix on this since the last enquiry 🙂

    #1069556
    George
    Participant

    Hey Adam,

    Thanks for reaching out. I agree with you that there should be better ways of handling this at this time, but I would like to quote something from that thread directly:

    You can’t have newlines without the \n according to the ical spec so the file wouldn’t be valid. If there are no newlines, I imagine it imports one long line successfully. However, be aware that iCal also has wrapping requirements per the spec so you could only have ~76 characters or so before you would be invalid.

    So, those limitations are the current limitations in place. And please note that these are limitations imposed by the iCal spec itself, not by us by choice. We are bound by these limitations and, at this time, unfortunately have not come up with a better solution here.

    With this in mind, do you notice anything “erroneous” about the newlines in your iCal feed? In other words, are the new lines you are finding being added where there aren’t supposed to be new paragraphs or new lines, etc.?

    Or are the newlines being added where they should be? And so then your main complaint is this one:

    It appears the iCal Importer strips the \ leaving behind just an ‘n’ character which runs all of the paragraphs together creating a giant mess.

    This IS something we are actively working on and I will investigate the status of this bug.

    Thank you,
    George

    #1080775
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘New line issue when importing via iCal feed’ is closed to new replies.