• I’ve read a lot about how Podcasting is automatic in WP 1.5. There is a nice explanation on the Codex here:
    http://codex.wordpress.org/Podcasting

    But for some reason my version of WP 1.5 doesn’t have this functionality. I have to use the more complicated method of adding an extra field and manually inserting the enclosure tag info. Here’s how I do it now:
    http://www.audioactivism.org/2005/03/02/howto-podcast-with-wordpress-15/

    Now that I have a field inserted there isn’t that much work… but the time savings over time could be huge.

    Any ideas as to why my version of WP 1.5 isn’t working? Should I just download and install the most recent nightly build and cross my fingers?

Viewing 13 replies - 1 through 13 (of 13 total)
  • I installed wordpress 1.5 recently and had troubles with podcasting too. Here’s what i’ve figured out through experimentation and looking at the source. Please correct me if i have anything wrong. I’m generally very happy with wordpress but the auto-enclosure stuff still has some rough edges.

    1. When you publish a post, wordpress goes through each url in the post (the url must begin with ‘http’) and goes to that server and fetches an http header for it. If the mime type begins with ‘audio’ or ‘video’, it rememberss the file size and mime type and creates an enclosure for that url.

    2. If retrieval of the http header for an url fails for some reason then wordpress won’t create an enclosure. This could happen if your wordpress server is offline, the file host is offline, or if the file host is misconfigured and returns the wrong mime type (say, text/html instead of video/quicktime)

    3. WordPress will also fail if the server returns a 302 and tries to redirect you to another url. I’ve looked at the code for this and wordpress sees the text/html content type of the 302 message, and continues on, ignoring the new url it’s been given. I ran in to this because i have some video hosted at archive.org and wordpress didn’t make an enclosure for this url. I fetched the http header by hand and realized it was getting redirected. I bet archive.org does that for all it’s urls and wordpress 1.5 blogs won’t include any archive.org urls in their podcasts.

    Here is my wishlist:

    – fix wordpress so it follows referals
    – give feedback so the user can tell when enclosure creation has failed. Ignore urls that obviously aren’t audio/video like html,htm,jpg, gif, etc.
    – wordpress should also recognize application/x-shockwave-flash since quicktime, real and other video apps are able to play flash and flash is so common.

    I just posted in here about this.

    I solved the problem by using absolute links, not relative. There seem to be other issues with rss 2.0 in 1.5

    To use automatic enclosures in WP1.5 links must be in this format:

    <a href="http://example.com/my-podcast.mp3">My podcast</a>

    The link must be absolute.

    See Penny News for an example.

    I am using almost the same example as that format. Here’s how mine are:

    [audio src="http://www.mysite.com/mypodcast/podcast.mp3" /]

    Is it wrong that i have the podcasts in another directory?

    I’m not getting any enclosures at all.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Garybibb, have tried reading the Codex article? http://codex.wordpress.org/Podcasting

    Yes I did, that’s where I found the information on how to just post the mp3 file and it makes the enclosures automatically. It still doesn’t work that way.

    One way I found was to just add the whole enclosure field to the customs field area. A little extra typing involved, but that never killed anyone.

    I’d still like to know why Wp is not automatically generating the enclosures for me.

    mine works fine…. it even gives me a duplicate of the enclosure… would you like one of mine bibb? i’m trying to get rid of it myself… 🙂

    now i just have to figure out why my feed will only show 4 of my 6 podcasts…. apple has me down for only 4 shows… i know i’m still new, but every episode posted up there means something….

    my enclosures seem to be hit or miss. on some posts, the enclosures don’t get picked up at all, some of them catch all of the files, and some others only get some of the files. i don’t get it.

    my podcast on http://dgold.info/radio/
    is fairly new… Not sure how to tell if anyone’s getting the podcast on my RSS feeds? My server logs show many people getting my mp3’s, whether by direct download or RSS enclosure I don’t know.

    I see the enclosures on them in my WP Admin > Manage Posts… And I did not create the enclosure custom field, WP1.5 did it automatically from the True link to the mp3 I included in the post. So that part is good.

    I learned that it’s a no-no to have more than one enclosure? What am I supposed to do if I have a “podcast” that is 8 mp3 tracks? Must I combine them into 1?

    At one time I had 2 mp3’s, in 1 post. Feedvalidator told me that was making my RSS feed invalid. Even after removing one mp3 link in the text of the post, it did not remove the extra “enclosure” field — so I had to delete that in the post (finally figured out what was causing this!)

    Overall I think WordPress is working great for my podcast, but if anyone here has some tips I’d like to learn more and improve my site.

    Unfortunately, you can’t have spaces in your MP3 file name as well. This won’t work <a href="http://mysite.com/my great podcast.mp3">Listen</a>. I’m not sure why…

    i second the file name spacing problem — even won’t work. taking out all the spaces in my mp3s immediately fixed my problems w/ the podcast being recognized correctly in iTunes.

    that was even &20</code won't work, it edited it out

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WP1.5 Podcasting Broken?’ is closed to new replies.