]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/tips/Importing_posts_from_Wordpress/discussion.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / doc / tips / Importing_posts_from_Wordpress / discussion.mdwn
index 8d009c01a09129502f2064b51c299ccf9c7490f1..09e6f67424fa3c190ddf24bf37b8766fbc731a2a 100644 (file)
@@ -24,11 +24,6 @@ git-fast-import statistics:
 
 etc.
 
+(Removed now dead info and blah blah.)
 
-> Well, if this really is a script error, it's not really the script, but the wordpress XML dump, referring to a
-> possible malformed or invalid unicode character in the dump file. This is what I can gather from other scripts.
-> I'll be checking my dump file shortly.
-
->> Yup, it is the dump file with odd escape characters such as "fancy quotes" and crap like that.
->> translate them and you're golden.
-
+> It works fine.... The script is picky about having everything in proper UTF-8, **and** proper XML and HTML escaping. You need that to have a successful import. I let Emacs remove DOS line endings, and it works OK (if on *nix of some sort, of course). Thing is with this `git fast-import`, is that you have to `git reset` afterwards, (let's say you put them in posts/) `git checkout posts`, `git add posts`, then commit. I don't know if this a characteristic with `git fast-import`, but this is the way I get my posts to exist on the filesystem. If I don't do this, then I lose the data. If you get that "Not updating..." error, then just --force the import in. --[[users/simonraven]]