﻿<?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>blog.mattiasnorell.com &#187; php</title>
	<atom:link href="http://blog.mattiasnorell.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mattiasnorell.com</link>
	<description>Otukt i otakt</description>
	<lastBuildDate>Tue, 07 Feb 2012 22:58:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>One way of killing the WordPress RSS-feed bug</title>
		<link>http://blog.mattiasnorell.com/2010/04/16/one-way-of-killing-the-wordpress-rss-feed-bug/</link>
		<comments>http://blog.mattiasnorell.com/2010/04/16/one-way-of-killing-the-wordpress-rss-feed-bug/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:05:28 +0000</pubDate>
		<dc:creator>Mattias</dc:creator>
				<category><![CDATA[In english]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.mattiasnorell.com/?p=533</guid>
		<description><![CDATA[As with all blogs you want a working RSS-feed. RSS is a good thing, as long as they validate. If they don&#8217;t validate, they suck. One day I ran into a nasty bug that killed my RSS-feed. Everything looked just &#8230; <a href="http://blog.mattiasnorell.com/2010/04/16/one-way-of-killing-the-wordpress-rss-feed-bug/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As with all blogs you want a working RSS-feed. RSS is a good thing, as long as they validate. If they don&#8217;t validate, they suck. One day I ran into a nasty bug that killed my RSS-feed. Everything looked just fine so the problem wasn&#8217;t in the RSS-function itself since it did generate the RSS-feed. The validator told me the feed began with a blank line, which is a big no-no. So I began looking thru all the files for my theme and in functions.php I found the little bastard that killed my feed. Between two php-tags I found the blank line.</p>
<p>So, this is what I found&#8230;</p>
<pre class="brush: php; font-size: 50%">...
&lt;/div&gt;
&lt;?php } ?&gt;

&lt;?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_title' =&gt; '&lt;h2&gt;',
...
</pre>
<p>&#8230; and removing the blank line&#8230;</p>
<pre class="brush: php; font-size: 50%">...
&lt;/div&gt;
&lt;?php } ?&gt;
&lt;?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_title' =&gt; '&lt;h2&gt;',
...
</pre>
<p>&#8230;made the RSS-feed validate.</p>
<p>Jay!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattiasnorell.com/2010/04/16/one-way-of-killing-the-wordpress-rss-feed-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bambuser for WordPress</title>
		<link>http://blog.mattiasnorell.com/2010/01/03/bambuser-for-wordpress/</link>
		<comments>http://blog.mattiasnorell.com/2010/01/03/bambuser-for-wordpress/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 17:42:24 +0000</pubDate>
		<dc:creator>Mattias</dc:creator>
				<category><![CDATA[In english]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.mattiasnorell.com/?p=344</guid>
		<description><![CDATA[Since I get quite a lot of hits on this post I&#8217;ve decided to move all the info to a dedicated page in the development section. That page will be updated when new versions of the plugin is released. Read &#8230; <a href="http://blog.mattiasnorell.com/2010/01/03/bambuser-for-wordpress/">Läs mer <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong><em>Since I get quite a lot of hits on this post I&#8217;ve decided to move all the info to a dedicated page in the development section. That page will be updated when new versions of the plugin is released. <a href="http://blog.mattiasnorell.com/development/bambuser-for-wordpress/" title="" target="">Read more about the plugin here.</a><br />
</em></strong></p>
<p>With this plugin you can post your livestreams and older clips from Bambuser on your blog running WordPress.</p>
<h3>Installation</h3>
<p>You can install the plugin from the administrationpanel or manually (the two steps below).</p>
<p>1. Unzip the zipfile and upload the files to the &#8216;/wp-content/plugins/&#8217; directory</p>
<p>2. Activate the plugin.</p>
<h3>Usage</h3>
<p>1. Enter the &#8216;[ bambuser id="XXXXXX"]&#8216; short code into your post. The id number is the numbers in the end of the bambuser url (ex. 012345 in the url &#8216;http://bambuser.com/channel/user/broadcast/012345&#8242;)</p>
<p>2. If you want, you can set the height and width of the player by adding the values to the shortcode like this, [ bambuser id="XXXXXX" height="300" width="400"]</p>
<h3>Download</h3>
<p>I guess you know how this works by now, so <a href="http://wordpress.org/extend/plugins/bambuser-for-wordpress/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/bambuser-for-wordpress/?referer=');">click here to download the plugin</a>. This will take you to the plugins page over at WordPress.org so that you always get the latest version.</p>
<h3>Demo</h3>
<iframe src="http://embed.bambuser.com/broadcast/453864" width="500" height="400" frameborder="0"></iframe>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattiasnorell.com/2010/01/03/bambuser-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

