The built-in WordPress Exporter utility is a great tool for retrieving some or all of my blog content. Finally, I can describe a process that is potentially useful to others.
First of all, without getting too technical, the WordPress Exporter creates an RSS feed of the blog. The developers chose XML, a file format that simplifies the monumental task of describing a chunk of content – namely a blog post or blog page. If you use an RSS feed reader, you will appreciate the care taken to preserve the blog post layout.
I decided to start small. I set up the exporter to retrieve a single category of posts. I picked a category that had exactly one post. If I could manage the extraction of a single post, I figured that scaling up would be a simple matter of repetition.
The WordPress Exporter has three main choices for what to include in the export file:
- All Content
Each choice reveals a second set of options that can be used to limit the amount of content exported. When I chose Posts, I saw these options:
The ability to fine-tune the export makes this a great tool for a Blog to eBook project. With a bit of planning ahead of time, I imagine that I would save a lot of time by not having to sift through irrelevant posts.
When I clicked the Download Export File button, I received a tiny, 8KB file with my one post. The next step is to extract that post and any other relevant information. Since my goal is to make this process useful to others, I will try to be as flexible as possible – probably grabbing more data than necessary. Stay tuned.
Original Method: WordPress Backup Files
New Method: WordPress Export Tool