<?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>William Lindley - wlindley.com &#187; WordPress</title>
	<atom:link href="http://blog.wlindley.com/category/computers/web-development/wordpress-web-development-computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wlindley.com</link>
	<description>A Computer Guru&#039;s Journal. Have Keyboard Will Travel. 480.947.6100</description>
	<lastBuildDate>Sat, 04 Sep 2010 11:59:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>AutoNav now will select posts by category, tag, or author</title>
		<link>http://blog.wlindley.com/2010/09/autonav-selects-posts/</link>
		<comments>http://blog.wlindley.com/2010/09/autonav-selects-posts/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 15:55:15 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[autonav]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://blog.wlindley.com/?p=436</guid>
		<description><![CDATA[My AutoNav Graphical Navigation and Gallery Plugin now will let you select posts not just by postid, but also by category, tag, or author: postid="category:17" posts in a numeric category or categories postid="category:-17" posts *not* in a numeric category postid="category:cakes" &#8230; <a href="http://blog.wlindley.com/2010/09/autonav-selects-posts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://wordpress.org/extend/plugins/autonav/">AutoNav Graphical Navigation and Gallery Plugin</a> now will let you select <em>posts</em> not just by postid, but also by category, tag, or author:</p>
<pre><code> postid="category:17"    posts in a numeric category or categories
 postid="category:-17"   posts *not* in a numeric category
 postid="category:cakes" posts by category name
 postid="tag:37,38,53"   posts with numerically specified tag(s)
 postid="tag:chocolate"  posts by tag name
 postid="author:27"      posts by a specific author by ID
 postid="author:Todd"    posts by author name
</code></pre>
<p>Categories and tags can also have multiple values separated by commas  (posts in any of the categories or tags) or &#8216;+&#8217; plus signs (posts which are in all  of the categories or tags).</p>
<p>When combined with a thumbnail image, or placed into a table or list, you can now create pages like:</p>
<ul>
<li>An author biography page, with automatic listing of the most recent posts by that author.</li>
<li>A category overview page &#8212; say, &#8220;Dessert Recipes&#8221; &#8212; that automatically shows the most recent desserts, and a thumbnail for each.</li>
<li>A page for a category &#8212; say, &#8220;France&#8221; &#8212; with a lead-in for the most recent articles with the &#8220;france&#8221; or &#8220;riviera&#8221; tags.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2010/09/autonav-selects-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolving Akismet on large existing WordPress sites</title>
		<link>http://blog.wlindley.com/2010/02/resolving-akismet-on-large-existing-wordpress-sites/</link>
		<comments>http://blog.wlindley.com/2010/02/resolving-akismet-on-large-existing-wordpress-sites/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 18:18:15 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.wlindley.com/?p=408</guid>
		<description><![CDATA[I recently enabled Akismet on a client&#8217;s WordPress site that had been running, and accumulating spam, for quite awhile. Apparently there were so many spam messages (over 17,000!) that Akismet would hang with some kind of unreported out-of-memory condition.  There &#8230; <a href="http://blog.wlindley.com/2010/02/resolving-akismet-on-large-existing-wordpress-sites/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently enabled Akismet on a client&#8217;s WordPress site that had been running, and accumulating spam, for quite awhile.</p>
<p>Apparently there were so many spam messages (over 17,000!) that Akismet would hang with some kind of unreported out-of-memory condition.  There was nothing in the log files to indicate what might be causing the error.</p>
<p>The result was a blank page with an address like:</p>
<p style="padding-left: 30px;"><code>http://www.example.com/wp-admin/index.php?action=akismet_recheck_queue</code></p>
<p>I was able to get Akismet filtering running by manually starting mysql:</p>
<p style="padding-left: 30px;"><code>$ mysql databasename -u dbusername -p</code></p>
<p>and then deleting all the very old unapproved comments:</p>
<pre style="padding-left: 30px;"><code>mysql&gt; delete from wp_comments where comment_approved = 0
       AND comment_date &lt; '2010-1-1';</code></pre>
<p>You can see how many unapproved comments Akismet will try and filter:</p>
<pre style="padding-left: 30px;"><code>mysql&gt; select count(comment_ID) from wp_comments
       where comment_approved=0;</code></pre>
<p>and after Akismet runs awhile, you can monitor its progress by counting the number of messages flagged as spam:</p>
<pre style="padding-left: 30px;"><code>mysql&gt; select count(comment_ID) from wp_comments
       where comment_approved='spam';</code></pre>
<p>This completely resolved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2010/02/resolving-akismet-on-large-existing-wordpress-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scottsdale WordPress meetup group</title>
		<link>http://blog.wlindley.com/2009/09/scottsdale-wordpress-meetup-group/</link>
		<comments>http://blog.wlindley.com/2009/09/scottsdale-wordpress-meetup-group/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 11:09:14 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.wlindley.com/2009/09/scottsdale-wordpress-meetup-group/</guid>
		<description><![CDATA[I just found the Scottsdale WordPress Meetup Group/ and am hoping to go to the next one&#8230; see you there&#8230;]]></description>
			<content:encoded><![CDATA[<p>I just found the <a href="http://www.meetup.com/The-scottsdale-WordPress-Meetup-Group/">Scottsdale WordPress Meetup Group/</a> and am hoping to go to the next one&#8230; see you there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2009/09/scottsdale-wordpress-meetup-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supporting multiple WordPress installs</title>
		<link>http://blog.wlindley.com/2009/06/supporting-multiple-wordpress-installs/</link>
		<comments>http://blog.wlindley.com/2009/06/supporting-multiple-wordpress-installs/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 22:33:52 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.wlindley.com/?p=212</guid>
		<description><![CDATA[Here&#8217;s a little Perl script that uses some modules off CPAN to : Find the names and document-root of each website configured on your server Find the version of WordPress (if any) for each website, and the Subversion repository version &#8230; <a href="http://blog.wlindley.com/2009/06/supporting-multiple-wordpress-installs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://wlindley.com/products/show_wp_versions.pl.txt">Here&#8217;s a little Perl script</a> that uses some modules off <a href="http://www.cpan.org">CPAN</a> to :</p>
<ul>
<li>Find the names and document-root of each website configured on your server</li>
<li>Find the version of WordPress (if any) for each website, and the Subversion repository version used (if any).</li>
<li>Sort these by name, owner UID, or WordPress version</li>
</ul>
<p>Rename the .pl.txt file to .pl, chmod a+x so you can run it, and then:</p>
<pre style="padding-left: 30px;"># <span style="text-decoration: underline;">./show_wp_versions.pl</span></pre>
<p>which would display, for example,</p>
<pre style="padding-left: 30px;">Domain                         Version    Tracking Subversion  Owner
-----------                    --------   -------------------  -----
alphabetcompany.com             2.8       tags/2.8             alphabet
awkwardaardvark.com             2.7.1     tags/2.7.1           aardvark
brilliant-doorstops.co.uk       2.3                            dumbasapost</pre>
<p>-n sorts by numeric version number; -u sorts alpha by UID.</p>
<p>Very handy when you&#8217;re supporting a large number of WordPress installs on a single server, to know who&#8217;s running what, and who needs to be updated!</p>
<p><strong>NOTE:</strong> To install on a fresh system, you will probably need to:</p>
<pre style="padding-left: 30px;"># <span style="text-decoration: underline;">cpan</span>
cpan[3]&gt; <span style="text-decoration: underline;">install App::Info::HTTPD::Apache</span>
cpan[1]&gt; <span style="text-decoration: underline;">install SVN::Class::Info</span>
cpan[2]&gt; <span style="text-decoration: underline;">install Apache::ConfigParser</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2009/06/supporting-multiple-wordpress-installs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export only a Subset of WordPress pages</title>
		<link>http://blog.wlindley.com/2009/05/export-wp-page-subset/</link>
		<comments>http://blog.wlindley.com/2009/05/export-wp-page-subset/#comments</comments>
		<pubDate>Wed, 13 May 2009 21:12:14 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[pages]]></category>

		<guid isPermaLink="false">http://blog.wlindley.com/?p=192</guid>
		<description><![CDATA[In the process of splitting one existing WordPress site (comprised mostly of hierarchically arranged Pages, not posts) I needed to export a batch of pages into the new one. Here&#8217;s how to modify your wp-admin/includes/export.php to do that. First we &#8230; <a href="http://blog.wlindley.com/2009/05/export-wp-page-subset/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the process of splitting one existing WordPress site (comprised mostly of hierarchically arranged Pages, not posts) I needed to export a batch of pages into the new one.  Here&#8217;s how to modify your <code>wp-admin/includes/export.php</code> to do that.</p>
<p>First we find the ID number of the parent page that we want to export. This process will export that page and all its sub-pages (children), sub-sub-pages, etc.  You can find this by hovering over the &#8220;Edit&#8221; link  in the WordPress &#8220;Pages/Edit&#8221; area and noting the &#8220;&amp;post=<em>number</em>&#8221; section. In my case it was &#8220;2&#8243; &#8212; that&#8217;s the number we will use below.</p>
<p>In <code>wp-admin/includes/export.php</code>, find the lines:</p>
<blockquote>
<pre>// grab a snapshot of post IDs, just in case it changes during the export
$post_ids = $wpdb-&gt;get_col("SELECT ID FROM $wpdb-&gt;posts $where ORDER BY post_date_gmt ASC");</pre>
</blockquote>
<p>Comment that out, and replace with:</p>
<blockquote>
<pre># Export only a particular page and all its children
$post_ids = array();
$new_pages = array();
$new_pages[] = 2; # Parent page ID, which we will export, along with all its children
while (count($new_pages)) {
  $where = "WHERE post_parent IN (".join(',', $new_pages).")";
  foreach ($new_pages as $np) {
    $post_ids[] = $np;
  }
  $new_pages = array();
  $new_pages = $wpdb-&gt;get_col("SELECT ID FROM $wpdb-&gt;posts $where ORDER BY post_date_gmt ASC");
}
# $post_ids array now contains the pages we wish to export</pre>
</blockquote>
<p>Simply run the Export process and you will have just those pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2009/05/export-wp-page-subset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some useful WordPress plugins</title>
		<link>http://blog.wlindley.com/2008/10/some-useful-wordpress-plugins-2/</link>
		<comments>http://blog.wlindley.com/2008/10/some-useful-wordpress-plugins-2/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 18:27:28 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://blog.wlindley.com/?p=102</guid>
		<description><![CDATA[podPress &#8211; Podcast generator EasyTube &#8211; YouTube Plugin for WordPress]]></description>
			<content:encoded><![CDATA[<div class="entry-content">
<ul>
<li><a href="http://wordpress.org/extend/plugins/podpress/">podPress</a> &#8211; Podcast generator<a href="http://wordpress.org/extend/plugins/podpress/"><br />
</a></li>
<li> <a title="Permanent Link to EasyTube - YouTube Plugin for WordPress" rel="bookmark" href="http://www.ejump.co.uk/wordpress/easytube-plugin-for-wordpress/"> EasyTube</a> &#8211; YouTube Plugin for WordPress</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2008/10/some-useful-wordpress-plugins-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing WordPress with Subversion</title>
		<link>http://blog.wlindley.com/2007/12/installing-wordpress-with-subversion/</link>
		<comments>http://blog.wlindley.com/2007/12/installing-wordpress-with-subversion/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 21:47:48 +0000</pubDate>
		<dc:creator>bill</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.wlindley.com/archives/45</guid>
		<description><![CDATA[Source: http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion To install a fresh copy of WordPress, type the following at your command prompt, starting from the directory above where you want to install WordPress. These commands will create a directory &#8220;blog&#8221; for your blog, and then check &#8230; <a href="http://blog.wlindley.com/2007/12/installing-wordpress-with-subversion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Source: <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion</a></p>
<p>To install a fresh copy of WordPress, type the following at your command prompt, starting from the directory above where you want to install WordPress. These commands will create a directory &#8220;blog&#8221; for your blog, and then <em>check out</em> (Subversion command &#8220;co&#8221;), or extract from the repository, the stable version of WordPress you have chosen. Do not type the &#8220;$&#8221; characters &#8212; they are just indications of the command prompt. Here are the commands (assuming the version you want is 2.7.1):</p>
<p><code> $ mkdir blog<br />
$ cd blog<br />
$ svn co http://svn.automattic.com/wordpress/tags/2.7.1 .</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wlindley.com/2007/12/installing-wordpress-with-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
