Broken Feeds
-
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] => https://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.
https://www.ads-software.com/extend/plugins/seriously-simple-podcasting/
- The topic ‘Broken Feeds’ is closed to new replies.