• Resolved Pete

    (@theschwag)


    I want to import posts from a custom cms into a wordpress mu install. The mu install has over 280 subsites. The posts from the custom cms are all in the same table in a mysql db.

    I found a great article by Yoast that has worked for me to a degree but I’m stumped on one part. Here’s the link to that article: MySQL to WP import

    Are there any suggestions as to how would i get this to import articles to a different subsite post table depending on data from a specified row in the exisiting cms db? Example: there is a column called facilities with a number 3 in it. How would i get that article to just import to the wp_3_post table and not the main wp_posts table?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You may want to try importing via HTML

    http://wordpress.org/extend/plugins/import-html-pages/

    Basically you’d make a site, call those pages, import and move to the next site.

    Thread Starter Pete

    (@theschwag)

    So, I’d do a network activate on this plugin and then use the plugin subsite by subsite?

    Sounds like lots of work 🙂

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    More or less than trying to rewrite Yoast’s article to pull based on a row?

    You’re in need of a very custom importer, and those only get written when they’re needed. So…

    Thread Starter Pete

    (@theschwag)

    Yeah, i figured as much.

    I know that I could write it though if I had some direction as to how to redirect the articles to the correct table. I’ll keep testing on my local dev environment

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘import from custom cms’ is closed to new replies.