<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ministrypool.com &#187; How-tos</title>
	<atom:link href="http://www.ministrypool.com/resources/how-tos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ministrypool.com</link>
	<description>resources, domains and other online stuff for churches!</description>
	<lastBuildDate>Mon, 11 May 2009 16:57:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DIY Podcasting on Wordpress</title>
		<link>http://www.ministrypool.com/resources/sermons/diy-podcasting-on-wordpress.html</link>
		<comments>http://www.ministrypool.com/resources/sermons/diy-podcasting-on-wordpress.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 11:10:27 +0000</pubDate>
		<dc:creator>James (the admin)</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Sermons]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.ministrypool.com/?p=134</guid>
		<description><![CDATA[We use wordpress to run my Church&#8217;s site including the sermon podcast, and being the geek that I am (!) I set it up myself.
I could have used a plugin such as PodPress or Sermon Browser, but I decided to do my own thing! So I thought I&#8217;d share how I did it. It&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>We use wordpress to run <a href="http://www.minehead-baptist.com/sermons/">my Church&#8217;s site including the sermon podcast</a>, and being the geek that I am (!) I set it up myself.</p>
<p>I could have used a plugin such as <a href="http://www.ministrypool.com/resources/sermons/podpress.html">PodPress</a> or <a href="http://www.ministrypool.com/resources/sermons/sermon-browser.html">Sermon Browser</a>, but I decided to do my own thing! So I thought I&#8217;d share how I did it. It&#8217;s a bit geeky, but rather nice!</p>
<p>It uses a few Wordpress plugins, some javascript and some custom Wordpress templates!</p>
<p>First of all I use a category called &#8216;Sermons&#8217; and every sermon is a new post within that Category. I then use Category Templates to change the way that the Sermons cat looks, so I can have an audio player, etc. of the posts just for that cat.</p>
<p>If you&#8217;ve not come across <a href="http://codex.wordpress.org/Category_Templates">Category Templates</a> before, they can be very useful.  You can custom design and name template files so category/archive indexes and single posts within that category are then used by WP automatically.</p>
<p>For category/archive indexes the template files are named like category-X.php (X being the ID of the category).</p>
<p>For single posts within a category it&#8217;s single-cat-X.php . (You need the &#8216;<a href="http://guff.szub.net/2005/07/21/post-templates-by-category/">Post Templates by Category</a>&#8216; plugin to get it to work for single posts.)</p>
<p>So that way I can have the category index and single posts for sermons looking just how I want them!</p>
<p>The main plugin used is called &#8216;<a href="http://coffee2code.com/wp-plugins/get-custom-field-values/">Get Custom Field Values</a>&#8216; and it allows you to put information in <a href="http://codex.wordpress.org/Using_Custom_Fields">Wordpress &#8216;Custom Fields</a>&#8216; into posts/category archives.</p>
<p>When adding a new sermon, I use a &#8216;custom field&#8217; called &#8216;enclosure&#8217; and enter the url of where I&#8217;ve uploaded the MP3 file.</p>
<p>So in my template files (both custom category index and single) I use the custom field twice and have:</p>
<blockquote class="code"><p>&lt;ul&gt;<br />
&lt;li class=&#8221;player&#8221;&gt;&lt;a class=&#8221;media&#8221; href=&#8221;&lt;?php echo c2c_get_custom(&#8216;enclosure&#8217;); ?&gt;&#8221;&gt;Listen to the Sermon&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&#8221;download&#8221;&gt;&lt;a href=&#8221;&lt;?php echo c2c_get_custom(&#8216;enclosure&#8217;); ?&gt;&#8221;&gt;Download the Sermon (mp3)&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p></blockquote>
<p>So it looks like it&#8217;s just going to put display the link to the sermon MP3 file twice, but it doesn&#8217;t!  Because the top one displays an online player.</p>
<p>For the online player I&#8217;ve used <a href="http://www.malsup.com/jquery/media/">the excellent jQuery Media Plugin</a> to do all the player embedding and coding for me.  It&#8217;s having the class of &#8216;media&#8217; on the link which kicks the media player into action! (<a href="http://jquery.com">jQuery</a>, is a javascript library that can make doing nifty things with javascript much simpler!)</p>
<p>If you want to display the date archives in a list in the sidebar, but only want to show them for a certain category (which makes sense in this case), the &#8216;<a href="http://kwebble.com/blog/2007_08_15/archives_for_a_category">Archives for a category</a>&#8216; plugin is excellent.</p>
<p>I can then take the feed for just the sermons cat (in my case it&#8217;s http://www.minehead-baptist.com/category/sermons/feed) and run that through the wonderful <a href="http://www.ministrypool.com/resources/useful-stuff/feedburner.html">FeedBurner</a> to burn the podcast feed. It them becomes the feed for the sermons &amp; podcast: <a href="http://feeds.feedburner.com/MBCSermons">http://feeds.feedburner.com/MBCSermons</a></p>
<p>On my site you&#8217;ll notice that the date archives in the sidebar and &#8216;How to listen&#8217; sections are toggled/faded up and down by clicking on the relevant link.  This is also done using jQuery. As I&#8217;m already loading the jQuery library to make the media player work, I can also use it to do the toggles!</p>
<p>The html for the toggles and links is:</p>
<blockquote class="code"><p>&lt;p&gt;&lt;a href=&#8221;#divtotoggle&#8221; class=&#8221;toggle&#8221;&gt;Link to Click&lt;/a&gt;&lt;/p&gt;</p>
<p>&lt;div id=&#8221;divtotoggle&#8221; class=&#8221;toggle&#8221;&gt;</p>
<p>&lt;p&gt;The additional information to show goes in here&lt;/p&gt;</p>
<p>&lt;/div&gt;</p></blockquote>
<p>And the javascript (best placed in a seperate .js file linked in the &lt;head&gt; section) is:</p>
<blockquote class="code"><p>$(document).ready(function(){</p>
<p>// hide all reveals<br />
$(&#8216;div.toggle, li.toggle&#8217;).hide();</p>
<p>// toggle reveals<br />
$(&#8216;a.toggle&#8217;).toggle(function(){<br />
var toggle = $(this).parent().next(&#8216;div.toggle, li.toggle&#8217;);<br />
toggle.fadeIn();<br />
}, function(){<br />
$(this).parent().next().fadeOut();<br />
});</p>
<p>});</p></blockquote>
<p>This looks for links with the class of &#8216;toggle&#8217; and toggles the next &lt;div&gt; or &lt;li&gt; it finds that also has a class of toggle.</p>
<p>I hope that&#8217;s not too confusing!</p>
<p>I know it sounds complex, but it isn&#8217;t really and I can add a new podcast post in about a minute!</p>
<p>If you&#8217;ve got any questions, please let a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ministrypool.com/resources/sermons/diy-podcasting-on-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Wordpress for Church Sites</title>
		<link>http://www.ministrypool.com/resources/site-builders/using-wordpress-for-church-sites.html</link>
		<comments>http://www.ministrypool.com/resources/site-builders/using-wordpress-for-church-sites.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 10:31:46 +0000</pubDate>
		<dc:creator>James (the admin)</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Site Builders]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.ministrypool.com/?p=135</guid>
		<description><![CDATA[The great guys over at Church Communications Pro have a great series of posts on how you can effectivly use Wordpress to run a Church site.
Although some of the information is a little out of date (due to new versions of Wordpress), it&#8217;s still well worth a read and covers most of what you&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<p>The great guys over at <a href="http://www.ministrypool.com/resources/design/church-communications-pro.html">Church Communications Pro</a> have a great series of posts on how you can effectivly use Wordpress to run a Church site.</p>
<p>Although some of the information is a little out of date (due to new versions of Wordpress), it&#8217;s still well worth a read and covers most of what you&#8217;ll need to know!</p>
<p>They also run a sister site with <a href="http://ithemes.com/">many good Wordpress theme &#8211; ithemes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ministrypool.com/resources/site-builders/using-wordpress-for-church-sites.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
