]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - doc/tips/Importing_posts_from_Wordpress/discussion.mdwn
(no commit message)
[www/ikiwiki.git] / doc / tips / Importing_posts_from_Wordpress / discussion.mdwn
index 8d009c01a09129502f2064b51c299ccf9c7490f1..55e04d9cbec896b28e852472f3c03e87ab7bcf16 100644 (file)
@@ -29,6 +29,16 @@ etc.
 > 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.
+>> This is only part of the problem... I'm not exactly sure what's going on, and it's get late/early for me....
+
+>>> I used --force for fast-import, but then everything seems deleted, so you end up doing a reset, checkout, add, *then* commit.
+>>> Seems really odd. I edited the script however, maybe this is why... this is my changes:
+
+    -print "data %d" % len(data)
+    +print "data %d merge refs/heads/%s\ f" % (len(data), branch)
+
+>>> That control character is a ^q^0 in emacs, see git fast-import --help for more info.
+>>> I'll be trying an import *without* that change, to see what happens.
+
+>>>> I still have to do the above to preserve the changes done by this script... (removed previous note).