<?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>David James Whitely &#187; PHP</title>
	<atom:link href="http://davidwhitely.com/category/notes/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidwhitely.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 Feb 2012 19:31:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Web Tools</title>
		<link>http://davidwhitely.com/2009/12/web-tools/</link>
		<comments>http://davidwhitely.com/2009/12/web-tools/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 00:41:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Templates]]></category>

		<guid isPermaLink="false">http://davidwhitely.com/?p=293</guid>
		<description><![CDATA[This is going to be a list of web development tools that I use. Right now, it&#8217;s pretty small. Inspired by this page from elementiks.com. Templates: Bulletproof Templates &#8211; Joomla Blank Skeleton Templates Sandbox by Plaintext &#8211; WordPress Blank Skeleton Template jQuery: Visual jQuery jQuery API]]></description>
			<content:encoded><![CDATA[<p>This is going to be a list of web development tools that I use. Right now, it&#8217;s pretty small. Inspired by <a href="http://elementiks.com/web_resources.php">this</a> page from <a href="http://elementiks.com/">elementiks.com.</a></p>
<p><strong>Templates:</strong><br />
<a href="http://www.bulletprooftemplates.com/forum/index.php?f=2&#038;t=1&#038;rb_v=viewtopic">Bulletproof Templates &#8211; Joomla Blank Skeleton Templates</a><br />
<a href="http://www.plaintxt.org/themes/sandbox/">Sandbox by Plaintext &#8211; WordPress Blank Skeleton Template</a></p>
<p><strong>jQuery:</strong><br />
<a href="http://visualjquery.com/">Visual jQuery</a><br />
<a href="http://api.jquery.com/">jQuery API</a></p>
]]></content:encoded>
			<wfw:commentRss>http://davidwhitely.com/2009/12/web-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventures in Aspell &#8211; Installing and Configuring for Dreamhost</title>
		<link>http://davidwhitely.com/2009/12/adventures-in-aspell-installing-and-configuring-for-dreamhost/</link>
		<comments>http://davidwhitely.com/2009/12/adventures-in-aspell-installing-and-configuring-for-dreamhost/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 11:32:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Aspell]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://davidwhitely.com/?p=279</guid>
		<description><![CDATA[I&#8217;m working on a special project involving Aspell, here are some instructions for updating Aspell on your Dreamhost server. This page from Dreamhost has proven to be extremely useful. wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2 tar -xvzf aspell-0.60.6.tar.gz tar -xvjf aspell6-en-6.0-0.tar.bz2 mkdir usr cd aspell-0.60.6 ./configure --prefix=$HOME/usr make make install make clean cd .. Then nano .bash_profile [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a special project involving <a href="http://aspell.net/" target="_blank">Aspell,</a> here are some instructions for updating Aspell on your Dreamhost server.<span id="more-279"></span><br />
<a href="http://wiki.dreamhost.com/Aspell" target="_blank">This</a> page from Dreamhost has proven to be extremely useful.<br />
<code>wget ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz<br />
wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2<br />
tar -xvzf aspell-0.60.6.tar.gz<br />
tar -xvjf aspell6-en-6.0-0.tar.bz2<br />
mkdir usr<br />
cd aspell-0.60.6<br />
./configure --prefix=$HOME/usr<br />
make<br />
make install<br />
make clean<br />
cd ..</code><br />
Then<br />
<code>nano .bash_profile</code><br />
Add Aspell to your path:<br />
<code>PATH=$HOME/usr/bin/:$HOME/usr/share/:$PATH<br />
export PATH</code><br />
Save changes, logout and back in to see changes to your path.<br />
Then<br />
<code>cd aspell6-en-6.0-0<br />
./configure<br />
make<br />
make install<br />
make clean<br />
cd ..</code></p>
<p>That&#8217;s it! Type &#8220;aspell -v&#8221; to make sure you&#8217;re now running version 6, not 3, which is what Dreamhost has by default. Disregard what it says about changing spellchecker.php, it&#8217;s still necessary to force utf-8 (at least in my tests). Now it&#8217;s time to start hacking <a href="http://spellerpages.sourceforge.net/" target="_blank">Speller Pages.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://davidwhitely.com/2009/12/adventures-in-aspell-installing-and-configuring-for-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually call Joomla Module to store as PHP variable, Allow HTML in Menu Title</title>
		<link>http://davidwhitely.com/2009/11/manually-call-joomla-module-to-store-as-php-variable-allow-html-in-menu-title/</link>
		<comments>http://davidwhitely.com/2009/11/manually-call-joomla-module-to-store-as-php-variable-allow-html-in-menu-title/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 04:09:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://davidwhitely.com/projects/2009/11/test/</guid>
		<description><![CDATA[This is a handy piece of code I use for whenever I need to load the output of a Joomla module as a PHP variable. One common use for this is to allow for HTML tags in menu titles. It&#8217;s also handy if you need to do string searches. &#38;lt;? // extra code to make [...]]]></description>
			<content:encoded><![CDATA[<p>This is a handy piece of code I use for whenever I need to load the output of a Joomla module as a PHP variable. One common use for this is to allow for HTML tags in menu titles. It&#8217;s also handy if you need to do string searches.<span id="more-122"></span></p>
<p><code> &amp;lt;?<br />
// extra code to make this work<br />
$style = -2; // set the style<br />
$position = "column4"; // set the position of the modules to be loaded<br />
// end of extra code<br />
&lt;br/&gt;<br />
$document   = &amp;amp;JFactory::getDocument();<br />
$renderer   = $document-&amp;gt;loadRenderer('module');<br />
$params      = array('style'=&amp;gt;$style);<br />
&lt;br/&gt;<br />
$contents = '';<br />
foreach (JModuleHelper::getModules($position) as $mod)  {<br />
$contents .= $renderer-&amp;gt;render($mod, $params);<br />
}<br />
&lt;br/&gt;<br />
// html_entity_decode allows html from the menu title to parse normally<br />
// otherwise, just do whatever you need to $contents<br />
echo html_entity_decode($contents);<br />
?&amp;gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://davidwhitely.com/2009/11/manually-call-joomla-module-to-store-as-php-variable-allow-html-in-menu-title/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

