• I’m interested in importing a lot of legacy content into Seriously Simple Podcasting, so that I don’t have to maintain a bunch of ugly custom (and non-WordPress) code. I’d obviously prefer not to have to recreate several hundred episodes by hand, if it can be helped.

    Is there any sort of WP-CLI interface for this plugin, or documentation on how otherwise to bulk-import data? I’m comfortable writing the necessary scripts to go through my old XML and pull out episode titles, descriptions, and such, but I’m not sure how to get that data into SSP.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Craig Hewitt

    (@podcastmotor)

    Hi David,

    We’ve had really good luck with WP All Import Pro (http://www.wpallimport.com/) as a solution for this. Export your existing podcast contents or feed, and then reimport them as Podcast CPT (or whatever post type you’d like really), and you can map each field appropriately. The big one is mapping audio_file -> enclosure where audio_file is the post meta field that SSP is looking for, and ‘enclosure’ is typically what your feed or XML document contains the media file URL.

    Let me know how it goes for you.

    Craig

    Thread Starter David E. Smith

    (@desmith)

    I was hoping for an option that wouldn’t cost a hundred dollars 🙂

    It looks like I can parse my pre-existing XML, and use that to create a bunch of new posts with wp-cli. Something like:

    (slurp content from old XML into a temp array or similar)
    (dump content from old XML to temp file)
    wp post create (tempfile) --post_type=podcast --post_title=(mytitle) --post_date=(date) --comment_status=closed --ping_status=closed
    (get post id)
    wp post meta add episode_type audio
    wp post meta add audio_file (file url)
    wp post meta add enclosure (file url)
    (maybe add filesize and duration meta by analyzing the provided MP3)

    I don’t immediately see how to associate a post with a series, but on the test site I’m looking at right now there’s only one podcast series. Once I’m able to spin up some more filler, it’ll probably be fairly obvious.

    I’ll try to write a blog post about it, if/when I can get it all to work. 🙂

    ClosetDevlopr

    (@seriouspodcaster)

    Hi David

    So sorry for the delay in response. Thanks a lot for your feedback!

    My apologies for the invonvenience caused by import/export functionality not being available.

    In the mean-time, I’ve added this as a feature request on Github to ensure it’s considered for a future release.

    @podcastmotor

    I was trying to import old podcasts to new WP site using allimport, how do I add/map the audio files URL using “enclosure”?
    do I need a PAID/Pro version for “AllImport”?

    Plugin Author Craig Hewitt

    (@podcastmotor)

    HI @haomuren,

    Thanks for your message. Yes at this time you would need the paid version of WP All Import Pro to work with the ‘enclosure’ and ‘audio_file’ post meta. Everything else is included in their free plugin.

    As @seriouspodcaster mentioned we’re working on building in a bulk importer into the plugin, but it may be a bit before we’re able to roll it out.

    We do provide import/migration services for our hosting customers if that’s something you’d like to check out.

    Craig

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Automated/Bulk import options?’ is closed to new replies.