#WordPress friends!
I've got a bunch of WordPress posts and I'd like to export them into "proper documents". I'd take PDF or DOCX formats, I'd just like the images and links to survive the export process.

I can export everything as a giant XML file but most online converter choke on the size (9mb). I tried using Claude to write a script to save them as DOC files but I kept getting errors.

Who knew this would be so hard?

@scottjenson generating Doc files is hard, try a script to generate pdf.

@scottjenson How about Pandoc?

pandoc -f html https://jenson.org/timmy/ -o timmy.docx
@Lee_Holmes That's AMAZING! Thank you so much!
@scottjenson Some plugins that might work are mentioned in this forum post: https://wordpress.org/support/topic/export-site-pages-posts-to-pdf/ (Print My Blog’s description mentions hyperlinks and images. The other plugin claims to export to DOC.)
Export Site Pages/Posts to PDF

Export Site Pages/Posts to PDF Resolved redhatgal (@redhatgal) 2 years, 10 months ago Hello, I am searching for a plugin or service that would export all pages/posts on my late brother’s website to…

WordPress.org Forums
@doncruse Just installed it and it worked! Thank you!
GitHub - microsoft/markitdown: Python tool for converting files and office documents to Markdown.

Python tool for converting files and office documents to Markdown. - microsoft/markitdown

GitHub