Forum

This forum is now read-only. Support is provided at https://wordpress.org/support/plugin/sermon-browser/

Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
RFC :: Yahoo Media RSS Extension
1 September, 2011
4:36 pm
sfeather
Atlanta, GA
New Member
Members
Forum Posts: 2
Member Since:
13 May, 2011
sp_UserOfflineSmall Offline

Hello, all.
I'm Stephen Feather and I work with Bob Feather (TIBC) building websites and custom mobile applications for small churches. We have been recommending the Sermon-Browser plugin to our clients for the management of their sermons because it is just so easy to implement.

When we started adding the mobile application aspect, we ran into a small problem with the Apple requirements for streaming. We ended up being forced to implement HTTP Live Streaming (HLS) in order to get past the App Store gatekeepers. In Sermon-Browser we added a URL link to the .m38u file the HLS process builds. We added the .m3u8 extension as an allowed extension, and we saw the .m3u8 file appear as an item in the RSS feed. However, this created 2 different RSS entries per sermon. An undesired side effect. Essentially what we desired in our RSS feed was a single sermon that had multiple media entities associated with it. Additionally, the clients were streaming their videos from Vimeo and not as standard .m4v or .mp4 files, so an rss entry for the attached videos were not being created.

We came across http://video.search.yahoo.com/mrss/; ", "-",strtolower(sb_xml_entity_encode(stripslashes($sermon->preacher))))."-mobile.png";
$speakerimageFILE = $_SERVER{'DOCUMENT_ROOT'}."/wp-content/uploads/sermons/images/".str_replace(" ", "-",strtolower(sb_xml_entity_encode(stripslashes($sermon->preacher))))."-mobile.png";
if (file_exists($speakerimageFILE)){
echo "<thumbnail>".$speakerimageURL."</thumbnail>";}
else {
echo "<thumbnail>http://maranathayouthranch.com.....il&gt;;

}
?>

Or by series:

<?
$seriesimageURL = "http://maranathayouthranch.com.....ns/images/; ", "-",strtolower(sb_xml_entity_encode(stripslashes($sermon->series))))."-mobile.png";
$seriesimageFILE = $_SERVER{'DOCUMENT_ROOT'}."/wp-content/uploads/sermons/images/".str_replace(" ", "-",strtolower(sb_xml_entity_encode(stripslashes($sermon->series))))."-mobile.png";
if (file_exists($seriesimageFILE)){
echo "<thumbnail>".$seriesimageURL."</thumbnail>";}
else {
echo "<thumbnail>http://maranathayouthranch.com.....il&gt;;

}
?>

These are very raw first gen hacks for functionality.

  • We need to add a user setting to switch between speaker/series thumbnails.
  • The speaker image references need to be pulled from the sermon-browser tables for ease of management.
  • media:thumbnail needs added
  • media:content:medium needs added

XML Output as reference:

<item>

<link>http://www.maranathayouthranch.....nk&gt;
<audioLink>http://www.maranathayouthranch.....nk&gt;
<thumbnail>http://maranathayouthranch.com.....il&gt; <itunes:author>Tom Gilliam</itunes:author>
<speaker>Tom Gilliam</speaker>
<enclosure url="http://www.maranathayouthranch.....&quot; length="10334403" type="audio/mpeg" />
<itunes:duration>57:23</itunes:duration>
<pubDate>Fri, 08 Jul 2011 19:00:00 +0000</pubDate>
<guid>http://www.maranathayouthranch.....id&gt;

<media:content url='http://www.maranathayouthranch.com/sermons/?show&amp;file_name=placeholder.pdf' type="application/pdf" expression="full" /></media:content>
<media:content url='http://www.maranathayouthranch.com/sermons/?show&amp;file_name=2011-07-08-1900-tom-gilliam.mp3' type="audio/mpeg" expression="full" /></media:content>
<media:content url='http://www.maranathayouthranch.com/wp-content/uploads/sermons/streaming/2011-07-08-1900-tom-gilliam/prog_index.m3u8' type="application/x-mpegURL" expression="full" /></media:content>';

</item>

Comments welcomed.

Forum Timezone: Europe/London
Most Users Ever Online: 381
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Rich Brown: 358
Matt Schlueter: 93
Mindy: 72
Don Johnson: 65
anointed: 57
0be1: 55
Member Stats:
Guest Posters: 7
Members: 3188
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1713
Posts: 7499
Newest Members:
marktest, deatles50, ValeriaGoodriz, dapedPup, oapedPup, Margarettoimb
Moderators: Ben Miller: 1628
Administrators: Mark Barnes: 435