• Resolved orangebanna

    (@orangebanna)


    Hi, I am seeing broken feeds from your plugin. I had a quick look at the code and where it seemed to be breaking. I am no expert just meddling and it seemed to be related to: seriously-simple-podcasting/templates/feed-podcast.php

    More specifically it seemed to be breaking in at least two places:
    I fudge a horrible hack:

    $qry = new WP_Query( $args );
    
    	if( $qry->have_posts() ) : while( $qry->have_posts() ) : $qry->the_post();
    		//Enclosure
    		$enclosure_arr = get_post_meta( get_the_ID(), 'enclosure');
    		$enclosure = $enclosure_arr[0];
    		// Episode duration
    		//$duration = get_post_meta( $the_post->ID , 'duration' );
    		//$length = $ss_podcasting->format_duration( $duration );
    
    		//File MIME type
    		//$mime_type = $ss_podcasting->get_file_mimetype( $enclosure );

    Which is basically turning off lines. I noticed it was choking on the array returned from get_post_meta and the horrible fix I used would at least allow me to get a url into the rss and the rss to complete. I can use the same fix for the $duration[0] but I end up with 0 for the value.

    The $enclosure however is no good for the get_file_mimetype( $enclosure );

    If I pull the array I can get:

    Array
    (
        [filesize] => Array
            (
                [0] => 5.56M
            )
    
        [enclosure] => Array
            (
                [0] => http://blog.x-rayman.co.uk/wp-content/uploads/2013/01/melcolsci_01_2.ogg
            )
    
        [_edit_lock] => Array
            (
                [0] => 1359318098:1
            )
    
        [_wpas_done_all] => Array
            (
                [0] => 1
            )
    
        [_edit_last] => Array
            (
                [0] => 1
            )
    
    )

    I’m not certain if any of this is any help?

    After trying podpress, powerpress and podlove I found yours to be the most simple to setup and just work. Unfortunately the who not working with rss and the fact that my ogg files appear to not work with the player is a down side but such is life.

    The site url is resolvable from the above info if you want to test.

    http://wordpress.org/extend/plugins/seriously-simple-podcasting/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    Hi there,

    Thanks for the detailed report – it’s always useful to have as much info as possible!

    I’m not sure why you rewrote some of the code like you did, but I think the issue here is the OGG file format. In my testing I did not take that into account correctly and it is causing some feed errors (particularly with the MIME type detection as that is a relatively complicated function.

    I’ll look into this some more in the next few days and post an update here once I have a fix for the issue.

    Regards,
    Hugh

    Thread Starter orangebanna

    (@orangebanna)

    I could be wrong but doesn’t the media library do mime detection on upload or is that in relation to just giving file extensions? I am sure I’ve seen FileType OGG on a wordpress page somewhere. Of course that does not help with remote URLs. It also doesn’t help if the extension is not the actual mime say mp3 but with ogg extension.

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    You’re right about the MIME type being stored by WordPress – I’ve modified the plugin to use that value for the MIME type instead now, so it should always be correct. There are one or two other fixes I want to make before I push the next version out though, so you’ll have a new update probably in the next week or so.

    Thread Starter orangebanna

    (@orangebanna)

    It looks to me to be related that basically the php code is choking out and not closing the RSS sections correctly. Hopefully the new update will resolve a lot of these problems. You could manually tweak the code as I did above but in this case for the itunes not rss feed pages.

    Or you could do what I did which was fix the rss feed and pass it to feedburner and let that generate the itunes feed.

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    I have just released v1.1.4 of the plugin and it will hopefully contain all the fixes you need. I am still unable to reproduce your feed errors on my side, so fixing it is very challenging – I have, however, done everything I can think of to make sure these feeds validate now.

    If you could please post on here with your feed validation results that would be very useful. That being said – if you do continue to experience problems then I would lean towards it being a server issue on your side where your server is not generating the XML correctly. Either that or when you are adding the audio file to your episodes you are not adding a valid file, but that would be unlikely I think.

    The v1.1.4 update should be available from within your WordPress dashboard very soon.

    Thank you!

    The iTunes feed is now valid – but only if I don’t add the iTunes categories for the podcast. When I add categories I get the following error:

    Performing Arts is not one of the predefined iTunes categories or sub-categories

    See validation here.

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    Hi there,

    I’m glad it’s working for you now 🙂

    As for the validation issues you are seeing with regards to the iTunes category – you MUST use one of the categories listed here: http://www.apple.com/itunes/podcasts/specs.html#categories. The sub-category must also be a child of the parent category otherwise iTunes will not accept it as a valid category. Simply use one of the official iTunes category and sub-category combinations and you should be good to go.

    Ah, silly me. Didn’t look close enough at that link and got the categories confused. Thanks so much.

    One last thing… The feed puts the subtitle in the author field. This is probably just a variable that is wrong in the plugins PHP-code.

    <itunes:subtitle>Tillbaka till framtiden!</itunes:subtitle>
    <itunes:author>Tillbaka till framtiden!</itunes:author>
    Thread Starter orangebanna

    (@orangebanna)

    I don’t use the itunes feed preferring feedburner but the RSS feed seems fine.

    Cheers

    Flattr account anywhere?

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    @olesund – I just spotted that same issue – I will address that as soon as I can and have an update out once it’s sorted.

    @orangebanana – I’m glad the standard RSS is also working just fine. I think these validation errors are all sorted out for good now. I don’t have a Flattr account just yet, but you can always donate through PayPal from here: http://www.hughlashbrooke.com/donate/

    Thread Starter orangebanna

    (@orangebanna)

    Hmmm, don’t have PayPal unfortunately.

    The validation errors I saw were all related to the php bombing out and since that is now resolved I agree that it should not be an issue.

    Cheers again.

    Hello sir.
    This is Jerry Mader.
    I’m the station manager of The mader Radio Network.
    We have an issue where your plugin won’t let a person download an mp3 from the library. the file will upload then say that it’s completed using add from server plugin, then when i link that to a post say for example all a person gets is the “getting file information” dialog from the server and opens up a download but it’s blank. you can test this by going to http://www.maderradio.net/archives and try downloading the podcast titled The Possum’s Den for Sunday May the twenty sixth. Is there any way i could fix this. I even tried to upload it as a zip file. no luck there either. Thanks

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    Hi Jerry,

    Looks like you have the same issue as this guy: http://wordpress.org/support/topic/download-button-doesnt-work-even-after-update?replies=4 – like I mentioned in that thread I’ll have it fixed up in the next version of the plugin.

    Regards,
    Hugh

    Hi Hugh,

    The plugin is great thus far (just recently got it installed). However, I’m having one major problem. I’m not getting a feed. According to the plugin info, it should be here: http://www.runnymedechurch.org/?feed=podcast

    If you could have a quick look it would be much appreciated.

    Thanks
    Steve

    PS – I should note that if I “View Page Source” and click through to the source from ?feed=podcast it generates an XML output, but it’s empty. That said, I’ve entered all the information necessary under the plugin settings, yet nothing is displayed.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Broken Feeds’ is closed to new replies.