Since google code realeased converter tools (named Google Blog Converter) for converting exported files from a web platform to another, it help a lot of publisher whom wanted to migrate their web platform to another. For example the most used of this software is to convert blogger exported file .xml to wordpress exported file .xml (wordpress). So, one day while i was converting my website from wordpress to blogger with google blog converter tools through linux command line (terminal), there's a message "Wordpress Document is Not Valid XML" I'm having this issue for about 2 years ago and the problem solved just now :D
well, the issue is coming from a not valid xml format that created by wordpress exporting tools. then how to detect the error?. To check the error from xml files, i used command "
xmllint", it will give you lot of information about your xml file. so here the command you should type on your terminal :
xmllint --valid your_xml_files.xml
it will tell you where the errors are coming from, after you know the error, replace the error with your own word. for example if the error is comming from ∨ in <title> syntax, you should replace ∨ with something else or just deleted it.
HOpe this helpfull :D
Penjelasan Materi Lainnya
0 comments:
Post a Comment