I just got a Feedburner warning that my podcast feed was invalid. I was also getting quite a few Feed Validator errors, but nothing I could fix in Podcasting’s settings or trace to bugs in the plugin code. Evidently, some versions ago, Podcasting stored a few odd values in my WP database that had to be manually corrected. Here’s how I fixed them.
Check your feed’s <itunes:name>
and <itunes:email>
values and make sure they are not reversed. Mine were. So just find your “pod_itunes_ownername” and “pod_itunes_owneremail” values in your “wp_postmeta” table and edit them.
SELECT *
FROM `wp_options`
WHERE `option_name` LIKE 'pod_itunes_owner%'
Second, a bunch of my posts’ “explicit” values were stored as “default” instead of the correct “” (empty string). iTunes only allows “no”, “yes”, and “clean” for <itunes:explicit>
, and Podcasting didn’t translate “default” into anything, so you gotta fixup these posts:
SELECT * FROM `wp_postmeta`
WHERE
`meta_key` = 'enclosure' and
`meta_value` like '%s:8:"explicit";s:7:"default";%'
… and after making sure your database is backed up and all that, just run this query to update them:
UPDATE `wp_postmeta`
SET `meta_value` = replace(`meta_value`, 's:8:"explicit";s:7:"default";', 's:8:"explicit";s:0:"";')
WHERE
`meta_key` = 'enclosure' and
`meta_value` like '%s:8:"explicit";s:7:"default";%'