I am wondering if someone can clear up an issue I am having. I am using Ultimate WP CSV Importer and I am wondering how the file is being processed.
The content in the CSV file contains HTML and so there are no linebreaks. For example:
☀pure poetry, poor pedantry—<div>it's all in the name:</div><div><br></div><div>a poor poet's (a)pathetic,</div><div>but the punk is the pain—</div>
(I’m working on building a portfolio of poetry and the like.)
so you can see where the linebreaks should be from the code, but importing is a strange phenomenon. In the preview where I can choose how to map the CSV’s fields, the linkbreaks appear properly, but certain symbols and punctuation do not appear. It looks like this:
?pure poetry, poor pedantry�
it’s all in the name:
a poor poet’s (a)pathetic,
but the punk is the pain
so, it’s good that the linebreaks are preserved but, losing the “—” is not going to work.
In anycase, none of that seems to matter, as when I actually import the CSV file, all the posts are just unprocessed HTML, exactly as it is in the CSV file.
So I’m thinking I either need to remove the HTML from the CSV file or there is a way to process the HTML and preserve the content. In the first case, I am not sure how to do this and simultaneously preserve all the linebreaks. As for WP reading the HTML in the CSV file—I’m clueless.
Any help would be greatly appreciated.
- The topic ‘[Plugin: Ultimate WP CSV Importer] importing HTML’ is closed to new replies.