<?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>rhymes with milk &#187; wordpress</title>
	<atom:link href="http://www.rhymeswithmilk.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rhymeswithmilk.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 04 Sep 2010 02:51:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Music</title>
		<link>http://www.rhymeswithmilk.com/geek/music/</link>
		<comments>http://www.rhymeswithmilk.com/geek/music/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 05:47:45 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[ftw]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rhymeswithmilk.com/?p=136</guid>
		<description><![CDATA[The Blow &#8211; Hey Boy I now have audio! This is actually a plugin (the WordPress Audio Player, which only a few days ago came out with what I hear was a much-needed update), which is something WordPress does really well (plugins, that is). Finding, installing, and activating plugins is never more than a few [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rhymeswithmilk.com/media/audio/TheBlow-HeyBoy.mp3">The Blow &#8211; Hey Boy</a></p>
<p>I now have audio!</p>
<p>This is actually a plugin (the <a href="http://wpaudioplayer.com/">WordPress Audio Player</a>, which only a few days ago came out with what I hear was a much-needed update), which is something WordPress does really well (plugins, that is).  Finding, installing, and activating plugins is never more than a few convenient clicks away.  But of course, as has been my luck with this theme so far, it wasn&#8217;t as easy as that for me.</p>
<p>After installing and activating, I uploaded the above mp3 via FTP<span style="color: #ff0000;">*</span> and created a new post with the suggested [audio song.mp3] insertion format.  I got a big fat error saying:</p>
<blockquote><p>Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a href="http://get.adobe.com/flashplayer/">here</a>. You also need to have JavaScript enabled in your browser.</p></blockquote>
<p>Flash is up-to-date and JS is enabled, so that wasn&#8217;t the problem.  Being that this is a fairly common error message to get with this plugin, I was able to find a lot of support in the WP forums.  Many people suggested adding <code>&lt;?php wp_head(); ?&gt;</code> to the head section of the blog.  This somehow triggers the plugin or something, and it fixed the problem for most people.  After adding it, a bunch of new code appeared in the head section of my source code, so I was hopeful that this solved it.</p>
<p>It didn&#8217;t.  Same error kept coming up.</p>
<p>And since it fixed the problem for most people, there was little support beyond that in the forums.  I downloaded another audio player that simply loads the WP Audio Player when you click on a link, and it had no problems.  Obviously it wasn&#8217;t a problem with my browser, Flash, or even my blog.  There was a problem with how the plugin was communicating with the theme (it actually worked just fine when I switched to the WordPress default theme).  Though most complicated PHP is over my head, I was forced to dive into the plugin&#8217;s main file ([PLUGIN DIR]/audio-player/audio-player.php) to see if I could spot where the error was being triggered.</p>
<p>Miraculously, I was able to decipher enough to figure out that the plugin was trying to add a small snippet of code to the page&#8217;s footer.  A light bulb went off when I saw that.  While doing research on what the wp_head() function does, I noticed <a href="http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks">somewhere</a> that there was an equivalent wp_footer() function.  I put that into my footer.php file right before the <code>&lt;/body&gt;</code> tag, and what do you know?  I now have audio.</p>
<p>Slowly but surely this blog is coming together.</p>
<p><span style="color: #ff0000;">*</span>WordPress also has a really simple media-upload tool built in which I would have used, but naturally I ran into roadblocks with it as well.  My server allows max upload sizes of 2MB by default, and after some research I was told to edit my php.ini file.  Using HostMonster&#8217;s PHP Config tool, I created a new default php.ini file and edited it accordingly.  It didn&#8217;t work.  I don&#8217;t know if I just have to wait for the changes to take effect or if it just didn&#8217;t work.  I guess I&#8217;ll try <a href="http://wordpress.org/support/topic/277832?replies=16#post-1096106">this</a> if I still can&#8217;t upload bigger files by tomorrow.</p>
<p><strong>UPDATE</strong>: I just uploaded a 6MB song, so apparently editing the php.ini file worked.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rhymeswithmilk.com/geek/music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.rhymeswithmilk.com/media/audio/TheBlow-HeyBoy.mp3" length="4993024" type="audio/mpeg" />
		</item>
	</channel>
</rss>
