Hi,
I’m trying to import some historic posts from an old website, which came as a CSV. I have managed to write a script to convert these into the WordPress eXtended RSS format, and have managed to do one successful import of 50 posts.
However, mostly it only imports the title of the posts and nothing into the content field, and weirdly only applies one of the two categories specified, the second one lists “news” and not “legacy”.
Seemingly it does it when it trips up on one of the posts, which is very annoying as rather than skip an offending item it seems to trip up the entire upload. I’ve managed to get some files to upload by fixing issues with the encoding in some posts and then it successfully uploads the whole lot, but I can’t find any issues with the .xml I’m trying to upload at the moment.
I’ve put the XML which currently doesn’t work here: https://pastebin.com/DPCAK9LC
Many thanks.