$_POST['pod_format_new_slug']) : ''; $format = wp_insert_term($_POST['pod_format_new_name'], 'podcast_format', $args); $format = get_term($format['term_id'], 'podcast_format'); $pod_explicits = unserialize(get_option('pod_formats')); $pod_explicits[$format->slug] = $_POST['pod_format_new_explicit']; update_option('pod_formats', serialize($pod_explicits)); } // Update formats if ( isset($_POST['term_ids']) ) { foreach ( $term_ids as $term_id ) { $term_id = (int) $term_id; $format = get_term($term_id, 'podcast_format'); if ( isset($_POST["delete_pod_format_$term_id"]) ) wp_delete_term($term_id, 'podcast_format'); // Update taxonomy $args = array( 'name' => $_POST["pod_format_name_$term_id"], 'slug' => $_POST["pod_format_slug_$term_id"] ); wp_update_term($term_id, 'podcast_format', $args); // Update explicit $pod_explicits[$_POST["pod_format_slug_$term_id"]] = $_POST["pod_format_explicit_$term_id"]; update_option('pod_formats', serialize($pod_explicits)); } } // Give an updated message echo "

Podcasting settings saved.

"; } // Clear used variables unset($term_ids); } // iTunes category options $pod_itunes_cats = array( 'Arts', 'Arts||Design', 'Arts||Fashion & Beauty', 'Arts||Food', 'Arts||Literature', 'Arts||Performing Arts', 'Arts||Visual Arts', 'Business', 'Business||Business News', 'Business||Careers', 'Business||Investing', 'Business||Management & Marketing', 'Business||Shopping', 'Comedy', 'Education', 'Education||Education Technology', 'Education||Higher Education', 'Education||K-12', 'Education||Language Courses', 'Education||Training', 'Games & Hobbies', 'Games & Hobbies||Automotive', 'Games & Hobbies||Aviation', 'Games & Hobbies||Hobbies', 'Games & Hobbies||Other Games', 'Games & Hobbies||Video Games', 'Government & Organizations', 'Government & Organizations||Local', 'Government & Organizations||National', 'Government & Organizations||Non-Profit', 'Government & Organizations||Regional', 'Health', 'Health||Alternative Health', 'Health||Fitness & Nutrition', 'Health||Self-Help', 'Health||Sexuality', 'Kids & Family', 'Music', 'News & Politics', 'Religion & Spirituality', 'Religion & Spirituality||Buddhism', 'Religion & Spirituality||Christianity', 'Religion & Spirituality||Hinduism', 'Religion & Spirituality||Islam', 'Religion & Spirituality||Judaism', 'Religion & Spirituality||Other', 'Religion & Spirituality||Spirituality', 'Science & Medicine', 'Science & Medicine||Medicine', 'Science & Medicine||Natural Sciences', 'Science & Medicine||Social Sciences', 'Society & Culture', 'Society & Culture||History', 'Society & Culture||Personal Journals', 'Society & Culture||Philosophy', 'Society & Culture||Places & Travel', 'Sports & Recreation', 'Sports & Recreation||Amateur', 'Sports & Recreation||College & High School', 'Sports & Recreation||Outdoor', 'Sports & Recreation||Professional', 'Technology', 'Technology||Gadgets', 'Technology||Tech News', 'Technology||Podcasting', 'Technology||Software How-To', 'TV & Film' ); $pod_formats = get_terms('podcast_format', 'get=all'); ?>

Podcasting Settings

nonceField(); ?>

Podcasting is brought to you for free by TSG - iSiteStudio. iSiteStudio is a small web development firm specializing in PHP development. Visit our website to learn more, and don't hesitate to ask us to develop your next big WordPress plugin idea.

using_permalinks()) echo get_option('home') . '/feed/podcast/'; else echo get_option('home') . '/?feed=podcast'; ?>


If your podcast's title is different than your blog's title, change the title here.

If your podcast's tagline is different than your blog's tagline, change the tagline here.

iTunes Specifics


A detailed description of your podcast. iTunes allows up to 4,000 characters and the tagline will be used if no summary is entered.

The default author of your podcast.

An image which represents your podcast. iTunes uses this image on your podcast directory page and a smaller version in searches. iTunes prefers square .jpg images that are at least 300 x 300 pixels, but any jpg or png will work.


Up to 12 comma-separated words which iTunes uses for search placement.

Notifies readers your podcast contains explicit material. Select clean if your podcast removed any explicit content. Note: iTunes requires all explicit podcast to mark them-self as one. Failure to do so can result in removal from the iTunes podcast directory.

Your podcast's owner's name. The owner name will not be publicly displayed and is used only by iTunes in the event they need to contact your podcast.

Your podcast's owner's e-mail address. The owner e-mail address will not be publicly displayed and is used only by iTunes in the event they need to contact your podcast.

The language of your feed. This value needs changing for international users looking to set this information in iTunes.

General Player Options


Automatically insert the audio player or video player. Any players manually inserted will override this setting, so players can still be manually placed on a per-post basis.

Text that will appear above the player.

That that will appear on the line of the player, immediately before it. This text will not display for video players.

Text that will appear below the player.

Select the block of text that will link to the podcast file.

Audio Player Options


The default width in pixels of the audio player.

Optional WordPress Audio Player flashvars that will apply on a global basis. Enter the flashvars like so: autostart: 'yes', bg: 'e5e5e5'. Additional flashvars can be appended on a per file basis by adding a flashvars="x" parameter to the [podcast] tag.

Selecting this option will use the video player instead of the audio player for audio files.

Video Player Options


The default width in pixels of the video player. This can be changed on a per video basis by adding a width="x" parameter to the [podcast] tag.

The default height in pixels of the video player. This can be changed on a per video basis by adding a height="y" parameter to the [podcast] tag.

Optional JW FLV Player flashvars that will apply on a global basis. Enter the flashvars like so: autostart: 'true', bufferlength: 4. Additional flashvars can be appended on a per video basis by adding a flashvars="x" parameter to the [podcast] tag.

Advanced Options


Enabling this option will prevent WordPress from automatically enclosing file URLs in the content of your posts. This is helpful if you're trying to keep certain files from appearing in your Podcasting feed.

WARNING: Enabling this option will disable the 404 check and file size check that occurs when adding a new podcast episode. When enabled, any new file added through Podcasting will report itself as being 1MB in size. This may cause issues with some Podcatchers that rely on accurate enclosure information. Only enable this option if you're experiencing constant HTTP connection errors (resulting in 404s) and are absolutely sure the file exists on the server. Use this option at your own risk.

This field is usually kept blank. Add a URL here only if you need to move your podcast feed to a new URL. This option is used to inform iTunes of a new feed URL location. Enter the full URL of your new podcast feed location.

1 ) { ?>

Formats

slug ) { if ( $term_count > 0 ) $term_ids .= ','; $term_count++; $term_ids .= $pod_format->term_id; ?>
Format Feed slug"; else echo get_option('home') . "/?feed=podcast&format=$pod_format->slug"; ?>" readonly="readonly" />
Format Name Format Slug Explicit

Add a New Format


The display name of your new new format.

If you leave this field blank, a slug will automatically be generated for you.

The explicit setting for this format. If you leave this field blank, your global podcast explicit setting will be used.

"; } } # Start the Podcasting settings interface $podcasting_settings = new PodcastingSettings(); ?>