New Custom PHP Import Script -- Import data from another MySQL Table
I recently put together an import script for the new softcharisma.com site currently under development. This may end up in the Pods API in one way or another, but for now check it out. You can import data directly from another table. Many options, just set up your $import array however you wish.
See below for the script, along with examples and the real script I used to import the songs from my previous site into Pods. Please note, I already manually imported Albums (releases) and the Artist (just one). Also, this import script is using some new Pods that are going to be the core of the new Pods-based plugin I'm releasing later this week called 'Musician'. Look for the announcement on the @podscms Twitter.
PLEASE NOTE: You must run this within a Pod Page or Helper, Plugin, or Page Template otherwise you'll want to include your wp-load.php file (if using this in a php file outside WP) from the root of your WP directory to include the necessary scripts and functions to allow this to work.
edited Aug 22 '10 at 10:04


