简体   繁体   中英

Is it possible to move a Wordpress Blog Database to a Rails Database?

I am in the process of creating a new website using the Rails framework. I would like to migrate the old blog posts from Wordpress into the new site. My initial thought is to get the blog database and migrate it to Rails using mysql. What would be the best way to take this on?

I see that WordPress allows admins to export there blog posts as xml files.

My solution:

Export as xml
Convert to JSON (for readability)
Create fields relative to JSON
Seed

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM