<?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>Fuller Web Development &#187; PHP</title>
	<atom:link href="http://braydon.com/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://braydon.com/blog</link>
	<description>JavaScript, PHP, and Python Web Development by Braydon Fuller</description>
	<lastBuildDate>Fri, 06 Aug 2010 08:05:32 +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>WordPress URL Rewrite</title>
		<link>http://braydon.com/blog/2010/07/wordpress-url-rewrite/</link>
		<comments>http://braydon.com/blog/2010/07/wordpress-url-rewrite/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 01:11:56 +0000</pubDate>
		<dc:creator>Braydon Fuller</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://braydon.com/blog/?p=853</guid>
		<description><![CDATA[WordPress has it&#8217;s own URL management system, and when developing websites it&#8217;s convenient to be able to add new rules dynamically. I&#8217;ve used this for two websites, music.vtechphones.com and for a site I am building now. It&#8217;s also great to keep all modifications in one place, so upgrades are easier, and easier for another developer [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress has it&#8217;s own URL management system, and when developing websites it&#8217;s convenient to be able to add new rules dynamically. I&#8217;ve used this for two websites, <a href="http://music.vtechphones.com">music.vtechphones.com</a> and for a site I am building now. It&#8217;s also great to keep all modifications in one place, so upgrades are easier, and easier for another developer to pick up!</p>
<p>Create a new plugin, and you place your rules into it doing something similar to the PHP below:</p>
<pre>

add_filter('rewrite_rules_array','wp_insert_my_rewrite_rules');
add_filter('init','flush_rules');

// Remember to flush_rules() when adding rules
function flush_rules(){
  global $wp_rewrite;
  $wp_rewrite->flush_rules();
}

// Adding a new rule
function wp_insert_my_rewrite_rules($rules){
  $newrules = array();

  $newrules['(articles)$'] = 'index.php?post_type=article';
  $newrules['(gallery)$'] = 'index.php?post_type=gallery';
  $newrules['(projects)$'] = 'index.php?post_type=project';
  $newrules['(blog)$'] = 'index.php?post_type=post';

  return $newrules + $rules;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://braydon.com/blog/2010/07/wordpress-url-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;The Sounds of VTech&#8221; Reboot</title>
		<link>http://braydon.com/blog/2010/04/the-sounds-of-vtech-reboot/</link>
		<comments>http://braydon.com/blog/2010/04/the-sounds-of-vtech-reboot/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 18:43:09 +0000</pubDate>
		<dc:creator>Braydon Fuller</dc:creator>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Telecommute]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[VTech]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://braydon.com/blog/?p=238</guid>
		<description><![CDATA[Working with designer Brent Rollins, the team at VTech; Justin, Joy and Tom, and Logan for quality control testing, we have dropped a new version of The Sounds of VTech music blog this last week. It&#8217;s been a month or more in the making and we&#8217;ve finally got it up. Take a look and listen!

]]></description>
			<content:encoded><![CDATA[<p>Working with designer Brent Rollins, the team at VTech; Justin, Joy and Tom, and <a href="http://dreamlogan.com/">Logan</a> for quality control testing, we have dropped a new version of <a href="http://music.vtechphones.com">The Sounds of VTech</a> music blog this last week. It&#8217;s been a month or more in the making and we&#8217;ve finally got it up. Take a look and listen!</p>
<p><a href="http://music.vtechphones.com"><img src="http://braydon.com/blog/wp-content/uploads/2010/04/Screenshot-4-e1272393651766.png" alt="" title="The Sounds of VTech" width="500" height="386" class="alignnone size-full wp-image-239" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://braydon.com/blog/2010/04/the-sounds-of-vtech-reboot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wordpress Video Plugin for VTech</title>
		<link>http://braydon.com/blog/2009/08/wordpress-video-plugin/</link>
		<comments>http://braydon.com/blog/2009/08/wordpress-video-plugin/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 04:04:21 +0000</pubDate>
		<dc:creator>Braydon Fuller</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Telecommute]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[VTech]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://braydon.com/blog/?p=21</guid>
		<description><![CDATA[MUSIC.VTECHPHONES.COM

Title: Univers Video WordPress Plugin (formerly called FoxyVideo)
Client: VTech
Date: August 2009
Languages: PHP, JavaScript, ActionScript, and Bash
Description: A plugin for WordPress that provides a HTML5 and Flash video player playback and video encoding.

]]></description>
			<content:encoded><![CDATA[<p><a href="http://music.vtechphones.com">MUSIC.VTECHPHONES.COM</a></p>
<div id="attachment_17" class="wp-caption alignnone" style="width: 510px"><a href="http://music.vtechphones.com"><img class="size-full wp-image-17" title="univers_video" src="http://braydon.com/blog/wp-content/uploads/2010/02/univers_video.png" alt="" width="500" height="450" /></a><p class="wp-caption-text">View of inserting video into a post from the WordPress Media Library</p></div>
<ul>
<li>Title: <a href="http://universvideo.org/">Univers Video WordPress Plugin</a> (formerly called FoxyVideo)</li>
<li>Client: <a href="http://music.vtechphones.com/">VTech</a></li>
<li>Date: August 2009</li>
<li>Languages: <strong>PHP</strong>, <strong>JavaScript</strong>, <strong>ActionScript</strong>, and <strong>Bash</strong></li>
<li>Description: A plugin for WordPress that provides a HTML5 and Flash video player playback and video encoding.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://braydon.com/blog/2009/08/wordpress-video-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
