Bui Thanh ChienWordPress · Excel · automation · Vietnam, GMT+7

Old Rails blog to WordPress

I exported a Rails-style blog database to a WordPress import file, imported it into a local WordPress with WP-CLI and compared each of the 8 posts with the database: 0 mismatches.

Sample migration, fictional pottery blog · Data migration

Compare report table for the eight imported posts: every one of the 8 fields (title, slug, status, two dates, body, categories, tags) reads OK; summary line shows 8 posts compared, 64 fields compared, 0 mismatches, 8 attachments checked, result PASS.
Compare report: 8 posts compared, 0 mismatches. Open the full-size compare report (image)

Downloads

The code, the runs and the reports are real; the pottery blog, its posts, people and e-mail addresses are invented.

The result

What is checked

What I built

Built with: Python (standard library), SQLite, WP-CLI, WordPress 7.1.2

Tell me which platform you are leaving and I will check a sample export first.Contact me