By populating a MySQL database table with all the information about the podcasts you can automatically create the posts needed for podcasting with the
Blubrry PowerPress plugin. This will allow you to post as draft or published and switch between the two as well as delete posts. Probably not useful to actual Podcasters, but it works for what I needed.
Information required from the database:
- Host
- Database Name
- Database Table Name
- Database Username
- Database Password
Also field names from the database which will be used for the following:
- Primary Key Field
- Title
- Category
- Post Body
- Featured Image(URL to an image)
- Media URL
- Media size
- Media type
- Date posted
Your categories need to be setup prior to using this.
Example database table for importing from
You may use the following database table as an example template for your database.
CREATE TABLE episodes ( episode_id int(11) NOT NULL, episode_title varchar(255) NOT NULL, episode_category varchar(255) NOT NULL, episode_body text NOT NULL, episode_image_url varchar(4000) NOT NULL, episode_url varchar(4000) NOT NULL, episode_length int(11) NOT NULL, episode_content_type varchar(20) NOT NULL, episode_date date NOT NULL, PRIMARY KEY (episode_id) ) DEFAULT CHARSET=utf8;
Note: You must have at least one record in the database table before you can enter the database column fields in this plugin.
This section describes how to install the plugin and get it working.
(make sure you have created the category in your blog before running or all the podcasts will be uncategorized)
- Upload the folder containing pfd.php and process.php to the /wp-content/plugins/ directory
- Activate the plugin through the Plugins menu in WordPress
- Configure your database settings in Post From MySQL under the Tools menu in the Dashboard and click Save Changes
- After you've saved your settings and a connection is made, the total number of records will be displayed.
NOTE! For this plugin to work correctly, it requires the MySQL table to use a primary key. * see How should I set up the database table?in the FAQ for more information.