lonekorean / wordpress-export-to-markdown

Converts a WordPress export XML file into Markdown files.
MIT License
1.14k stars 227 forks source link

raw output option? #47

Closed douzebis closed 3 years ago

douzebis commented 4 years ago

Hi lonekorean!

Would it be possible to add a "raw output" option, where the script would not translate the contents of the posts to markdown, but would keep the format as in WordPress code editor?

The intent is to create a mirror of the WordPress site as a set of xml files (one per post) that can easily be managed as a git repository for archival purpose.

What say you? Cheers :)

lonekorean commented 3 years ago

Interesting, but probably a bit outside of scope for a tool that is squarely meant for converting to markdown. 🙂 So probably not something I'd prioritize.