<?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>Aaron Toponce &#187; Wordpress</title> <atom:link href="http://pthree.org/category/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://pthree.org</link> <description>Linux.  GNU.  Freedom.</description> <lastBuildDate>Wed, 01 Sep 2010 22:04:20 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1-alpha</generator> <item><title>Spam Karma Goes GPL</title><link>http://pthree.org/2008/08/06/spam-karma-goes-gpl/</link> <comments>http://pthree.org/2008/08/06/spam-karma-goes-gpl/#comments</comments> <pubDate>Wed, 06 Aug 2008 17:53:10 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://pthree.org/?p=651</guid> <description><![CDATA[The comment spam filtering software used on this blog is Spam Karma. Three weeks ago, Dave, the author of the WordPress plugin, announced that Spam Karma has now gone GPL v2. I have been using this plugin exclusively for my comment spam since this blog has been up and running. Prior to the plugin going [...]]]></description> <content:encoded><![CDATA[<p>The comment spam filtering software used on this blog is Spam Karma.  Three weeks ago, Dave, the author of the WordPress plugin, announced that <a
href="http://unknowngenius.com/blog/archives/2008/07/14/spam-karma-is-gpl/">Spam Karma has now gone GPL v2</a>.  I have been using this plugin exclusively for my comment spam since this blog has been up and running.</p><p>Prior to the plugin going GPL, Dave held the license as proprietary, keeping anyone from repackaging his hard work and making money off of it.  However, he also stated on the site that if you asked, he would probably give you full permission to modify the code, and make amendments as necessary.  Due to this disclaimer, I installed in on my blog.  However, the reason for Dave making Spam Karma GPL has nothing to do with Free Software, but more to the fact that he is no longer supporting the utility, and hopes by making it GPL, the community will pick it up, and run with it.  I hope so too, because while I&#8217;m a major proponent of Free Software, I won&#8217;t run outdated, unsupported software either.</p><p>So, if you know PHP, and have a desire to help with a project, pick up Spam Karma.  I know I would benefit from your efforts.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2008/08/06/spam-karma-goes-gpl/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Pardon My Dust</title><link>http://pthree.org/2007/12/29/pardon-my-dust/</link> <comments>http://pthree.org/2007/12/29/pardon-my-dust/#comments</comments> <pubDate>Sat, 29 Dec 2007 15:58:34 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2007/12/29/pardon-my-dust/</guid> <description><![CDATA[I&#8217;m undergoing some site changes with this blog. Looking for a nice wide 2-column layout for WordPress. I&#8217;ve stumbled on Minimalist Fever 1.21. It&#8217;s clean, simple and lean. It has a fluid width, which is a must for me, looks good in all browsers, and as such, works well with all resolutions. The text is [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m undergoing some site changes with this blog.  Looking for a nice wide 2-column layout for WordPress.  I&#8217;ve stumbled on <a
href="http://themes.wordpress.net/columns/2-columns/931/minimalist-fever-10/">Minimalist Fever 1.21</a>.  It&#8217;s clean, simple and lean.  It has a fluid width, which is a must for me, looks good in all browsers, and as such, works well with all resolutions.  The text is a tad small from what I&#8217;m used to, and I may make it a pixel or two bigger, but overall, I&#8217;m impressed.  The lack of a simple header, however, may keep me from using this theme permanently.  If anyone knows of a good wide fluid-width 2-column theme that is simple and elegant, I&#8217;m all ears.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2007/12/29/pardon-my-dust/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>WordPress SVN</title><link>http://pthree.org/2007/12/09/wordpress-svn/</link> <comments>http://pthree.org/2007/12/09/wordpress-svn/#comments</comments> <pubDate>Sun, 09 Dec 2007 17:11:50 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2007/12/09/wordpress-svn/</guid> <description><![CDATA[I recently decided to reinstall my WordPress blog with the SVN copy of the software. Because WordPress does not support upgrading through the default install- a major hindrance, I&#8217;ve decided to keep my copy updated through SVN. This means that you need a working copy of SVN on your server. If running Ubuntu/Debian, the following [...]]]></description> <content:encoded><![CDATA[<p>I recently decided to reinstall my WordPress blog with the SVN copy of the software.  Because WordPress does not support upgrading through the default install- a major hindrance, I&#8217;ve decided to keep my copy updated through SVN.  This means that you need a working copy of SVN on your server.  If running Ubuntu/Debian, the following command will get it installed (assuming your account is added to the /etc/sudoers file:</p><pre>aaron@kratos:~$ sudo aptitude install subversion</pre><p>Once installed, all you need is to get the latest copy to your server in the directory that you plan on serving it from.  For example, if you plan on serving it from /var/www (also, assuming your unprivileged account has write access to /var/www):</p><pre>aaron@kratos:~$ cd /var/www
aaron@kratos:/var/www$ svn co http://svn.automattic.com/wordpress/trunk/</pre><p>Now you have the latest copy of WordPress running on your server.  Configure your web server daemon as needed to serve PHP files from that directory.  When ever you need to upgrade, just issue an &#8216;svn update&#8217; on that base directory:</p><pre>aaron@kratos:/var/www/trunk$ svn update</pre><p>There you have it, the latest and greatest running copy of WordPress.  Of course, it should be warned that this is the unofficial release of the software, and bugs may exist causing problems with plugins and serving the software.  However, if you are willing to take the punches, then I would recommend running the SVN copy to keep your WordPress insall up-to-date.  Until the WordPress devs decide it&#8217;s important enough to add an upgrade utility in the software directly, this is definitely the best approach I think.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2007/12/09/wordpress-svn/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>OpenID Enabled</title><link>http://pthree.org/2007/06/10/openid-enabled/</link> <comments>http://pthree.org/2007/06/10/openid-enabled/#comments</comments> <pubDate>Sun, 10 Jun 2007 17:50:40 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[OpenID]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2007/06/10/openid-enabled/</guid> <description><![CDATA[It was important for me to get my site OpenID enabled, for those who would like to use it. I don&#8217;t force users to register an account on my blog to comment, so enabling OpenID on my blog might seem a bit silly. However, for those who would like to use their OpenID to identify [...]]]></description> <content:encoded><![CDATA[<p><img
src='http://www.pthree.org/wp-content/uploads/2007/06/openid-logo-square.png' alt='openid-logo-square.png' align='right' vspace='15' hspace='15' />It was important for me to get my site OpenID enabled, for those who would like to use it.  I don&#8217;t force users to register an account on my blog to comment, so enabling OpenID on my blog might seem a bit silly.  However, for those who would like to use their OpenID to identify them when commenting here on this blog, it&#8217;s now been enabled.</p><p>Here&#8217;s how it works.  First, the 3 fields of &#8220;Name&#8221;, &#8220;Email&#8221; and &#8220;Website&#8221; are still there, just  the &#8220;Website&#8221; field will now check to see if it is a valid OpenID URI.  If so, it will automatically populate the &#8220;Name&#8221; and &#8220;Email&#8221; fields, provided that you created a persona with your OpenID provider.  If the field does not contain a valid OpenID URI, then it will just behave as normal, allowing your to attribute any website to your name.</p><p>If you are curious what WordPress plugin I am using to pull this off, <a
href="http://willnorris.com/projects/wpopenid/">it can be found here</a>.  If you would like to delegate your WordPress blog as your OpenID URI, then there is a delegation plugin <a
href="http://eran.sandler.co.il/openid-delegate-wordpress-plugin/">that can be found here</a>.</p><p>A word of note on the OpenID plugin.  If you are running Debian/Ubuntu and powering your site with PHP5, GMP is not available in the repos, which this plugin relies on for performance.  The plugin will behave fine without it, however.  If you would like GMP for the plugin, then you will need to compile it in from source yourself, which isn&#8217;t that big of a deal, just heads up is all.  All systems are normal, and performance seems okay for me, so I haven&#8217;t bothered looking into getting GMP on my Ubuntu server.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2007/06/10/openid-enabled/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>WordPress Upgrade Script</title><link>http://pthree.org/2007/03/02/wordpress-upgrade-script/</link> <comments>http://pthree.org/2007/03/02/wordpress-upgrade-script/#comments</comments> <pubDate>Sat, 03 Mar 2007 05:45:59 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Blogging]]></category> <category><![CDATA[Scripting]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2007/03/02/wordpress-upgrade-script/</guid> <description><![CDATA[For those of you running WordPress on your own server, or a server that you maintain, I wrote a little script that may make upgrading your WordPress a bit easier. For me, I am running 4 installations of WordPress, so, when the upgrades are released, it&#8217;s a bit of a pain to get them all [...]]]></description> <content:encoded><![CDATA[<p>For those of you running WordPress on your own server, or a server that you maintain, I wrote a little script that may make upgrading your WordPress a bit easier.  For me, I am running 4 installations of WordPress, so, when the upgrades are released, it&#8217;s a bit of a pain to get them all into shape.  So, thanks to <a
href="http://ubuntu-tutorials.com">Christer</a> for the idea, I wrote a script that takes care of the job 10 times faster than if I were to do it by hand.</p><p>First, I should mention that this script comes with no warranty what-so-ever.  Use it at your own risk.  If you foul up your database or WordPress install, don&#8217;t come crying to me.  Although this upgraded my 4 installations without hitch, this does not necessarily mean that it will work for you.  Please use caution when upgrading the files and the database.  If you do run into problems, I will try to provide necessary support as possible.  However, I am very busy, so it may be faster for you to figure out what happened, and to fix it on your own.  You&#8217;ll learn better that way anyway.</p><p>Next, this script follows the <a
href="http://codex.wordpress.org/Upgrading_WordPress#Detailed_Instructions">detailed instructions</a> as closely as possible.  Namely:</p><ul><li>Your existing WordPress install is backed up, just in case.</li><li>All databases are backed up.</li><li>All necessary and important files (.htaccess, wp-config, etc) and directories are backed up.</li><li>The latest release is downloaded.</li><li>All files are upgraded.</li></ul><p>Of course, it is your job to navigate your browser to the appropriate PHP upgrade page for every WordPress installation that is upgraded, and verify that all plugins, permalinks and themes work.</p><p>At any rate, here is the code: a simple Bash script.  The version of the script is 0.1.2.</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table
cellspacing="0" cellpadding="0"><tbody><tr><td
style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br
/>2<br
/>3<br
/>4<br
/>5<br
/>6<br
/>7<br
/>8<br
/>9<br
/>10<br
/>11<br
/>12<br
/>13<br
/>14<br
/>15<br
/>16<br
/>17<br
/>18<br
/>19<br
/>20<br
/>21<br
/>22<br
/>23<br
/>24<br
/>25<br
/>26<br
/>27<br
/>28<br
/>29<br
/>30<br
/>31<br
/>32<br
/>33<br
/>34<br
/>35<br
/>36<br
/>37<br
/>38<br
/>39<br
/>40<br
/>41<br
/>42<br
/>43<br
/>44<br
/>45<br
/>46<br
/>47<br
/>48<br
/>49<br
/>50<br
/>51<br
/>52<br
/>53<br
/>54<br
/>55<br
/>56<br
/>57<br
/>58<br
/>59<br
/>60<br
/>61<br
/>62<br
/>63<br
/>64<br
/>65<br
/>66<br
/>67<br
/>68<br
/>69<br
/>70<br
/>71<br
/>72<br
/>73<br
/>74<br
/>75<br
/>76<br
/>77<br
/>78<br
/>79<br
/>80<br
/>81<br
/>82<br
/>83<br
/>84<br
/>85<br
/>86<br
/>87<br
/>88<br
/>89<br
/>90<br
/>91<br
/>92<br
/>93<br
/>94<br
/>95<br
/>96<br
/>97<br
/>98<br
/>99<br
/>100<br
/>101<br
/>102<br
/>103<br
/></div></td><td><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #666666; font-style: italic;">#!/bin/bash</span><br
/> <br
/> <span
style="color: #666666; font-style: italic;"># This program upgrades your existing Wordpress installations that you are running on your server.</span><br
/> <span
style="color: #666666; font-style: italic;">#</span><br
/> <span
style="color: #666666; font-style: italic;"># You need to make the necessary adjustments to this script as needed for your situation.</span><br
/> <span
style="color: #666666; font-style: italic;">#</span><br
/> <span
style="color: #666666; font-style: italic;"># Make this script executable: 'chmod 777 wp_upgrade.sh'</span><br
/> <span
style="color: #666666; font-style: italic;"># Run the script: './wp_upgrade.sh'</span><br
/> <span
style="color: #666666; font-style: italic;">#</span><br
/> <span
style="color: #666666; font-style: italic;"># Author: Aaron Toponce</span><br
/> <span
style="color: #666666; font-style: italic;"># License: GPL v2</span><br
/> <span
style="color: #666666; font-style: italic;"># Version: 0.1.2</span><br
/> <br
/> <span
style="color: #666666; font-style: italic;"># =================== Start of Script =================== #</span><br
/> <br
/> <span
style="color: #666666; font-style: italic;"># Provide the necessary directories to what Wordpress installations need to be backed up space delimited</span><br
/> <span
style="color: #666666; font-style: italic;"># Change as necessary and uncomment</span><br
/> <span
style="color: #666666; font-style: italic;"># For example, if you had 3 sites in /var/www/site1, /var/www/site2 and /var/www/site3</span><br
/> <span
style="color: #666666; font-style: italic;"># then it would look like below (do not add the trailing slash):</span><br
/> <span
style="color: #666666; font-style: italic;"># directories=(/var/www/site1 /var/www/site2 /var/www/site3)</span><br
/> <span
style="color: #007800;">number</span>=<span
style="color: #800000;">${#directories[@]}</span><br
/> <span
style="color: #666666; font-style: italic;"># Testing that all directories specified above are valid before beginning</span><br
/> <span
style="color: #000000; font-weight: bold;">for</span> <span
style="color: #7a0874; font-weight: bold;">&#40;</span><span
style="color: #7a0874; font-weight: bold;">&#40;</span> i = <span
style="color: #000000;">0</span> ; i <span
style="color: #000000; font-weight: bold;">&lt;</span> number ; i++ <span
style="color: #7a0874; font-weight: bold;">&#41;</span><span
style="color: #7a0874; font-weight: bold;">&#41;</span>; <span
style="color: #000000; font-weight: bold;">do</span><br
/> &nbsp; &nbsp; <span
style="color: #000000; font-weight: bold;">if</span> <span
style="color: #7a0874; font-weight: bold;">&#91;</span><span
style="color: #7a0874; font-weight: bold;">&#91;</span> <span
style="color: #000000; font-weight: bold;">!</span> <span
style="color: #660033;">-d</span> <span
style="color: #800000;">${directories[$i]}</span> <span
style="color: #7a0874; font-weight: bold;">&#93;</span><span
style="color: #7a0874; font-weight: bold;">&#93;</span>; <span
style="color: #000000; font-weight: bold;">then</span><br
/> &nbsp; &nbsp; &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Directory <span
style="color: #007800;">${$directories[$i]}</span> does not exist.&quot;</span><br
/> &nbsp; &nbsp; &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">return</span> <span
style="color: #000000;">1</span><br
/> &nbsp; &nbsp; <span
style="color: #000000; font-weight: bold;">fi</span><br
/> <span
style="color: #000000; font-weight: bold;">done</span><br
/> <br
/> <span
style="color: #666666; font-style: italic;"># First, we need to get the necessary file</span><br
/> <span
style="color: #7a0874; font-weight: bold;">cd</span> ~<br
/> <br
/> <span
style="color: #000000; font-weight: bold;">if</span> <span
style="color: #7a0874; font-weight: bold;">&#91;</span><span
style="color: #7a0874; font-weight: bold;">&#91;</span> <span
style="color: #660033;">-f</span> wordpress.tar.gz <span
style="color: #7a0874; font-weight: bold;">&#93;</span><span
style="color: #7a0874; font-weight: bold;">&#93;</span>; <span
style="color: #000000; font-weight: bold;">then</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;wordpress.tar.gz exists. &nbsp;Please take notice to this upgrade before continuing.&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">return</span> <span
style="color: #000000;">1</span><br
/> <span
style="color: #000000; font-weight: bold;">fi</span><br
/> <br
/> <span
style="color: #c20cb9; font-weight: bold;">wget</span> <span
style="color: #660033;">-O</span> latest.tar.gz http:<span
style="color: #000000; font-weight: bold;">//</span>wordpress.org<span
style="color: #000000; font-weight: bold;">/</span>latest.tar.gz<br
/> <br
/> <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;First disable all plugins on all installations before continuing.&quot;</span><br
/> <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Press ENTER to continue...&quot;</span><br
/> <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> <br
/> <span
style="color: #000000; font-weight: bold;">for</span> <span
style="color: #7a0874; font-weight: bold;">&#40;</span><span
style="color: #7a0874; font-weight: bold;">&#40;</span> i = <span
style="color: #000000;">0</span> ; i <span
style="color: #000000; font-weight: bold;">&lt;</span> number ; i++ <span
style="color: #7a0874; font-weight: bold;">&#41;</span><span
style="color: #7a0874; font-weight: bold;">&#41;</span>; <span
style="color: #000000; font-weight: bold;">do</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">clear</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">cd</span> <span
style="color: #800000;">${directories[$i]}</span><br
/> <br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;We are backing up the full directory, in case anything goes wrong. Press ENTER...&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">cd</span> ..<span
style="color: #000000; font-weight: bold;">/</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">tar</span> <span
style="color: #660033;">-cvvf</span> <span
style="color: #800000;">${directories[$i]}</span>.tar <span
style="color: #800000;">${directories[$i]}</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">gzip</span> &nbsp;<span
style="color: #800000;">${directories[$i]}</span>.tar<br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">cd</span> <span
style="color: #800000;">${directories[$i]}</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">mv</span> <span
style="color: #800000;">${directories[$i]}</span>.tar.gz .<br
/> &nbsp; &nbsp; <br
/> &nbsp; &nbsp; <span
style="color: #666666; font-style: italic;"># Timestamp in unix epoch format to create unique backup directories</span><br
/> &nbsp; &nbsp; <span
style="color: #007800;">back_ts</span>=$<span
style="color: #7a0874; font-weight: bold;">&#40;</span><span
style="color: #c20cb9; font-weight: bold;">date</span> +<span
style="color: #000000; font-weight: bold;">%</span>s<span
style="color: #7a0874; font-weight: bold;">&#41;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">mkdir</span> backup_<span
style="color: #800000;">${back_ts}</span><br
/> &nbsp; &nbsp; &nbsp; &nbsp; <br
/> &nbsp; &nbsp; <span
style="color: #666666; font-style: italic;"># Backing up the necessary Wordpress database</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Please provide the wordpress database name (case sensitive) for <span
style="color: #007800;">${directories[$i]}</span>:&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> wp_db<br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;And please provide the username to the database:&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> wp_user<br
/> &nbsp; &nbsp; mysqldump <span
style="color: #660033;">--add-drop-table</span> <span
style="color: #660033;">-u</span> <span
style="color: #800000;">${wp_user}</span> <span
style="color: #660033;">-p</span> <span
style="color: #800000;">${wp_db}</span> <span
style="color: #000000; font-weight: bold;">&gt;</span> backup_<span
style="color: #800000;">${back_ts}</span><span
style="color: #000000; font-weight: bold;">/</span><span
style="color: #800000;">${wp_db}</span>.sql<br
/> &nbsp; &nbsp; &nbsp; &nbsp; <br
/> &nbsp; &nbsp; <span
style="color: #666666; font-style: italic;"># Make the necessary changes for what to backup. &nbsp;This is the default as provided by Wordpress.</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Backing up the important files. Press ENTER...&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">cp</span> .htaccess wp-config.php backup_<span
style="color: #800000;">${back_ts}</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">cp</span> <span
style="color: #660033;">-r</span> wp-content wp-images wp-includes<span
style="color: #000000; font-weight: bold;">/</span>languages backup_<span
style="color: #800000;">${back_ts}</span><br
/> &nbsp; &nbsp; <br
/> &nbsp; &nbsp; <span
style="color: #666666; font-style: italic;"># Time to copy the latest wordpress that we downloaded and overwrite all files</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Getting the latest cp of wordpress. Press ENTER...&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">cp</span> ~<span
style="color: #000000; font-weight: bold;">/</span>latest.tar.gz .<span
style="color: #000000; font-weight: bold;">/</span>wordpress.tar.gz<br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">tar</span> <span
style="color: #660033;">-zxvf</span> wordpress.tar.gz<br
/> <br
/> &nbsp; &nbsp; <span
style="color: #666666; font-style: italic;"># Overwrite all files</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Overwriting all old Wordpress files with the new. Press ENTER...&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">cd</span> wordpress<br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">cp</span> <span
style="color: #660033;">-rf</span> <span
style="color: #000000; font-weight: bold;">*</span> ..<span
style="color: #000000; font-weight: bold;">/</span><br
/> <br
/> &nbsp; &nbsp; <span
style="color: #666666; font-style: italic;"># Copy the files that we backed up back</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Coping the important backed up files back in. Press ENTER...&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">cd</span> ..<span
style="color: #000000; font-weight: bold;">/</span>backup_<span
style="color: #800000;">${back_ts}</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">cp</span> <span
style="color: #660033;">-rf</span> <span
style="color: #000000; font-weight: bold;">*</span> ..<span
style="color: #000000; font-weight: bold;">/</span><br
/> <br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Point your browser to the necessary site and run the upgrade script.&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;EG: http://example.com/wp-admin/upgrade.php&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Update your permalinks and .htaccess.&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Install updated plugins and themes&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Reactivate plugins&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Press ENTER to continue...&quot;</span><br
/> &nbsp; &nbsp; <span
style="color: #c20cb9; font-weight: bold;">read</span> blah<br
/> <span
style="color: #000000; font-weight: bold;">done</span><br
/> <br
/> <span
style="color: #c20cb9; font-weight: bold;">clear</span><br
/> <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Congratulations! You have successfully upgraded your Wordpress.&quot;</span><br
/> <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Please review that your browser resolves your site.&quot;</span><br
/> <span
style="color: #7a0874; font-weight: bold;">echo</span> <span
style="color: #ff0000;">&quot;Enjoy!&quot;</span></div></td></tr></tbody></table></div> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2007/03/02/wordpress-upgrade-script/feed/</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>Using GeSHi</title><link>http://pthree.org/2006/12/19/using-geshi/</link> <comments>http://pthree.org/2006/12/19/using-geshi/#comments</comments> <pubDate>Tue, 19 Dec 2006 15:49:28 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/12/19/using-geshi/</guid> <description><![CDATA[For those who are unaware, I am using GeSHi as my syntax highlighter for WordPress. It is a solid program, and well worth the look, if you are looking for something to highlight your code on your blog. It&#8217;s licensed under the GPL, and I love it. One of the strong features in GeSHi, is [...]]]></description> <content:encoded><![CDATA[<p>For those who are unaware, I am using <a
href="http://qbnz.com/highlighter/">GeSHi</a> as my syntax highlighter for WordPress.  It is a solid program, and well worth the look, if you are looking for something to highlight your code on your blog.  It&#8217;s licensed under the GPL, and I love it.</p><p>One of the strong features in GeSHi, is the ability to recognize keywords and functions built into the language, and provide a link to the official documentation about that keyword.  You may have noticed this with my last post about <a
href="http://www.pthree.org/2006/12/18/optimizing-searches-in-perl/">optimizing searches in Perl</a>.  Clicking on one of the functions will take to the Perl documentation site about that function.  Try &#8216;print&#8217; or &#8216;open&#8217; to see what I am talking about.</p><p>To get GeSHi into your WordPress blog, <a
href="http://www.thedevproject.com/projects/wordpress-geshi-plugin/">use this plugin</a>.  It&#8217;s in beta, but it&#8217;s just a wrapper around the initial GeSHi code.  You can easily update your Geshi, by downloading the <a
href="http://sourceforge.net/project/showfiles.php?group_id=114997">latest from here</a>, unpacking the folder, and dropping it into the plugin folder.  Works like a charm.</p><p>However, WordPress isn&#8217;t without it&#8217;s flaws, and as such, some of my code that I post on this site may appear a bit odd.  For example, in my most recent post , you may have noticed that my file handles are in lowercase.  Generally, it&#8217;s considered good programming practice in Perl to put your file handles in uppercase, as harleypig mentioned in the comments.  Well, I do uppercase when coding, but WordPress thinks that anything between &lt; and &gt; is HTML, so it lowercases the letters between the tags.  Also, if I don&#8217;t have a closing tag, it will provide one for me.  So, as you may have also noticed, in the code, I have closing tags for the file handles just past a comment marker.  This may look a bit odd, but it&#8217;s for WordPress&#8217; sake.  And yes, I have tried escaping the tags with &amp;lt; and &amp;gt;, but then it shows up as so.  Of course, I am working on a plugin to stop this behavior.</p><p>So keep this in mind when looking over the code that I post to this site.  The reason for the code is to illustrate a point rather than show syntax-perfect code (although all code I post to the site should compile without errors).  If you have any questions about the code, of course, leave it in the comments or contact me directly.</p><p>Now, on with the show!</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/12/19/using-geshi/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Blog Updated- New Theme Installed</title><link>http://pthree.org/2006/12/07/blog-updated-new-theme-installed/</link> <comments>http://pthree.org/2006/12/07/blog-updated-new-theme-installed/#comments</comments> <pubDate>Fri, 08 Dec 2006 05:47:07 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/12/07/blog-updated-new-theme-installed/</guid> <description><![CDATA[Monochrome, lightweight, and totally liquid. Comments fixed on the pages, lean CSS, designed with standards, no intensive images and a dark background with light text, so no more looking into a lightbulb as you read my blog. This is definitely the WordPress theme for me. I love it love it love it! You can find [...]]]></description> <content:encoded><![CDATA[<p>Monochrome, lightweight, and totally liquid.  Comments fixed on the pages, lean CSS, designed with standards, no intensive images and a dark background with light text, so no more looking into a lightbulb as you read my blog.  This is definitely the WordPress theme for me.  I love it love it love it!</p><p>You can find Gray 1.0 by <a
href="http://www.kaushalsheth.com">Kaushal Sheth here</a>.</p><p>Now I just need to go through the templates, and make it W3C Compliant&#8230; <img
src='http://pthree.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/12/07/blog-updated-new-theme-installed/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Theme Changing Time</title><link>http://pthree.org/2006/12/07/theme-changing-time/</link> <comments>http://pthree.org/2006/12/07/theme-changing-time/#comments</comments> <pubDate>Fri, 08 Dec 2006 03:48:18 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/12/07/theme-changing-time/</guid> <description><![CDATA[Pardon my dust while I change my WordPress theme. I&#8217;m looking for something with an overall dark theme, light text and wide. We&#8217;ll see what turns up.]]></description> <content:encoded><![CDATA[<p>Pardon my dust while I change my WordPress theme.  I&#8217;m looking for something with an overall dark theme, light text and wide.  We&#8217;ll see what turns up.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/12/07/theme-changing-time/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Page Comments</title><link>http://pthree.org/2006/08/16/page-comments/</link> <comments>http://pthree.org/2006/08/16/page-comments/#comments</comments> <pubDate>Wed, 16 Aug 2006 19:03:35 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/08/16/page-comments/</guid> <description><![CDATA[I am frustrated with this site theme. It is nice, and very well laid out, but it lacks the ability to show comments on pages. I know the PHP template is correct, so there must be something going under the hood that I am not aware of. So if you want to place a comment [...]]]></description> <content:encoded><![CDATA[<p>I am frustrated with this site theme.  It is nice, and very well laid out, but it lacks the ability to show comments on pages.  I know the PHP template is correct, so there must be something going under the hood that I am not aware of.  So if you want to place a comment on a page, like my Ultimate Firefox Extension List For Junkies, tough! <img
src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>I should have it working soon though.   I love this template, and refuse to give up on it just because of one little quirk.  That&#8217;s what drives us geeks anyway, doen&#8217;t it?  Coding challenges?</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/08/16/page-comments/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Cool WordPress Plugin</title><link>http://pthree.org/2006/04/28/cool-wordpress-plugin/</link> <comments>http://pthree.org/2006/04/28/cool-wordpress-plugin/#comments</comments> <pubDate>Fri, 28 Apr 2006 15:05:30 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/04/28/cool-wordpress-plugin/</guid> <description><![CDATA[Well, for those who are now commenting on my blog, of which I thank you, I am exploiting your user agent string, and displaying it for all the world to see. Let&#8217;s see how many of you Linux/Firefox users are actually Windows/IE users! HAHA! It will show something to the effect of: Using Firefox 1.5.0.2 [...]]]></description> <content:encoded><![CDATA[<p>Well, for those who are now commenting on my blog, of which I thank you, I am exploiting your user agent string, and displaying it for all the world to see.  Let&#8217;s see how many of you Linux/Firefox users are actually Windows/IE users!  HAHA! <img
src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>It will show something to the effect of:</p><blockquote><p>Using <img
alt="Firefox.png" src="http://www.pthree.org/browsers/firefox.png" /> Firefox 1.5.0.2 on <img
alt="Ubuntu.png" src="http://www.pthree.org/browsers/u.png" /> Ubuntu Linux</p></blockquote><p>The plugin is a comment plugin for all WordPress blog installations of 1.5 and 2.0. <a
title="Wordpress Browser Detection Plugin" target="_blank" href="http://priyadi.net/archives/2005/03/29/wordpress-browser-detection-plugin/">You can find it here</a>, if interested.</p><p>Of course, you could always modify your UA string with <a
title="User Agent String Switcher" target="_blank" href="https://addons.mozilla.org/extensions/moreinfo.php?id=59&#038;application=firefox">this extension</a> for Firefox, then no one would know that you are using Windows.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/04/28/cool-wordpress-plugin/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>More Spam Morons</title><link>http://pthree.org/2006/04/25/more-spam-morons/</link> <comments>http://pthree.org/2006/04/25/more-spam-morons/#comments</comments> <pubDate>Wed, 26 Apr 2006 02:47:21 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/04/25/more-spam-morons/</guid> <description><![CDATA[(In the voice of Dr. Evil) Bwahahahaha!   Hahahahahaha!!   Mmmmwahahahahaha!!  HAHAHAHAHAHAHAHA!!!   MMMMWAHAHAHAHAHAHAHAH!!!!!  Mmmmmhmmm!!   Hmmmm hmmm!  hmm hmm.  hmm.  Okay. Seriously, I think I am getting too much of a kick out of comment spam recently.  It is just so entertaining.  Here is the latest, that actually passed all the spam checks in Spam Karma, [...]]]></description> <content:encoded><![CDATA[<p>(In the voice of Dr. Evil) Bwahahahaha!   Hahahahahaha!!   Mmmmwahahahahaha!!  HAHAHAHAHAHAHAHA!!!   MMMMWAHAHAHAHAHAHAHAH!!!!!  Mmmmmhmmm!!   Hmmmm hmmm!  hmm hmm.  hmm.  Okay.</p><p>Seriously, I think I am getting too much of a kick out of comment spam recently.  It is just so entertaining.  Here is the latest, that actually passed all the spam checks in <a
target="_blank" title="Spam Karma 2" href="http://wp-plugins.net/plugin/SK2/">Spam Karma</a>, and made it through to the blog itself:</p><blockquote><p><em><strong>From:</strong> Use Keyword Here<br
/> <strong>Post:</strong> Welcome<br
/> <strong>Comment:</strong> Personally, I never use more than a single link in the comment I post because doing so can trigger spam catchers if the user has that plugin activated, whereas a single link will not.</em></p></blockquote><p>Well, &#8220;Use Keyword Here&#8221;, my plugin does <em>a little more</em> than just counting the number of links in a comment post.  It also checks for a valid JavaScript and encryption payload (both of which are commonly found in normal web browsers (which help identify people instead of bots)), and your IP address against others that have been &#8220;spanked&#8221; as spam.  And that is just getting started.  It cacluates &#8220;karma points&#8221; based on these criteria and others.  If your points are high enough, it passes through.  Otherwise, you sit with the rest of the comments in database prison, never to be published.</p><p>What is great, however, is that I can review the passed comments, and manually &#8220;spank&#8221; comments as spam as I please.  Unfortunately, although you make a good point about the number of links in a comment, your email address was &#8220;you@your-site.com&#8221;, and your name pointed to an ad-infested site (luckily, I have the adblock plus extension in Firefox, and didn&#8217;t see a single ad).  So, even though you make a good point &#8220;Use Keyword Here&#8221;, I personally think you&#8217;re spam, and your IP has been blacklisted.  Sorry.  However, thanks for brightening up my day today, because it was a rough one.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/04/25/more-spam-morons/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>I Love Comment Spam, Kinda</title><link>http://pthree.org/2006/04/18/i-love-comment-spam-kinda/</link> <comments>http://pthree.org/2006/04/18/i-love-comment-spam-kinda/#comments</comments> <pubDate>Wed, 19 Apr 2006 04:50:30 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/04/18/i-love-comment-spam-kinda/</guid> <description><![CDATA[At least I find it very humorous. I am using WordPress 2.0 as my blog CMS, and lately, I have been getting a fair amound of comment spam. Luckily, I have the strongest spam filter out there, Spam Karma 2. I won&#8217;t go into details about how it works, but it does a fantastic job. [...]]]></description> <content:encoded><![CDATA[<p>At least I find it very humorous.</p><p>I am using WordPress 2.0 as my blog CMS,  and lately, I have been getting a fair amound of comment spam.  Luckily, I have the strongest spam filter out there, <a
target="_blank" title="Spam Karma 2" href="http://wp-plugins.net/plugin/SK2/">Spam Karma 2</a>.  I won&#8217;t go into details about how it works, but it does a fantastic job.  Best comment spam implementation I have ever seen on any CMS.  I should know, I have used a lot.</p><p>However, the purpose of this post to highlight some of the comments that I have received, just to show how ridiculous they are.  Before I delve into them, I am curious how it shifted directions.  2-3 years ago, as bloggers who have been blogging for that length of time will know, comment spam was just in infancy, and as such, focused on enlarging certain things, prescription drugs, and lottery tickets.  Now the spam is less intrusive.  It&#8217;s a lot more laid back, and &#8220;friendly&#8221;.  The comment spam seems almost like it is trying to trick you that it is your friend or someone you know who left the comment, and as such you trust them, so you&#8217;ll click on the links provided.  Are they really that stupid?</p><p>Anyway, let me give you some examples of what I have received as comment spam.</p><blockquote><p><em><strong>From:</strong> car insurance ny<br
/> <strong>Post:</strong> The Ultimate Firefox Extension List For Junkies<br
/> <strong>Comment:</strong> Excellent point.  I must say I agree.  I found this site doing doing some research on increasing car insurance rates since the Bush Administration took over.  I love this site. <img
src='http://pthree.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Great job!  Mike.</em></p><p><em><strong>From:</strong> PHP mysql<br
/> <strong>Post:</strong> Welcome<br
/> <strong>Comment:</strong> Hey, I have to say that this really is a great blog. Found your blog while searching for more information at yahoo about php mysql. I was reading your blog and I realized it had quite a lot of interesting thoughts, that&#8217;s why I stopped by and gave it a look. Keep up the good work.</em></p></blockquote><p>And my personal favorite:</p><blockquote><p><em><strong>From:</strong> Omron proximity sensor<br
/> <strong>Post:</strong> Welcome<br
/> <strong>Comment:</strong> Hi, my name is Kari and I want to say thank you! Your article here helped me with my College project and wanted you to know it. I was searching for info about Omron proximity sensors and I somehow ended up on your blog. Tomorrow my teacher is going to get a very good job done! I wish we can keep in touch, thank you again.</em></p></blockquote><p>I don&#8217;t even know what an Omron proximity sensor is!  But hey, I&#8217;m glad I could help you out with your college project.  Hope you get an &#8216;A&#8217; with all the information I provided.</p><p>Seriously though.  Were do these come from?  Do they honestly think I am fooled?  Do the comment spammers, automated or not, think that because you praise a blogger for his content, you&#8217;ll get traffic to your site?  (All of the links were taken out, BTW, as I can&#8217;t pose a risk to where they point, or what content will be delivered to your computer.)</p><p>Here&#8217;s the thing.  Spammers, I hope you are paying attention.  If you want your comments to appear on a blog, and get actual revenue for the links you send out, try to be a little more human.  Saying things like &#8220;Hey! Great site!  Love the content and layout.  You have a lot of comments.  Good job!&#8221; isn&#8217;t exactly what I would call &#8220;normal&#8221; comments.  Having links to casinos and online games when you&#8217;re talking about the content of my post isn&#8217;t exactly &#8220;intuitive&#8221;.  In fact, you wnat to know what?  Nevermind.  Just bag it.  Just fold for crying out loud.  You couldn&#8217;t get it right with email, what is to say you will get it right with blog comments?</p><p>At any event, if you are a WordPress blogger, I would recommend getting <a
target="_blank" title="Spam Karma 2" href="http://wp-plugins.net/plugin/SK2/">Spam Karma 2</a>.  It automatically updates via the web, includes blacklists and whitelists and overall is just the most configurable and powerful comment spam protection I have ever seen.  It&#8217;s a plugin that installs easily, and is fully compatible with WordPress 1.5 and 2.0.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/04/18/i-love-comment-spam-kinda/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Changing Themes</title><link>http://pthree.org/2006/02/22/changing-themes/</link> <comments>http://pthree.org/2006/02/22/changing-themes/#comments</comments> <pubDate>Wed, 22 Feb 2006 23:49:32 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/02/22/changing-themes/</guid> <description><![CDATA[I am in the process of changing the overall look and theme of the site.&#160; I won&#8217;t be designing my own (too lazy), so I will be finding some cool WordPress themes that are wide and stylish.&#160; If you notice that the theme changes as often as I wash my hands (I am very compulsive [...]]]></description> <content:encoded><![CDATA[<p>I am in the process of changing the overall look and theme of the site.&nbsp; I won&#8217;t be designing my own (too lazy), so I will be finding some cool WordPress themes that are wide and stylish.&nbsp; If you notice that the theme changes as often as I wash my hands (I am very compulsive about that) for the next little bit, it is because I am experimenting.&nbsp; If the site is down also in the near future, I apologize in advance.</p><p>Thanks.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/02/22/changing-themes/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Linux Is Fun and Stuff, but&#8230;</title><link>http://pthree.org/2006/02/14/linux-is-fun-and-stuff-but/</link> <comments>http://pthree.org/2006/02/14/linux-is-fun-and-stuff-but/#comments</comments> <pubDate>Tue, 14 Feb 2006 15:17:58 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/02/14/linux-is-fun-and-stuff-but/</guid> <description><![CDATA[&#8230;setting up a Linux server, and evern worse, being the system administrator is a pain in the butt!!!111!!!11!one Okay, here&#8217;s the thing.  I am now hosting the OALUG site on my Ubuntu web server.  No big deal.  I am hosting 3 other sites as well.  Being a web admin is not that bad.  Lately, however, [...]]]></description> <content:encoded><![CDATA[<p>&#8230;setting up a Linux server, and evern worse, being the system administrator is a pain in the butt!!!111!!!11!one</p><p>Okay, here&#8217;s the thing.  I am now hosting the OALUG site on my Ubuntu web server.  No big deal.  I am hosting 3 other sites as well.  Being a web admin is not that bad.  Lately, however, I need to set up a mail and DNS server for the OALUG group.  I&#8217;ll get to that in another post as to why.</p><p>First, I asked a friend what packages I needed and what needed to be done, as he has done it before.  He gave me the link to an excellent howto, and for the most part, everything went smoothly, until I began installing packages I already had installed, like MySQL.  Don&#8217;t ask.</p><p>Everything started breaking.  First it was MySQL, then PHP, then Apache2.  Then, after updating the repositories in my source.lst file, 280 packages broke, including the Linux kernel, the Ubuntu desktop, and a top more.</p><p>As you can see, MySQL, PHP and Apache2 are working just fine now, I hope (I&#8217;ll really find out if this post doesn&#8217;t submit).  All the packages that I broke, I have fixed.  But I was up until 2:30 in the freaking morning fixing them.  And that was before I even had the chance to get my web server as it was before all this mess.</p><p>Now, before all you Microsoft advocates come out of the woodwork saying, &#8220;We told you so Aaron.  Windows is easier and less cryptic to use than Linux&#8221;, I have to say that I have learned <em>a ton</em>.  And, despite the lack of sleep, the 300 new gray hairs, and ulcers that I developed, it was actullay, in an odd sort of way, fun.  I got to see deep inside the server.  I edited config files, changed all sorts of permissions, added, removed and readded packages, and really got to know a lot better how my Linux server works.  I wouldn&#8217;t trade that for an easy GUI that handles everything for me.</p><p>Am I finished?  No, I still have a little more to go.  And I will probably break more packages on the way, but, I will learn more than if I purchased a program to do to the job for me.  And I will be more qualified as a Linux/UNIX system admin.  I would never apply for such a job.  The stress would kill me, but my qualifications have just jumped through the roof.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/02/14/linux-is-fun-and-stuff-but/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Comment Spam</title><link>http://pthree.org/2006/01/10/comment-spam/</link> <comments>http://pthree.org/2006/01/10/comment-spam/#comments</comments> <pubDate>Wed, 11 Jan 2006 01:01:01 +0000</pubDate> <dc:creator>Aaron</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.pthree.org/2006/01/10/comment-spam/</guid> <description><![CDATA[As with every other blog that I have ever hosted, I seem to be the target of comment spam.  In the past, I have implemented CAPTCHA images, forcing previews, and filters, all of which worked exceptionally well.  With WordPress, however, I can catch all comments in moderation to require approval first.  This was working fairly [...]]]></description> <content:encoded><![CDATA[<p>As with every other blog that I have ever hosted, I seem to be the target of comment spam.  In the past, I have implemented CAPTCHA images, forcing previews, and filters, all of which worked exceptionally well.  With WordPress, however, I can catch all comments in moderation to require approval first.  This was working fairly well, until I started wading through 17-20 spam comments per day.  Apparently, there isn&#8217;t a built in spam manager for WordPress.  Thankfully, I have the ability to install plugins.</p><p>Hello <a
target="_blank" title="SpamKarma" href="http://unknowngenius.com/blog/wordpress/spam-karma/">SpamKarma</a>.</p><p>After downloading, installing and activating, I am impressed.  First off, it scanned all of the PHP files in my theme to make sure it was compatible with the markup.  Next, it noticed all the previous 80+ messages that I had marked as spam using the built in WordPress feature.  For starters, I am impressed.  Looking deeper into the plugin, I notice that I have the ability to change the strength of of SpamKarma for every comment posted.  It offers many other features such as blacklists,<br
/> link counters, JavaScript detection, snowball effect, captcha images and much much more.</p><p>Basically, if you are a WordPress blog user, and your blog has been up for a decent amount of time (at least long enough to receive comment spam), you shouldn&#8217;t be using your blog without it.  Just in the time writing this post, it has already caught 5 comment spam messages, and I didn&#8217;t have to worry about a thing.</p> ]]></content:encoded> <wfw:commentRss>http://pthree.org/2006/01/10/comment-spam/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: pthree.org @ 2010-09-02 22:55:22 -->