{"id":994578,"date":"2015-08-09T12:27:36","date_gmt":"2015-08-09T19:27:36","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/"},"modified":"2015-09-04T15:24:05","modified_gmt":"2015-09-04T22:24:05","slug":"broken-newline-support-in-ical-imports","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/","title":{"rendered":"Broken newline support in iCal imports"},"content":{"rendered":"<p>Hi guys, just bought the iCal importer and gave it a run.  Unfortunately we&#8217;re running into a show stopper. The iCal feed we are crawling has standard \\n newline definitions per the spec.  It appears the iCal Importer strips the \\ leaving behind just an &#8216;n&#8217; character which runs all of the paragraphs together creating a giant mess.  <\/p>\n<p>The feed looks like:<\/p>\n<pre><code>BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-\/\/Pukka Software\/\/iCal 2.0\/\/EN\nCALSCALE:GREGORIAN\nMETHOD:PUBLISH\nX-WR-CALNAME:MotorsportReg.com Events Calendar\nX-WR-TIMEZONE:US\/Pacific\nX-WR-CALDESC:MotorsportReg.com provides online registration for \n club race\\, track\\, hpde, autocross and social events around the country \n free of charge.  Tell a friend!\nBEGIN:VEVENT\nDTSTART:20150809T000000\nDTEND:20150810T000000\nDTSTAMP:20150809T072437Z\nSUMMARY:SFR 2015 Championship Round 11\nDESCRIPTION:Detailed event info can be found on HERE\n \\n\n \\n    Reminder: You have to work! We keep a running list of those of you have skipped out on work. Check it out HERE&amp;#160\\;and make sure you aren&#039;t on it.\n \\n\n \\n    Be sure to verify your number\/class comination is available by comparing it to the taken class numbers found HERE\n \\n\n \\n    Cancellations will not be accepted after registration closes.\n \\n\n \\nSee more: http:\/\/www.motorsportreg.com\nCATEGORIES:Autocross\/Solo\nTRANSP:TRANSPARENT\nUID:D83A38FA-9418-DAC0-1732D0042AA29401-at-MotorsportReg.com\nLOCATION:Crows Landing\\, Crows Landing\\, CA US\nGEO:37.4121152834;-121.022045498\nURL;VALUE=URI:http:\/\/www.motorsportreg.com\/\nEND:VEVENT\nEND:VCALENDAR<\/code><\/pre>\n<p>The output winds up looking like: http:\/\/new.sfrscca.org\/event\/event-10-fresno-scca\/<\/p>\n<p>I think the iCal importer should convert \\n to newlines on import so WordPress will apply it&#8217;s standard formatting to text.  E.g., we would expect to see a <code>&lt;p&gt;&lt;\/p&gt;<\/code> wrap around each paragraph.<\/p>\n<p>Is this something that should work or does your importer need an enhancement? <\/p>\n","protected":false},"template":"","class_list":["post-994578","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Broken newline support in iCal imports -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Broken newline support in iCal imports -\" \/>\n<meta property=\"og:description\" content=\"Hi guys, just bought the iCal importer and gave it a run. Unfortunately we&#8217;re running into a show stopper. The iCal feed we are crawling has standard n newline definitions per the spec. It appears the iCal Importer strips the  leaving behind just an &#8216;n&#8217; character which runs all of the paragraphs together creating [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-04T22:24:05+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/\",\"name\":\"Broken newline support in iCal imports -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-08-09T19:27:36+00:00\",\"dateModified\":\"2015-09-04T22:24:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Aggregator\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/event-aggregator\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Broken newline support in iCal imports\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Broken newline support in iCal imports -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/","og_locale":"en_US","og_type":"article","og_title":"Broken newline support in iCal imports -","og_description":"Hi guys, just bought the iCal importer and gave it a run. Unfortunately we&#8217;re running into a show stopper. The iCal feed we are crawling has standard n newline definitions per the spec. It appears the iCal Importer strips the  leaving behind just an &#8216;n&#8217; character which runs all of the paragraphs together creating [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/","article_modified_time":"2015-09-04T22:24:05+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/","name":"Broken newline support in iCal imports -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-08-09T19:27:36+00:00","dateModified":"2015-09-04T22:24:05+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/broken-newline-support-in-ical-imports\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Event Aggregator","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/event-aggregator\/"},{"@type":"ListItem","position":5,"name":"Broken newline support in iCal imports"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/994578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/994578\/revisions"}],"predecessor-version":[{"id":994752,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/994578\/revisions\/994752"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=994578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}