Wordpress.com will let me export everything to an XML file, but that has to be loaded into another site, which then downloads the images and other media from wordpress.com. I don’t have any media on the site I need to save - just the posts themselves.
I can go into the post editor and copy-paste them all out by hand from the HTML editor - and I will if I have to - but that’s going to be tedious. Has anyone made a tool that will export the posts as HTML? A DuckDuckGo search did not give me anything.
Goal: To leave Automattic products entirely without losing 15 years of work. (Exporting my Tumblr projects was a two-button-click process.)
Thanks. I don’t actually need the site to exist anymore in its current form. Mostly I want the HTML so I can republish the stuff worth keeping on my personal site.
Use the XSLT stylesheet. It is specifically designed to transform WordPress XML exports into HTML.
You’ll need an XSLT processor like Saxon. Once you have it, run this command in your terminal or command prompt:
java -jar saxon9.jar wordpress.xml wp2html.xsl > posts.html
This will create a single posts.html file containing all your published posts formatted nicely in HTML. No media files will be included, just the post text and formatting.