X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/54f600af14bf6dc067ffc30ec6f22d517001fe99..68770930a72adc39f535210bceff171efcf205ac:/doc/tips/Importing_posts_from_Wordpress.mdwn diff --git a/doc/tips/Importing_posts_from_Wordpress.mdwn b/doc/tips/Importing_posts_from_Wordpress.mdwn index ecc6ae505..1ea82b862 100644 --- a/doc/tips/Importing_posts_from_Wordpress.mdwn +++ b/doc/tips/Importing_posts_from_Wordpress.mdwn @@ -4,6 +4,10 @@ Use case: You want to move away from Wordpress to Ikiwiki as your blogging/websi WordPress categories are mapped onto Ikiwiki tags. The ability to import comments is planned. +The script uses the [BeautifulSoup][] module. + +[BeautifulSoup]: http://www.crummy.com/software/BeautifulSoup/ + ----- I include a modified version of this script. This version includes the ability to write \[[!tag foo]] directives, which the original intended, but didn't actually do. @@ -11,3 +15,88 @@ I include a modified version of this script. This version includes the ability t -- [[users/simonraven]] [[ikiwiki-wordpress-import]] + +----- + +Perhaps slightly insane, but here's an XSLT style sheet that handles my pages. It's basic, but sufficient to get started. +Note that I had to break up the ikiwiki meta strings to post this. + +-- JasonRiedy + + + + + + + + + + + + + + + + + + + Creating + + + [[meta title=" + + "]] + [[meta date=" + + "]] + [[meta updated=" + + "]] + + + + + + + + + + + + $basename + + + + + + + + + + + + + [[comment format=html + + + + + subject="" + content=""" + + + """]] + + + + + [[!tag ""]] + + + +