How to recover WordPress posts from NewsBlur

This post is not related with Asia/Japan IT news.

When I noticed that there were no latest backups kept on any cloud services by combined mistakes, Asiajin’s past articles since January 2014 seemed to be lost for good. My RSS reader might keep the latest 10 or so, but I was not so eager to take time for them.

When suggested to salvage form Newsblur, I did not know that service. The service keeping all past copies of the feed (Asiajin offers full RSS feed for readers’ convenience) does not sound good, if I become to know it in regular time. Letting readers know about Japanese IT news is more important for us than earning page views, though.

Anyway, the site offers API, and I found a good tool to export the data from there. Then, I needed to convert the exported data (in JSON style) to our using self-hosted WordPress.

I wrote a script to do that, and it worked and the lost 40 posts are now back on the blog. This is not really generic tool, but for someone who might see the similar troubles in future, I decided to make it public on GitHub.


The following two tabs change content below.