A Clojure library to export from MediaWiki pages to Wordpress pages.
Why? Because I hate wiki spam. And I gave up trying to keep it out.
- Set environment variables expected in
wordpress.clj
- Change
mediawiki-base-url
,mediawiki-index-pages
, etc. incore.clj
as per your Mediawiki installation - Install Leiningen
- Install library dependencies:
lein deps
- Run :
lein run dump pages.clj
- Edit
pages.clj
to change the:keep
values, approving only those pages that you actually want to keep. - Run :
lein run process pages.clj
- Clean up :
rm pages.clj
Copyright © 2012 Swaroop C H.
Distributed under the Eclipse Public License, the same as Clojure.