How to import individual blog posts into WordPress?

There are many ways to approach this problem depending on the scale of the data we talking about. Also important whether you have to deal with taxonomies or not. And also not clear that the original data is an other wordpress site or something else. I assume it is not.

  • the format that wordpress easily undertands is xml, you can see the structure if you export a default install.
  • Or just make object output of the original content and use ‘wp_insert_post()’ to add the posts from wordpress.
  • if you have extra data just use ‘add_post_meta()’ or ‘update_post_meta()’.