I'm trying to use this tool to import my messages, but I've some problems.
I have converted all &, à and so in my posts via a php function (I did not use XML Spy cause I didn't find a quick way to do it) and I obtained a clean XML.
But, when I try to import my post, it says it is all right, but in fact it just created the topic and the post, but the text is blank.
I suppose that happens because there are some HTML tags inside the post (Possible?). I've already read rborsheim post in which he says to replace all < and > with [ and ] but i'd like to mantaint that in order to mantains working links, bold, italic, underline text etc.
What do you suggest?
EDIT: ok, solved
I made the following substitutions to every post (apply in this order or there may be some errors)
Code: Select all
$text = str_replace("<br>", "\n", $text);
$text = str_replace("&", "&", $text);
$text = str_replace("'", "'", $text);
$text = str_replace("\"", """, $text);
$text = str_replace("<", "<", $text);
$text = str_replace(">", ">", $text);