<?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>Ryan Maffit &#187; Web Development</title>
	<atom:link href="http://blog.ryanmaffit.com/category/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ryanmaffit.com</link>
	<description>The blog of a web developer</description>
	<lastBuildDate>Thu, 15 Jul 2010 00:29:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WordPress Shell Update Script</title>
		<link>http://blog.ryanmaffit.com/web-development/wordpress-web-development/wordpress-shell-update-script.html</link>
		<comments>http://blog.ryanmaffit.com/web-development/wordpress-web-development/wordpress-shell-update-script.html#comments</comments>
		<pubDate>Thu, 15 Jul 2010 00:21:17 +0000</pubDate>
		<dc:creator>Ryan Maffit</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.ryanmaffit.com/?p=181</guid>
		<description><![CDATA[Hello everyone, today I am going to share with you a shell script I have been using to easily update my WordPress blog installation (and can easily be expanded to upgrade multiple blogs as well). The script I wrote automatically &#8230; <a href="http://blog.ryanmaffit.com/web-development/wordpress-web-development/wordpress-shell-update-script.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello everyone, today I am going to share with you a shell script I have been using to easily update my WordPress blog installation (and can easily be expanded to upgrade multiple blogs as well). The script I wrote automatically downloads the latest version of WordPress, extracts it, and updates your blog files. In order to run this script you will need SSH access and the ability to run shell scripts. This script was written to work with my host which runs on cPanel, but it can easily be altered to work on other systems as well by modify the directories. Below are instructions on how you can go about using this shell script to easily upgrade your blog.</p>
<ol>
<li>Login to SSH with your cPanel username and password</li>
<li>Create a directory called upgrade_blog/ in your home directory (mkdir ~/upgrade_blog)</li>
<li>Navigate to the upgrade_blog directory (cd ~/upgrade_blog)</li>
<li>Create a new file called &#8220;run.sh&#8221; using your text editor of choice (I use nano)</li>
<li>Paste the following code into the run.sh file:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rdf</span> ~<span style="color: #000000; font-weight: bold;">/</span>upgrade_blog<span style="color: #000000; font-weight: bold;">/</span>latest.zip ~<span style="color: #000000; font-weight: bold;">/</span>upgrade_blog<span style="color: #000000; font-weight: bold;">/</span>wordpress<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>wordpress.org<span style="color: #000000; font-weight: bold;">/</span>latest.zip
<span style="color: #c20cb9; font-weight: bold;">unzip</span> latest.zip
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> ~<span style="color: #000000; font-weight: bold;">/</span>upgrade_blog<span style="color: #000000; font-weight: bold;">/</span>wordpress<span style="color: #000000; font-weight: bold;">/*</span> ~<span style="color: #000000; font-weight: bold;">/</span>public_html<span style="color: #000000; font-weight: bold;">/</span>blog<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

</li>
<li>Save the file</li>
<li>To update your blog just simply navigate to the upgrade_blog/ directory in SSH and execute the run.sh file (sh run.sh)</li>
<li>The script automatically downloads the latest version of WordPress and updates your blog accordingly.</li>
<li>Once the script has finished executing open up your blog and go to your admin. WordPress will ask you to upgrade your database if it is needed.</li>
<li>If you want to upgrade multiple blogs just copy the last line from the script and change the directory it copies the WordPress files to.</li>
<li><strong>Note: </strong>This script is based off of of the assumption that your blog is located in public_html/blog if your blog is located elsewhere change it.</li>
</ol>
<p>And that&#8217;s all there is to it. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanmaffit.com/web-development/wordpress-web-development/wordpress-shell-update-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purely CSS-Based Dropdown Menu</title>
		<link>http://blog.ryanmaffit.com/web-development/css/purely-css-based-dropdown-menu.html</link>
		<comments>http://blog.ryanmaffit.com/web-development/css/purely-css-based-dropdown-menu.html#comments</comments>
		<pubDate>Fri, 05 Jun 2009 08:19:45 +0000</pubDate>
		<dc:creator>Ryan Maffit</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[dropdown]]></category>

		<guid isPermaLink="false">http://blog.ryanmaffit.com/?p=104</guid>
		<description><![CDATA[Here is a purely CSS-based dropdown menu that I threw together real quick for my blog. It doesn&#8217;t use any javascript and works in all major latest browsers (Not you IE6 &#8211; You need to die already ) If you &#8230; <a href="http://blog.ryanmaffit.com/web-development/css/purely-css-based-dropdown-menu.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a purely CSS-based dropdown menu that I threw together real quick for my blog. It doesn&#8217;t use any javascript and works in all major latest browsers (Not you IE6 &#8211; You need to die already <img src='http://blog.ryanmaffit.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>If you have any issues or questions leave them in a comment below.</p>
<p><strong>Please Note:</strong> This is just a simple example for you to base your own menus off of. It does not take into account browser screen width or height (to prevent opening menus off-screen) because that would require Javascript, maybe in the future I will create another post about how to make a JavaScript based dropdown menu that uses Javascript to make sure the menus don&#8217;t appear off-screen.</p>
<p><a href="http://blog.ryanmaffit.com/projects/css-dropdown-menu/css-dropdown-menu-1.0.zip">Download</a> &#8211; <a href="http://blog.ryanmaffit.com/projects/css-dropdown-menu/">Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanmaffit.com/web-development/css/purely-css-based-dropdown-menu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Random Image Script</title>
		<link>http://blog.ryanmaffit.com/web-development/php/php-random-image-script.html</link>
		<comments>http://blog.ryanmaffit.com/web-development/php/php-random-image-script.html#comments</comments>
		<pubDate>Fri, 05 Jun 2009 07:48:36 +0000</pubDate>
		<dc:creator>Ryan Maffit</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.ryanmaffit.com/?p=98</guid>
		<description><![CDATA[This script takes a list of images with links and randomly outputs one of them. &#60;img src=&#34;\&#34; alt=&#34;\&#38;quot;&#38;quot;.$img&#91;1&#93;.&#38;quot;\&#38;quot;&#34; /&#62;&#34;; ?&#38;gt;]]></description>
			<content:encoded><![CDATA[<p>This script takes a list of images with links and randomly outputs one of them.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>img src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> alt=&quot;</span>\<span style="color: #339933;">&amp;</span>quot<span style="color: #339933;">;&amp;</span>quot<span style="color: #339933;">;.</span><span style="color: #000088;">$img</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.&amp;</span>quot<span style="color: #339933;">;</span>\<span style="color: #339933;">&amp;</span>quot<span style="color: #339933;">;</span><span style="color: #0000ff;">&quot; /&gt;&quot;</span><span style="color: #339933;">;</span>
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ryanmaffit.com/web-development/php/php-random-image-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic PHP Font Generator</title>
		<link>http://blog.ryanmaffit.com/web-development/php/dynamic-php-font-generator.html</link>
		<comments>http://blog.ryanmaffit.com/web-development/php/dynamic-php-font-generator.html#comments</comments>
		<pubDate>Fri, 05 Jun 2009 05:40:00 +0000</pubDate>
		<dc:creator>Ryan Maffit</dc:creator>
				<category><![CDATA[Featured Content]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://blog.ryanmaffit.com/?p=74</guid>
		<description><![CDATA[This is a little script I expanded upon that I found from one of my previous clients. The original script was created by Stewart Rosenberger. The WP Now website uses this script to dynamically generate testimonial signatures. Dynamic PHP Font &#8230; <a href="http://blog.ryanmaffit.com/web-development/php/dynamic-php-font-generator.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a little script I expanded upon that I found from one of my previous clients. The original script was created by Stewart Rosenberger. The WP Now website uses this script to dynamically generate testimonial signatures.<br />
<span id="more-74"></span><br />
<a href="http://blog.ryanmaffit.com/wp-content/uploads/2009/06/dynamic_php_font_v10.zip"></a><a href="http://blog.ryanmaffit.com/wp-content/uploads/2009/06/dynamic_php_font_v10.zip">Dynamic PHP Font Generator Version 1.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanmaffit.com/web-development/php/dynamic-php-font-generator.html/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>WP Now Launched &amp; New Theme</title>
		<link>http://blog.ryanmaffit.com/web-development/wp-now-launched-new-theme.html</link>
		<comments>http://blog.ryanmaffit.com/web-development/wp-now-launched-new-theme.html#comments</comments>
		<pubDate>Fri, 05 Jun 2009 02:23:32 +0000</pubDate>
		<dc:creator>Ryan Maffit</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Featured Content]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wpnow]]></category>

		<guid isPermaLink="false">http://blog.ryanmaffit.com/?p=39</guid>
		<description><![CDATA[Hello everyone, Today, with two colleagues of mine, we have launched a brand new premium wordpress themes website.  Check it out at http://www.wpnow.com/. I have also uploaded one of the WP Now themes I coded (Elements) to this blog because &#8230; <a href="http://blog.ryanmaffit.com/web-development/wp-now-launched-new-theme.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>Today, with two colleagues of mine, we have launched a brand new premium wordpress themes website.  Check it out at http://www.wpnow.com/.<br />
I have also uploaded one of the WP Now themes I coded (Elements) to this blog because I really liked it <img src='http://blog.ryanmaffit.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , any comments feel free to post below!</p>
<p>Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanmaffit.com/web-development/wp-now-launched-new-theme.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Welcome to my blog</title>
		<link>http://blog.ryanmaffit.com/web-development/welcome-to-my-blog.html</link>
		<comments>http://blog.ryanmaffit.com/web-development/welcome-to-my-blog.html#comments</comments>
		<pubDate>Tue, 05 May 2009 04:46:31 +0000</pubDate>
		<dc:creator>Ryan Maffit</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://blog.ryanmaffit.com/?p=1</guid>
		<description><![CDATA[Hello everyone and welcome to my personal blog. For those of you wondering what has happened to all of my websites (including rm249.com, rm249.net and maffit.me), my server&#8217;s hard drive experienced a hard drive crash early saturday morning and everything &#8230; <a href="http://blog.ryanmaffit.com/web-development/welcome-to-my-blog.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello everyone and welcome to my personal blog. For those of you wondering what has happened to all of my websites (including rm249.com, rm249.net and maffit.me), my server&#8217;s hard drive experienced a hard drive crash early saturday morning and everything was lost. Rather than re-creating different accounts for all of my individual websites, I have now combined them all into one. I will be using this temporary design and website until I can get around to designing and coding a new one.</p>
<p>I always planned on making myself a new blog for posting web development related stuff but I never imagined it would happen like this.</p>
<p>If anyone has any questions or concerns please feel free to comment to this post and I will respond ASAP.</p>
<p>Ryan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ryanmaffit.com/web-development/welcome-to-my-blog.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
