
<?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>allaboutduncan &#187; Code</title>
	<atom:link href="http://www.allaboutduncan.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.allaboutduncan.com</link>
	<description>my ramblings about fatherhood, baseball, the Atlanta Braves, homebrewing, web design and jquery</description>
	<lastBuildDate>Wed, 21 Dec 2011 20:07:14 +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>Restoring WordPress from Amazon S3 Backup</title>
		<link>http://www.allaboutduncan.com/2011/restoring-wordpress-from-amazon-s3-backup/</link>
		<comments>http://www.allaboutduncan.com/2011/restoring-wordpress-from-amazon-s3-backup/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 16:23:01 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/2011/restoring-wordpress-from-amazon-s3-backup/</guid>
		<description><![CDATA[After running websites for over a decade now, I’ve learned it’s always nice to have a backup (or three). Sure, you can download your files every now and then, but chances are they won’t be 100% current. A few months &#8230; <a href="http://www.allaboutduncan.com/2011/restoring-wordpress-from-amazon-s3-backup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After running websites for over a decade now, I’ve learned it’s always nice to have a backup (or three). Sure, you can download your files every now and then, but chances are they won’t be 100% current. A few months back I decided to look into backing up WordPress sites to Amazon’s S3 service. It took a bit of research, some SSH, and some PHP coding, but I’ve had a nice workable solution up and running for a while now.</p>
<p>While planning to move a site to a new server, I thought I’d try to restore from one of these backups. Surely downloading and uploading 4 TAR files would be easier than downloading/uploading thousands of files and images. It was, but there was a bit of trial and error.</p>
<p>In an effort to speed up the process, should I ever need to restore a crashed site, I’m going to document the process here.</p>
<p>1. First of all, I had to download all the necessary files from my <strong>Amazon S3</strong> account. This was basically the httpdocs folder, plus the MySQL.</p>
<p>2. Next, upload the files to the <strong>root </strong>web directory.</p>
<p>3. SSH into the site and navigate to the root of the site.</p>
<p>4. Combine the files, which have been split into 300MB chunks, using the ‘cat’ command. The filenames should resemble <em>httpdocs_date.tar.gz.p00, httpdocs_date.tar.gz.p01</em>, etc. The syntax looks like this:</p>
<blockquote><p><strong>cat httpdocs* &gt; filename.tar.gz</strong></p></blockquote>
<p>That will combine all parts into one file named <strong>filename.tar.gz</strong></p>
<p>5. Decompress the GZipped file using:</p>
<blockquote><p><strong>gzip -d filename.tar.gz</strong></p></blockquote>
<p>and then decompress the TAR file using:</p>
<blockquote><p><strong>tar -xvf filename.tar</strong></p></blockquote>
<p>6. That should restore all the files to the httpdocs directory. There&#8217;s one last thing you may need to do. You might have to change the owner of the httpdocs directory using the chown command, like this:</p>
<blockquote><p><strong>chown -R USERNAME httpdocs</strong></p></blockquote>
<p>That will let the public see the files once the database is restored (that’s a topic for another post).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2011/restoring-wordpress-from-amazon-s3-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Launches Online Fonts</title>
		<link>http://www.allaboutduncan.com/2010/google-launches-online-fonts/</link>
		<comments>http://www.allaboutduncan.com/2010/google-launches-online-fonts/#comments</comments>
		<pubDate>Fri, 21 May 2010 14:48:37 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/2010/google-launches-online-fonts/</guid>
		<description><![CDATA[The Google Font Directory lets you browse all the fonts available via the Google Font API. All fonts in the directory are available for use on your website under an open source license and served by Google servers. View font &#8230; <a href="http://www.allaboutduncan.com/2010/google-launches-online-fonts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class='posterous_autopost'>
<div class="posterous_bookmarklet_entry">
<blockquote>
<div>
<p>The Google Font Directory lets you browse all the fonts available via the  <a href="http://code.google.com/apis/webfonts/">Google Font API</a>. All fonts in the directory are available  for use on your website under an open source license and served by Google servers.</p>
<p>View font details to get the code needed to embed the font on your web site. Please also visit our  <a href="http://code.google.com/apis/webfonts/docs/getting_started.html" title="Developer's Guide - Google Font API - Google Code">quick start guide</a>  and <a href="http://code.google.com/apis/webfonts/faq.html" title="Google Font API - Google Code">FAQ page</a>.  For more help and suggestions, use our <a href="http://www.google.com/moderator/#16/e=66ca" title="Google Moderator">moderator page</a></p>
</div>
</blockquote>
<div class="posterous_quote_citation">via <a href="http://code.google.com/webfonts">code.google.com</a></div>
<p>Use web fonts on your site with just a few lines of code &#8211; and Google hosts the font for you. Much easier than SIFR or any other method that&#8217;s previously been available &#8211; and it works on IE6.</p>
</div>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via web</a>   from <a href="http://allaboutduncan.posterous.com/google-launches-online-fonts">Phillip Duncan&#8217;s posterous</a>  </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2010/google-launches-online-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 Features Big Admin Changes</title>
		<link>http://www.allaboutduncan.com/2008/wordpress-25-features-big-admin-changes/</link>
		<comments>http://www.allaboutduncan.com/2008/wordpress-25-features-big-admin-changes/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 14:16:07 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[2.5]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2008/wordpress-25-features-big-admin-changes/</guid>
		<description><![CDATA[Similar to how 2.3 overhauled the tagging, category and classification system, version 2.5 of WordPress will overhaul the admin area. More than just a visual overhaul (which was needed), WordPress 2.5 will feature better admin functionality and an improved user &#8230; <a href="http://www.allaboutduncan.com/2008/wordpress-25-features-big-admin-changes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Similar to how 2.3 overhauled the tagging, category and classification system, version 2.5 of WordPress will overhaul the admin area.</p>
<p>More than just a visual overhaul (which was needed), WordPress 2.5 will feature better admin functionality and an improved user interface thanks in part to <a href="http://www.happycog.com/" target="_blank">Happy Cog</a>.</p>
<p>There&#8217;s a <a title="WordPress 2.5 Sneak Peek" href="http://wordpress.org/development/2008/03/25-sneak-peek/" target="_blank">nice article on WordPress.org</a> detailing the work that went into the new Admin interface. <a title="WordPress 2.5 Sneak Peak" href="http://wordpress.org/development/2008/03/25-sneak-peek/" target="_blank">Check it out</a>. </p>
<p>The features that worry me the most are:</p>
<li>Multi-file uploads.
<li>New &#8220;Media Manager&#8221; for images, audio, video, etc.
<li>Built-in gallery function.
<li>Built-in (and pluggable) Gravatars support.</li>
<p>I&#8217;ve achieved all of those using plug-ins and custom PHP files. Seeing that list of features makes me wonder how it will affect my plugins and if I&#8217;ll need to re-do several sites to support the &#8220;out-of-the-box&#8221; features to stay compatible with WP 2.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2008/wordpress-25-features-big-admin-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8 Introduces WebSlices</title>
		<link>http://www.allaboutduncan.com/2008/internet-explorer-8-introduces-webslices/</link>
		<comments>http://www.allaboutduncan.com/2008/internet-explorer-8-introduces-webslices/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 13:31:29 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2008/internet-explorer-8-introduces-webslices/</guid>
		<description><![CDATA[Why, Microsoft, why? That&#8217;s all I ask. Why must you continue to introduce proprietary technology in Internet Explorer? Internet Explorer 8 Beta is now available for download and one of the new features is WebSlices. By adding a few specific &#8230; <a href="http://www.allaboutduncan.com/2008/internet-explorer-8-introduces-webslices/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Why, Microsoft, why? That&#8217;s all I ask. Why must you continue to introduce proprietary technology in Internet Explorer?</p>
<p>Internet Explorer 8 Beta is now available for download and one of the new features is WebSlices. By adding a few specific class names to content blocks, IE will essentially syndicate the content.</p>
<p>&lt;code&gt;&lt;div class=â€hsliceâ€ id=â€1â€&gt;<br />&nbsp; &lt;p class=â€entry-titleâ€&gt;item &#8211; $66.00&lt;/p&gt;<br />&nbsp; &lt;div class=â€entry-contentâ€&gt;high bidder:buyer1<br />&nbsp;&nbsp;&nbsp; â€¦<br />&nbsp; &lt;/div&gt;<br />&lt;/div&gt;</p>
<p>Using the above classes will generate content the user (or IE8 user) can subscribe too. Why not RSS? Is it because that&#8217;s compatible with other software, browsers, and readers. Microsoft wanted something that would just work for Internet Explorer. </p>
<p>Do they honestly thing any developer will support or use this? Hmm&#8230; let&#8217;s see&#8230; I can create a RSS feed for my content that anyone can use (even IE7 and IE8 users) or I can create the WebSlice just for IE8 users. The only use this will get will be from FrontPage/Expression users who do not know any better.</p>
<p>Even <a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/NewFeatures.htm#webslice">Microsoft says it&#8217;s just like RSS on their site</a>:</p>
<blockquote><p>WebSlices behave just like feeds where clients can subscribe to get updates and notify the user of changes.</p>
</blockquote>
<p>Please Microsoft, just make a good, fast browser for people to use. I was willing to admit IE7 was a step in the right direction. It&#8217;s fast and renders content relatively well and has good CSS support. It was only a matter of time before they had to go and ruin it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2008/internet-explorer-8-introduces-webslices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DotNetNuke No Search Results Message</title>
		<link>http://www.allaboutduncan.com/2008/dotnetnuke-no-search-results-message/</link>
		<comments>http://www.allaboutduncan.com/2008/dotnetnuke-no-search-results-message/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 17:30:02 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[dotnetnuke]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[getElementsByName]]></category>
		<category><![CDATA[innerHTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[results]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2008/dotnetnuke-no-search-results-message/</guid>
		<description><![CDATA[I&#8217;ve finally deployed the DotNetNuke site I&#8217;ve been working on. After deployment is when the most obvious things pop up. For instance, in DotNetNuke when you search for something in the site it will return a list of links to &#8230; <a href="http://www.allaboutduncan.com/2008/dotnetnuke-no-search-results-message/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally deployed the DotNetNuke site I&#8217;ve been working on. After deployment is when the most obvious things pop up. </p>
<p>For instance, in DotNetNuke when you search for something in the site it will return a list of links to what it finds. What it won&#8217;t do is display something friendly like &#8220;No Search Results Found&#8221; if it doesn&#8217;t find anything. Dumb and not very user friendly.</p>
<p>I did find what I thought would be the solution at <a href="http://www.innovatasites.com/ecktwo/tabid/1807/Default.aspx" target="_blank">ecktwo</a>, but it didn&#8217;t work in Firefox due to the</p>
<p><code>document.getElementById("search").innerHTML</code> </p>
<p>which doesn&#8217;t work in Firefox within a table, which is what the Search Results are generated using the ASP.NET grid view. So, I thought I&#8217;d take a stab at building something that worked for both IE and Firefox.</p>
<p>Make a copy of your <em>admin\Search\SearchResults.ascx</em> file and then open the file in notepad. Apply the following code that I&#8217;ve highlighted in red:</p>
<p>
<blockquote>&lt;%@ Control Language=&#8221;vb&#8221; AutoEventWireup=&#8221;false&#8221; Explicit=&#8221;True&#8221; Inherits=&#8221;DotNetNuke.Modules.SearchResults.SearchResults&#8221; CodeFile=&#8221;SearchResults.ascx.vb&#8221; %&gt;</p>
<p>&lt;asp:Datagrid id=&#8221;dgResults&#8221; runat=&#8221;server&#8221; AutoGenerateColumns=&#8221;False&#8221; AllowPaging=&#8221;True&#8221; BorderStyle=&#8221;None&#8221;<br />PagerStyle-CssClass=&#8221;NormalBold&#8221; ShowHeader=&#8221;False&#8221; CellPadding=&#8221;4&#8243; GridLines=&#8221;None&#8221;&gt;<br />&lt;Columns&gt;<br />&lt;asp:TemplateColumn&gt;<br />&lt;ItemTemplate&gt;<br />&lt;asp:Label id=lblNo runat=&#8221;server&#8221; Text=&#8217;&lt;%# DataBinder.Eval(Container, &#8220;ItemIndex&#8221;) + 1 %&gt;&#8217; CssClass=&#8221;SubHead&#8221;&gt;<br />&lt;/asp:Label&gt;<br />&lt;/ItemTemplate&gt;<br />&lt;/asp:TemplateColumn&gt;<br />&lt;asp:TemplateColumn&gt;<br />&lt;ItemTemplate&gt;<br />&lt;asp:HyperLink id=&#8221;lnkTitle&#8221; runat=&#8221;server&#8221; <font color="#ff0000">Name=&#8221;result&#8221;</font> CssClass=&#8221;SubHead&#8221; NavigateUrl=&#8217;&lt;%# FormatURL(DataBinder.Eval(Container.DataItem,&#8221;TabId&#8221;),<br />DataBinder.Eval(Container.DataItem,&#8221;Guid&#8221;)) %&gt;&#8217; Text=&#8217;&lt;%# DataBinder.Eval(Container.DataItem, &#8220;Title&#8221;) %&gt;&#8217;&gt;<br />&lt;/asp:HyperLink&gt;&amp;nbsp;-<br />&lt;asp:Label id=&#8221;lblRelevance&#8221; runat=&#8221;server&#8221; CssClass=&#8221;Normal&#8221; Text=&#8217;&lt;%# FormatRelevance(DataBinder.Eval(Container.DataItem, &#8220;Relevance&#8221;)) %&gt;&#8217; &gt;<br />&lt;/asp:Label&gt;&lt;BR&gt;<br />&lt;asp:Label id=&#8221;lblSummary&#8221; runat=&#8221;server&#8221; CssClass=&#8221;Normal&#8221; Text=&#8217;&lt;%# DataBinder.Eval(Container.DataItem, &#8220;Description&#8221;) + &#8220;&lt;br&gt;&#8221; %&gt;&#8217; Visible=&#8221;&lt;%# ShowDescription() %&gt;&#8221;&gt;<br />&lt;/asp:Label&gt;<br />&lt;asp:HyperLink id=&#8221;lnkLink&#8221; runat=&#8221;server&#8221; CssClass=&#8221;CommandButton&#8221; NavigateUrl=&#8217;&lt;%# FormatURL(DataBinder.Eval(Container.DataItem,&#8221;TabId&#8221;),<br />DataBinder.Eval(Container.DataItem,&#8221;Guid&#8221;)) %&gt;&#8217; Text=&#8217;&lt;%# FormatURL(DataBinder.Eval(Container.DataItem,&#8221;TabId&#8221;),<br />DataBinder.Eval(Container.DataItem,&#8221;Guid&#8221;)) %&gt;&#8217;&gt;<br />&lt;/asp:HyperLink&gt;&amp;nbsp;-<br />&lt;asp:Label id=&#8221;lblPubDate&#8221; runat=&#8221;server&#8221; CssClass=&#8221;Normal&#8221; Text=&#8217;&lt;%# FormatDate(DataBinder.Eval(Container.DataItem, &#8220;PubDate&#8221;)) %&gt;&#8217;&gt;<br />&lt;/asp:Label&gt;<br />&lt;/ItemTemplate&gt;<br />&lt;/asp:TemplateColumn&gt;<br />&lt;/Columns&gt;<br />&lt;PagerStyle CssClass=&#8221;NormalBold&#8221; Mode=&#8221;NumericPages&#8221;&gt;&lt;/PagerStyle&gt;<br />&lt;/asp:Datagrid&gt;<br /><font color="#ff0000"><br />&lt;div id=&#8221;NoResults&#8221;&gt;<br />&lt;h3 class=&#8221;red&#8221; style=&#8221;text-align:center&#8221;&gt;No Search Results Found&lt;/h3&gt;<br />&lt;/div&gt;<br />&lt;script language =&#8221;Javascript&#8221;&gt;<br />var search;<br />search = document.getElementsByName(&#8220;result&#8221;);</font>
</p>
<p><font color="#ff0000">if (search.length == 0) {<br />document.getElementById(&#8220;NoResults&#8221;).style.display=&#8217;block&#8217;;<br />}<br />else {<br />document.getElementById(&#8220;NoResults&#8221;).style.display=&#8217;none&#8217;; <br />}<br />&lt;/script&gt;</font> </p>
</blockquote>
<p>Be sure to add the Name=&#8221;result&#8221; snippet to the asp:Hyperlink in the code above. It&#8217;s easy to miss.</p>
<p>Save that and you should now have a spiffy new message displayed when no results are found. Use whatever CSS you want to style the message.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2008/dotnetnuke-no-search-results-message/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Multiple Versions of IE on Win XP</title>
		<link>http://www.allaboutduncan.com/2008/multiple-versions-of-ie-on-win-xp/</link>
		<comments>http://www.allaboutduncan.com/2008/multiple-versions-of-ie-on-win-xp/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 17:06:45 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2008/multiple-versions-of-ie-on-win-xp/</guid>
		<description><![CDATA[Multiple IE is a great little free program that lets you run multiple versions of Microsoft Internet Explorer along with version 7 of Internet Explorer. The previous version I used to check IE6 used a Virtual PC and was a &#8230; <a href="http://www.allaboutduncan.com/2008/multiple-versions-of-ie-on-win-xp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Easily use IE3 IE4.01 IE5 IE5.5 and IE6 with IE7" href="http://tredosoft.com/Multiple_IE" target="_blank">Multiple IE</a> is a great little free program that lets you run multiple versions of Microsoft Internet Explorer along with version 7 of Internet Explorer.</p>
<p>The previous version I used to check IE6 used a Virtual PC and was a memory hog. This method worked perfectly and much faster and lets you test all the way back to Internet Explorer 3 (if you so desire).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2008/multiple-versions-of-ie-on-win-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Super Cache and Local Analytics</title>
		<link>http://www.allaboutduncan.com/2007/wordpress-super-cache-and-local-analytics/</link>
		<comments>http://www.allaboutduncan.com/2007/wordpress-super-cache-and-local-analytics/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 16:34:58 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2007/wordpress-super-cache-and-local-analytics/</guid>
		<description><![CDATA[Two nice WordPress plugins were released this week that might be of use to some. First up is Local Analytics. This plugin caches the urchin.js file on your local server, allowing&#160; faster loading of the script. It also adds an &#8230; <a href="http://www.allaboutduncan.com/2007/wordpress-super-cache-and-local-analytics/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Two nice WordPress plugins were released this week that might be of use to some.</p>
<p>First up is <a href="http://www.joycebabu.com/downloads/local-analytics/" target="_blank">Local Analytics</a>. This plugin caches the urchin.js file on your local server, allowing&nbsp; faster loading of the script. It also adds an admin configurable host of options that allow better tracking of outgoing links, downloaded files, and email address links. Definitely worth a try if you like <a href="http://www.google.com/analytics/" target="_blank">Google Analytics</a> (and you should). </p>
<p>Next up is the <a title="Use SuperCache to speed up page loads" href="http://ocaoimh.ie/2007/11/05/wordpress-super-cache-01/" target="_blank">WordPress Super Cache plugin</a>. Heavily modifying the WP-Cache 2 plugin, <a title="View all of Donncha's WordPress Plugins" href="http://ocaoimh.ie/wordpress-plugins/" target="_blank">Donncha O Caoimh has created another great plugin for WordPress</a>. If you&#8217;ve got a lot of traffic and fairly static content, it might be just the thing you&#8217;re looking for. Comments suggest there might be issues with AJAX or other interactive features. So try it out and see how it works.</p>
<p>Unfortunately, I&#8217;ll have to wait on Super Cache. <a href="http://neosmart.net/blog/2007/getting-wordpress-super-cache-to-run-on-a-windows-iis-or-apache-server/" target="_blank">Despite a nice modification to use the plugin on a Windows IIS or Apache server</a>, it still requires the <a href="http://www.helicontech.com/isapi_rewrite/" target="_blank">ISAPI_Rewrite</a> 3.0 package for use on Windows servers. With most of my work involving .NET development now and the site up and running fine on WordPress, maybe I should migrate to a PHP account?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2007/wordpress-super-cache-and-local-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory Size Bytes Exhausted Error</title>
		<link>http://www.allaboutduncan.com/2007/memory-size-bytes-exhausted-error/</link>
		<comments>http://www.allaboutduncan.com/2007/memory-size-bytes-exhausted-error/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 20:38:33 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2007/memory-size-bytes-exhausted-error/</guid>
		<description><![CDATA[A big thanks to TechTracer for pointing me in the right direction for a frustrating WordPress error. After upgrading to WordPress 2.3 (fairly painless, despite the major changes due to &#8220;tag&#8221; implementation) I couldn&#8217;t upload images. Any image over 100K &#8230; <a href="http://www.allaboutduncan.com/2007/memory-size-bytes-exhausted-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A big thanks to <a href="http://techtracer.com/2007/07/18/wordpress-error-allowed-memory-size-of-8388608-bytes/" target="_blank">TechTracer</a> for pointing me in the right direction for a frustrating <a href="http://wordpress.org/" target="_blank">WordPress</a> error.</p>
<p>After upgrading to WordPress 2.3 (fairly painless, despite the major changes due to &#8220;tag&#8221; implementation) I couldn&#8217;t upload images. Any image over 100K would produce an error stating:  <em>Allowed memory size of 16388608 bytes exhausted (tried to allocate 6400 bytes)</em>. It also made reference to the<strong> includes\image.php</strong> file.</p>
<p>After reading the TechTracer post, I added one line of code just after the <strong>&lt;? php</strong> tag in the <em>image.php</em> file:</p>
<blockquote><p>
ini_set(&#8216;memory_limit&#8217;,&#8217;32M&#8217;);
</p></blockquote>
<p>The additional functions in WordPress (tags) and the plug-ins that I&#8217;m running must max out the memory. Now, I can upload my images and WordPress will resize and generate thumbnails just like it should (using the <a href="http://blog.japonophile.com/flexible-upload/" target="_blank">excellent Flexible Upload</a> plug-in, that is).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2007/memory-size-bytes-exhausted-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smashing Magazine&#8217;s 10 Usability Nightmares</title>
		<link>http://www.allaboutduncan.com/2007/smashing-magazines-10-usability-nightmares/</link>
		<comments>http://www.allaboutduncan.com/2007/smashing-magazines-10-usability-nightmares/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 14:16:17 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2007/smashing-magazines-10-usability-nightmares/</guid>
		<description><![CDATA[Smashing Magazine has posted 10 Usability Nightmares You Should Be Aware of and it&#8217;s a great read. Several things in there that all developers have probably been guilty of at one time or another. Read it and then try to &#8230; <a href="http://www.allaboutduncan.com/2007/smashing-magazines-10-usability-nightmares/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smashingmagazine.com/2007/09/27/10-usability-nightmares-you-should-be-aware-of/" target="_blank">Smashing Magazine has posted 10 Usability Nightmares You Should Be Aware of</a> and it&#8217;s a great read. Several things in there that all developers have probably been guilty of at one time or another. Read it and then try to remove as much of them from your sites as you can.</p>
<p>Smashing Magazine also provided a list of <strong>8 Usability Checkpoints</strong> as well. Just read the article for more info on each one listed below.</p>
<blockquote><p>1. You don&#8217;t use pop-ups.<br />
2. You don&#8217;t change users&#8217; window size.<br />
3. You don&#8217;t use too small font sizes.<br />
4. You don&#8217;t have unclear link text.<br />
5. You don&#8217;t have dead links.<br />
6. You have at most one animation per page.<br />
7. You make it easy to contact you.<br />
8. Your links open in the same window.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2007/smashing-magazines-10-usability-nightmares/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 New Features</title>
		<link>http://www.allaboutduncan.com/2007/wordpress-23-new-features/</link>
		<comments>http://www.allaboutduncan.com/2007/wordpress-23-new-features/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 13:45:34 +0000</pubDate>
		<dc:creator>allaboutduncan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.allaboutduncan.com/index.php/2007/wordpress-23-new-features/</guid>
		<description><![CDATA[WordPress 2.3 is right around the corner. Schedule for release on Sept. 24, it has several nice, new features. To get up to speed, I&#8217;d recommend reading 10 Things You Need to Know About WordPress 2.3. It&#8217;s the first article &#8230; <a href="http://www.allaboutduncan.com/2007/wordpress-23-new-features/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wordpress.org" target="_blank">WordPress</a> 2.3 is right around the corner. Schedule for release on Sept. 24, it has several nice, new features. To get up to speed, I&#8217;d recommend reading <a href="http://technosailor.com/10-things-you-need-to-know-about-wordpress-23/" target="_blank">10 Things You Need to Know About WordPress 2.3</a>. It&#8217;s the first article I&#8217;ve seen that sums up all the work and changes from 2.2 to 2.3 in an easy to understand format.</p>
<p>The most notable change is the support for &#8220;tagging&#8221; posts. Similar to Flickr and other sites, posts will not have categories and can also be tagged with more general relationships. This addition changes the structure of the WP database and could possibly break some of you favorite WP plug-ins.</p>
<p>I&#8217;ve installed Release Candidate 1 on another site and the only casualty was the <a href="http://www.sonsofskadi.net/extended-live-archive/" target="_blank">excellent Extended Live Archive plug-in</a>. I doubt the problem will be fixed, since the plug-in has seen little activity. Maybe someone will come along with something similar for 2.3.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allaboutduncan.com/2007/wordpress-23-new-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

