SchumacherFM / wordpress-to-hugo-exporter

Hugo is static site generator written in golang. Wordpress is a tool for remote access to your server ;-) ❗️Contributions welcome!
https://gohugo.io
GNU General Public License v3.0
692 stars 95 forks source link

How to run this on wordpress.com or exported xml files? #51

Closed fatih closed 6 years ago

fatih commented 6 years ago

Hi,

Can you please describe how we can run this on an exported xml file from wordpress.com? There is no way to install the plugin to wordpress.com so I'm curious how to achieve it. Thanks

SchumacherFM commented 6 years ago

Good morning, The script does a DB connection and reads the data from the SQL tables and can't work on a XML file. The only solution is to import the XML file into your local wordpress installation and then install there the plugin and run the conversion. Hope that helps.

fatih commented 6 years ago

Thanks @SchumacherFM

I thing adding this to the README for wordpress.com users would be valuable as those people don't have access to the DB. In my case I wasn't sure I could do it on a locally running wordpress with importing the XML file from my wordpress.com blog. Thanks

SchumacherFM commented 6 years ago

Done! Maybe you can prove-read it.

fatih commented 6 years ago

Nice! thanks a lot, it looks good!