<?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>Semicolon &#187; WordPress</title>
	<atom:link href="http://www.thunderguy.com/semicolon/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thunderguy.com/semicolon</link>
	<description>Software, the Internet and you.</description>
	<lastBuildDate>Fri, 30 Jul 2010 08:35:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Search Meter WordPress plugin version 2.6</title>
		<link>http://www.thunderguy.com/semicolon/2009/10/01/search-meter-wordpress-plugin-version-2-6/</link>
		<comments>http://www.thunderguy.com/semicolon/2009/10/01/search-meter-wordpress-plugin-version-2-6/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 09:10:23 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Search Meter]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/?p=245</guid>
		<description><![CDATA[Version 2.6 of Search Meter, my WordPress search statistics plugin, is out now. This version has been upgraded to work with the latest version of PHP (5.3), and the search widgets now integrate better with WordPress 2.8 themes. The other change is that Search Meter should now work better on international websites &#8212; it now [...]]]></description>
			<content:encoded><![CDATA[<p>Version 2.6 of Search Meter, my WordPress search statistics plugin, is out now. This version has been upgraded to work with the latest version of PHP (5.3), and the search widgets now integrate better with WordPress 2.8 themes. The other change is that Search Meter should now work better on international websites &#8212; it now creates its database tables using the UTF-8 character encoding, which should work with non-Latin-based languages such as Chinese, Greek, Hebrew and so on. </p>
<p>You can upgrade your existing Search Meter from your WordPress administration interface, or go to the <a href="http://www.thunderguy.com/semicolon/wordpress/search-meter-wordpress-plugin/">Search Meter</a> page for more information.<!--nevermore--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2009/10/01/search-meter-wordpress-plugin-version-2-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL character encodings</title>
		<link>http://www.thunderguy.com/semicolon/2009/06/20/mysql-character-encodings/</link>
		<comments>http://www.thunderguy.com/semicolon/2009/06/20/mysql-character-encodings/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 03:14:18 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/?p=159</guid>
		<description><![CDATA[I recently noticed that many of the comments and trackbacks on this website were composed entirely of question marks. At first I thought it might be plain old spam, but it turned out to be a character encoding problem. Here&#8217;s how I fixed it.
Excessive question marks often indicate a problem with character encoding. After a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently noticed that many of the comments and trackbacks on this website were composed entirely of question marks. At first I thought it might be plain old spam, but it turned out to be a character encoding problem. Here&#8217;s how I fixed it.<span id="more-159"></span></p>
<p>Excessive question marks often indicate a problem with character encoding. After a little investigation I realised that the character collation for most of the WordPress database tables was set to <code>latin1_swedish_ci</code>, indicating a character set of <code>latin1</code>. Clearly this was going to cause problems for non-western languages; I noticed problems with comments from Israel, Eastern Europe and East Asia amongst others.</p>
<p>The fix was pretty simple: change the character set used by the comments table to UTF-8 like this.</p>
<pre class="code"><code>ALTER TABLE wp_comments CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;</code></pre>
<p>I think this happened when I restored the database from a backup; the collations were reset to <code>latin1_swedish_ci</code>, which is the MySQL default. Sadly, the encoding problem was happening when data went into the database, so all the current question marks will remain. At least future comments and trackbacks will now appear correctly, I hope.</p>
<p>There is one strange thing though &#8212; the comments table in another blog of mine has its collation also set to <code>latin1_swedish_ci</code>, but it can handle Japanese, Hebrew, Russian, and anything else I throw at it. The case continues.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2009/06/20/mysql-character-encodings/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Seemore is the new Less</title>
		<link>http://www.thunderguy.com/semicolon/2009/02/14/seemore-is-the-new-less/</link>
		<comments>http://www.thunderguy.com/semicolon/2009/02/14/seemore-is-the-new-less/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 03:20:31 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/?p=142</guid>
		<description><![CDATA[Less, my small but perfectly formed WordPress plugin, has changed its name and is now called Seemore. A different plugin called Less has been added to the WordPress Plugin Directory, so I finally decided to change my plugin&#8217;s name to something marginally less   confusing.
Seemore makes reading posts more intuitive for your readers. With [...]]]></description>
			<content:encoded><![CDATA[<p><em>Less</em>, my small but perfectly formed WordPress plugin, has changed its name and is now called <a href="http://www.thunderguy.com/semicolon/wordpress/seemore-wordpress-plugin/">Seemore</a>. A different plugin called Less has been added to the WordPress Plugin Directory, so I finally decided to change my plugin&#8217;s name to something marginally less <img src='http://www.thunderguy.com/semicolon/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  confusing.<span id="more-142"></span></p>
<p>Seemore makes reading posts more intuitive for your readers. With Seemore, when readers click a (more&#8230;) link they see the full article on the screen, not just the part after the (more&#8230;). For your convenience, now you can get <a href="http://wordpress.org/extend/plugins/seemore/">Seemore at the WordPress Plugin Directory</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2009/02/14/seemore-is-the-new-less/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Separate WordPress core and content files</title>
		<link>http://www.thunderguy.com/semicolon/2008/12/29/separate-wordpress-core-and-content-files/</link>
		<comments>http://www.thunderguy.com/semicolon/2008/12/29/separate-wordpress-core-and-content-files/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 01:42:15 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/?p=122</guid>
		<description><![CDATA[Recent WordPress versions have supposedly enabled the ability to separate the core WordPress files from the site-specific files, but I found it hard to find clear information on how to do it. Here&#8217;s the method I ended up using.
For some reason this has been touted as the &#8220;Clean Subversion Repositories&#8221; feature. They really mean &#8220;Clean [...]]]></description>
			<content:encoded><![CDATA[<p>Recent WordPress versions have supposedly enabled the ability to separate the core WordPress files from the site-specific files, but I found it hard to find clear information on how to do it. Here&#8217;s the method I ended up using.<span id="more-122"></span></p>
<p>For some reason this has been touted as the &#8220;<a href="http://codex.wordpress.org/Installing_WordPress_With_Clean_Subversion_Repositories">Clean Subversion Repositories</a>&#8221; feature. They really mean &#8220;Clean Subversion Working Copy&#8221;, but in fact Subversion doesn&#8217;t really care about other files in its working copies. The feature is mostly useful for people who <em>don&#8217;t</em> have command-line Subversion access in their blog file systems. With the core files separated, you can upgrade simply by deleting and copying in a single directory. This is a big improvement to the previous version, which require a tricky piecemeal copy.</p>
<p>The problem is that there&#8217;s no definitive documentation on how to enable it. It&#8217;s annoying that the WordPress team list this as a new feature, and then leave it up to the users to figure out how to make it work. You could look at the <a href="http://trac.wordpress.org/ticket/6938">Trac ticket</a> for this feature for more information. That&#8217;s what I did; if you want to enable it too, you could do worse than start with my method.</p>
<p>Do this at your own risk, of course. It&#8217;s worked for me on the one site I&#8217;ve tried it on, but I haven&#8217;t yet been brave enough to do this on Semicolon yet.</p>
<p>To have your blog at http://example.com/semicolon, with the content and config files in <code>/home/web/semicolon/</code>. and the core files in <code>/home/web/semicolon/wordpress/</code>, here&#8217;s what I would do.</p>
<p>1. Install WordPress in <code>/home/web/semicolon/wordpress/</code><br />
2. Copy <code>index.php</code> from <code>/home/web/semicolon/wordpress/</code> to <code>/home/web/semicolon/</code><br />
3. Edit your new <code>index.php</code>. Replace the line<br />
<code>require('./wp-blog-header.php');</code><br />
with<br />
<code>require('wordpress/wp-blog-header.php');</code><br />
4. In WordPress, go to Settings and set your Blog address (URL) to <em>http://example.com/semicolon</em></p>
<p>Make sure everything works OK. Next comes the scary bit.</p>
<p>5. Move (don&#8217;t copy) <code>wp-config.php</code> and <code>wp-content</code> from <code>/home/web/semicolon/wordpress/</code> to <code>/home/web/semicolon/</code><br />
6. Edit your new <code>wp-config.php</code>. Add the following lines just before the line that says &#8220;<em>/* That&#8217;s all, stop editing! Happy blogging. */</em>&#8221;</p>
<pre><code>define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/wp-content' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) . '/wp-content');</code></pre>
<p>That&#8217;s all! Test. Enjoy. Now your own files and content are in <code>/home/web/semicolon/wp-content/</code> and <code>/home/web/semicolon/wp-config.php</code>. All system files are in <code>/home/web/semicolon/wordpress/</code>, which can safely be deleted and replaced by an upgrade any time.</p>
<p>Now apparently there may still be some problems with plugins and with file uploads. This may explain the <a href="http://codex.wordpress.org/Installing_WordPress_With_Clean_Subversion_Repositories">complicated instructions in the WordPress Codex</a>, which involve editing the <code>.htaccess</code> file. Yikes. A feature that requires you to edit <code>.htaccess</code> is an unfinished feature. My method is more like the other Codex method described in <a href="http://codex.wordpress.org/Editing_wp-config.php">Editing the config file</a>, except it&#8217;s more generic. I haven&#8217;t found any problems yet with my approach &#8212; but that doesn&#8217;t mean you won&#8217;t. Break a leg.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2008/12/29/separate-wordpress-core-and-content-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Search Meter WordPress plugin version 2.3</title>
		<link>http://www.thunderguy.com/semicolon/2007/08/28/search-meter-wordpress-plugin-version-23/</link>
		<comments>http://www.thunderguy.com/semicolon/2007/08/28/search-meter-wordpress-plugin-version-23/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 11:42:08 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/2007/08/28/search-meter-wordpress-plugin-version-23/</guid>
		<description><![CDATA[I have updated Search Meter, my WordPress plugin that lets you find out what your blog visitors have been searching for. The new version includes a couple of widgets to make it easy to display recent and popular searches on your blog, as well as a few other changes. Here are the details.
Widgets
Search Meter 2.3 [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated <a href="http://www.thunderguy.com/semicolon/wordpress/search-meter-wordpress-plugin/">Search Meter</a>, my WordPress plugin that lets you find out what your blog visitors have been searching for. The new version includes a couple of widgets to make it easy to display recent and popular searches on your blog, as well as a few other changes. Here are the details.<span id="more-110"></span></p>
<h2>Widgets</h2>
<p>Search Meter 2.3 includes two WordPress widgets. <strong>Popular Searches</strong> shows a list of the most popular search terms that have produced hits at your site during the last 30 days, and <strong>Recent Searches</strong> shows a list of the most recent searches that produced hits at your site. Readers can click search terms in the list to search for the term themselves. Both widgets display up to 5 search terms by default, but you can change this to whatever number you like.</p>
<h2>Security</h2>
<p>This version fixes a security hole in previous releases where it was theoretically possible for an unscrupulous website to trick you into deleting your saved search data. This was a pretty minor risk: the search data is transient anyway, and I have not heard of anyone even thinking of doing this, let alone actually managing to carry it out. Anyway, from Search Meter 2.3 the &#8220;attack&#8221; is no longer possible. Previous version are still vulnerable, so truly paranoid users should upgrade. And don&#8217;t forget to wear your tinfoil hat.</p>
<h2>A polite suggestion</h2>
<p>The Options and Statistics screens now include a button allowing convenient access to PayPal to make Search Meter donations. This is meant to be a gentle, unobtrusive suggestion rather than a blatant advertisement. There&#8217;s an option to turn it off if you don&#8217;t like it (or even better, if you have already made a donation).</p>
<p>Remember, donating is optional. You can donate nothing, or you can donate $1000 (yes, really) but Search Meter will work the same regardless.</p>
<h2>Other changes</h2>
<p>I have made a number of changes to the internal workings of the Search Meter code, just to tidy things up a bit and make it easier for me to work with. This version also contains the installation bug fix from Search Meter 2.2, which I released quietly a few months ago. That problem was caused by a core change made in WordPress 2.2.1.</p>
<h2>Download</h2>
<p>As always, go to the main <a href="http://www.thunderguy.com/semicolon/wordpress/search-meter-wordpress-plugin/">Search Meter plugin</a> page to see full details and to download Search Meter 2.3.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2007/08/28/search-meter-wordpress-plugin-version-23/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Code Markup WordPress plugin version 1.2</title>
		<link>http://www.thunderguy.com/semicolon/2007/08/16/code-markup-wordpress-plugin-version-12/</link>
		<comments>http://www.thunderguy.com/semicolon/2007/08/16/code-markup-wordpress-plugin-version-12/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 10:32:12 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/2007/08/16/code-markup-wordpress-plugin-version-12/</guid>
		<description><![CDATA[Code Markup, my WordPress plugin that makes it easy to include program code samples in your posts, has been updated to version 1.2.  Code Markup lets you include HTML markup in the code sample; it magically knows which characters should be displayed as code and which should be rendered as HTML. Version 1.2 has [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/">Code Markup</a>, my <a href="http://wordpress.org/">WordPress</a> plugin that makes it easy to include program code samples in your posts, has been updated to version 1.2.  Code Markup lets you include HTML markup in the code sample; it magically knows which characters should be displayed as code and which should be rendered as HTML. Version 1.2 has a few tweaks that will make it more useful and usable.<span id="more-109"></span></p>
<p>The best new feature is that Code Markup now fixes a WordPress bug where backslashes inside a <code>&lt;pre&gt;</code> block would not be displayed. With Code Markup, such backslashes are now displayed even if not in a code block.</p>
<p>The &#8220;allow&#8221; attribute is now called &#8220;markup&#8221;. I could never remember whether <code>allow="span"</code> meant that <code>&lt;span&gt;</code> was allowed as a literal or allowed as markup. Now I hope it&#8217;s clearer: <code>markup="span"</code> means that <code>&lt;span&gt;</code> will be treated as markup, not displayed literally.</p>
<p>For backwards-compatibility, you can still use &#8220;allow&#8221; as the attribute name. So any existing code blocks will still work with the new Code Markup.</p>
<p>Finally, Code Markup works better now with tags and comments that span multiple lines.</p>
<h2>Download</h2>
<p>For details and download, see the main <a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/">Code Markup</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2007/08/16/code-markup-wordpress-plugin-version-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Share This (jQuery): a WordPress plugin</title>
		<link>http://www.thunderguy.com/semicolon/2007/07/30/share-this-jquery-a-wordpress-plugin/</link>
		<comments>http://www.thunderguy.com/semicolon/2007/07/30/share-this-jquery-a-wordpress-plugin/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 23:56:04 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[web publishing]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/2007/07/30/share-this-jquery-a-wordpress-plugin/</guid>
		<description><![CDATA[I have made a useful modification to Alex King&#8217;s excellent Share This WordPress plugin. Share This adds a nice popup to your posts allowing readers to easily submit the post to any number of social networking and news sites. The original version relies on the large Prototype JavaScript library, which adds to the download size [...]]]></description>
			<content:encoded><![CDATA[<p>I have made a useful modification to Alex King&#8217;s excellent <a href="http://alexking.org/projects/wordpress">Share This WordPress plugin</a>. Share This adds a nice popup to your posts allowing readers to easily submit the post to any number of social networking and news sites. The original version relies on the large <a href="http://www.prototypejs.org/">Prototype</a> JavaScript library, which adds to the download size for the page. Share This only uses a sprinkling of its features, so I wanted to replace it with something smaller.<span id="more-103"></span></p>
<p>I have recently redesigned this website; it now uses the marvellous <a href="http://jquery.com/">jQuery</a> library for some of the effects. So to avoid having to include Prototype, I modified Share This to use jQuery instead of Prototype. If you want to reduce the time taken for your pages to load, you could replace the original Share This with my version; this is is especially good if you are already using jQuery.</p>
<p>To use this version of Share This, first install the original <a href="http://alexking.org/projects/wordpress">Share This</a> (version 1.4), and then <a href="http://www.thunderguy.com/semicolon/plaintext/share-this.php"><strong>download Share This (jQuery)</strong></a> and replace the original share-this.php file with the new one. Read on for more details.</p>
<p>Here are the changes I made, compared to version 1.4 of Share This.</p>
<p><strong>Use jQuery instead of Prototype.</strong><br />
jQuery is included in WordPress 2.2 and later versions. For earlier versions, you should <a href="http://jquery.com/">download jQuery</a> and copy it into the <code>wp-includes/js/</code> directory in your WordPress installation. Make sure the file name is <code>jquery.js</code>.</p>
<p><strong>Behave nicely if somebody tries to load the plugin file directly.</strong><br />
If someone tries to load the share-this.php file directly, just show a blank screen. The original version shows an error message.</p>
<p><strong>Use a sliding &#8220;roller blind&#8221; effect when showing the Share This popup window.</strong><br />
Just because it looks nice.</p>
<p><strong>Remove some unused code.</strong><br />
Because it was unused.</p>
<p>My modifications are in the public domain.</p>
<p>Now, there is one other change. The position of the popup window is not the same in all browsers; in some browsers (such as Firefox) the popup appears below the &#8220;Share This&#8221; link; in others (such as Internet Explorer) the popup appears just to the right of the link. I don&#8217;t mind the inconsistency: both variations look nice in themselves.</p>
<p>I thought about using the <a href="http://jquery.com/plugins/project/dimensions">Dimensions plugin</a> to emulate the original Share This more exactly. But in the end I decided to keep things simple and avoid introducing yet another file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2007/07/30/share-this-jquery-a-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>WordPress vs. mod_security</title>
		<link>http://www.thunderguy.com/semicolon/2007/06/13/wordpress-vs-mod_security/</link>
		<comments>http://www.thunderguy.com/semicolon/2007/06/13/wordpress-vs-mod_security/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 02:59:33 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[web publishing]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/2007/06/13/wordpress-vs-mod_security/</guid>
		<description><![CDATA[WordPress blog posts with certain words in them can sometimes be blocked or fail mysteriously. Sometimes the offending word is silently removed from the post; other times the post fails with an HTTP error. Here&#8217;s a description of one possible cause, together with a useful workaround in case this problem happens to you. The problem [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress blog posts with certain words in them can sometimes be blocked or fail mysteriously. Sometimes the offending word is silently removed from the post; other times the post fails with an HTTP error. Here&#8217;s a description of one possible cause, together with a useful workaround in case this problem happens to you. The problem could actually affect any blog platform or pretty much any other web application, not just WordPress.<span id="more-101"></span></p>
<p>If I try to write a WordPress blog post containing the word &#8220;python&#8221; followed by a space, I get an HTTP error page. The error is &#8220;403 &#8211; Forbidden&#8221;. After a bit of experimentation I have found that the &#8220;python&#8221; can be in any case, and that it&#8217;s only a problem if followed by a space.</p>
<p>By some coincidence, I recently read about a <a href="http://wordpress.org/support/topic/29970">similar mysterious bug</a> on the WordPress support forum. The problem seems to be caused by over-zealous <a href="http://www.modsecurity.org/">mod_security</a> rules. It looks as if my web host is using mod_security to block any HTTP POST that appears to contain a <a href="http://www.python.org/">Python</a> command. Even if it&#8217;s only me trying to write a blog post about scripting languages.</p>
<p>Even though my problem was with the word &#8220;python&#8221;, the forum post mentions similar problems with the words &#8220;compress&#8221; and &#8220;curl&#8221;. It just depends on what rules your web host has implemented.</p>
<p>I know better than to try to get my host to change their rules &#8212; it would take a bit of time, and there&#8217;s a workaround anyway. Just add some obfuscatory HTML to avoid triggering the rule. My first attempt was this:</p>
<p>&#8220;<code>Python&amp;#32;</code>&#8221;</p>
<p>This works fine, but unfortunately WordPress actually translates the <code>&amp;#32;</code> into a space. Later, if I edit the post and try to save, mod_security blocks it again. I have to manually replace the space with a <code>&amp;#32;</code> again.</p>
<p>So here&#8217;s the best solution I found.</p>
<p>&#8220;<code>Python&lt;span&gt;&lt;/span&gt; </code>&#8221;</p>
<p>Note that you have to be in the code editor (not the visual editor) in WordPress to enter the &lt; and &gt; characters. Using this trick you can talk about Python<span></span> just as much as you want, and edit your posts too. And this solution is completely general; you can write <code>com&lt;span&gt;&lt;/span&gt;press</code> or <code>cu&lt;span&gt;&lt;/span&gt;rl</code> or whatever other forbidden word you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2007/06/13/wordpress-vs-mod_security/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Less WordPress plugin version 1.1</title>
		<link>http://www.thunderguy.com/semicolon/2007/01/11/less-wordpress-plugin-version-11/</link>
		<comments>http://www.thunderguy.com/semicolon/2007/01/11/less-wordpress-plugin-version-11/#comments</comments>
		<pubDate>Thu, 11 Jan 2007 09:19:29 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/2007/01/11/less-wordpress-plugin-version-11/</guid>
		<description><![CDATA[I have updated Less, my WordPress blog plugin that simplifies WordPress&#8217;s &#8220;read more&#8221; function. The old version of Less will not work in the upcoming WordPress version 2.1, so you should upgrade Less before you upgrade WordPress.
See the main Less plugin page for details on what it does, and to download this fine piece of [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated Less, my WordPress blog plugin that simplifies WordPress&#8217;s &#8220;read more&#8221; function. The old version of Less will not work in the upcoming WordPress version 2.1, so you should upgrade Less before you upgrade WordPress.<span id="more-99"></span></p>
<p>See the main <a href="http://www.thunderguy.com/semicolon/wordpress/less-wordpress-plugin/">Less plugin page</a> for details on what it does, and to download this fine piece of software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2007/01/11/less-wordpress-plugin-version-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Cat WordPress plugin version 1.2</title>
		<link>http://www.thunderguy.com/semicolon/2006/12/07/top-cat-wordpress-plugin-version-12/</link>
		<comments>http://www.thunderguy.com/semicolon/2006/12/07/top-cat-wordpress-plugin-version-12/#comments</comments>
		<pubDate>Thu, 07 Dec 2006 09:07:39 +0000</pubDate>
		<dc:creator>Bennett</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thunderguy.com/semicolon/2006/12/07/top-cat-wordpress-plugin-version-12/</guid>
		<description><![CDATA[I have updated Top Cat to version 1.2. Top Cat is a WordPress plugin that allows you to specify a main category for your posts. It also provides template tags for displaying the main category or using it in themes. The canonical example of Top Cat use is my Bennettarium blog. (I wrote Top Cat [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated Top Cat to version 1.2. Top Cat is a WordPress plugin that allows you to specify a main category for your posts. It also provides template tags for displaying the main category or using it in themes. The canonical example of Top Cat use is my <a href="http://www.thunderguy.com/bennett">Bennettarium</a> blog. (I wrote Top Cat to help convert the blog over to WordPress.)<span id="more-98"></span></p>
<p>There are just a handful of changes in this version. When saving a post: if there is only one category set but no main category, then that single category becomes the main category. There is also a breaking change: the <code>topcat_the_main_category_id()</code> template tag now has only one optional argument (it used to have three). In the unlikely event that you were using the before and after arguments, they will now be ignored. Those arguments didn&#8217;t make much sense anyway.</p>
<p>And there&#8217;s also a bug fix or two. (Thanks to <a href="http://www.podbr.com/">Alfredo</a> for pointing one out.)</p>
<p>The most useful addition is not even in the plugin. On the main Top Cat page, there&#8217;s now a short example explaining how to use Top Cat to make your posts change colour according to their main categories. you still need to be at least a bit familiar with HTML, CSS and PHP, but it should at least point you in the right direction.</p>
<p>You can get full details and download Top Cat at the main <a href="http://www.thunderguy.com/semicolon/wordpress/top-cat-wordpress-plugin/">Top Cat</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thunderguy.com/semicolon/2006/12/07/top-cat-wordpress-plugin-version-12/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
