<?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>minimal.cx &#187; wordpress</title>
	<atom:link href="http://minimal.cx/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://minimal.cx</link>
	<description>things that only i could care about</description>
	<lastBuildDate>Sat, 17 Dec 2011 18:04:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>new theme for mobile viewers</title>
		<link>http://minimal.cx/2009/04/27/new-theme-for-mobile-viewers/</link>
		<comments>http://minimal.cx/2009/04/27/new-theme-for-mobile-viewers/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 07:02:50 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[site]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minimal.cx/?p=693</guid>
		<description><![CDATA[<a href="http://minimal.cx/2009/04/27/new-theme-for-mobile-viewers/" title="new theme for mobile viewers"></a>I&#8217;m a huge fan of CSS and intelligent use of it such as removing images, background colours and scaling down font sizes for print, but some things need more work. If you&#8217;re looking at this site from an iPod Touch, &#8230;<p class="read-more"><a href="http://minimal.cx/2009/04/27/new-theme-for-mobile-viewers/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://minimal.cx/2009/04/27/new-theme-for-mobile-viewers/" title="new theme for mobile viewers"></a><p>I&#8217;m a huge fan of CSS and intelligent use of it such as removing images, background colours and scaling down font sizes for print, but some things need more work.  If you&#8217;re looking at this site from an iPod Touch, iPhone or Android device, you should now get a much more compact &#8216;just-the-facts&#8217; style view, courtesy of <a href="http://www.bravenewcode.com/wptouch/">WPTouch</a>.  If you have any problems, or think the layout could still stand to be improved, do let me know in the comments.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fminimal.cx%2F2009%2F04%2F27%2Fnew-theme-for-mobile-viewers%2F&amp;title=new%20theme%20for%20mobile%20viewers" id="wpa2a_2"><img class="colorbox-693"  src="http://minimal.cx/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://minimal.cx/2009/04/27/new-theme-for-mobile-viewers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>blog upgrade</title>
		<link>http://minimal.cx/2008/11/01/blog-upgrade/</link>
		<comments>http://minimal.cx/2008/11/01/blog-upgrade/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 17:34:28 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://beta.minimal.cx/?p=580</guid>
		<description><![CDATA[<a href="http://minimal.cx/2008/11/01/blog-upgrade/" title="blog upgrade"></a>Crikey. That was a bit of work &#8211; moving from WordPress 1.2 with a huge number of hacks into the latest-and-greatest version, but even though it was pretty much working, software from May 2004 (!) was starting to show in &#8230;<p class="read-more"><a href="http://minimal.cx/2008/11/01/blog-upgrade/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://minimal.cx/2008/11/01/blog-upgrade/" title="blog upgrade"></a><p>Crikey.  That was a bit of work &#8211; moving from WordPress 1.2 with a huge number of hacks into the latest-and-greatest version, but even though it was pretty much working, software from May 2004 (!) was starting to show in terms of flexibility and general slickness.</p>
<p>I&#8217;ve added some static pages for things like my reviews and Aperture hacks as they seem to be the most popular content, and I&#8217;m slowly going through the old posts to clean up bad quote marks, odd foreign characters and broken image links.  Once that&#8217;s done I&#8217;ll remove this post from the front page and let it age gracefully&#8230;</p>
<p>A couple of my more immediate aims are to have the pages cached automatically so load times are greatly improved, automatic machine translation if you have a non-English language set in your browser (please let me know if this is a bad idea and you&#8217;d prefer to manually click on the translation flag), and the ability to open things up for guest posters, as a) it&#8217;s all the rage from 2006, and b) the number of posts might actually creep up above 1 per month.</p>
<p>Update: Pooh &#8211; Translation is bust <img src='http://minimal.cx/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley colorbox-580' />   Working on it&#8230;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fminimal.cx%2F2008%2F11%2F01%2Fblog-upgrade%2F&amp;title=blog%20upgrade" id="wpa2a_4"><img class="colorbox-580"  src="http://minimal.cx/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://minimal.cx/2008/11/01/blog-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ah, so that&#8217;s what they do next, then</title>
		<link>http://minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/</link>
		<comments>http://minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/#comments</comments>
		<pubDate>Tue, 01 Feb 2005 07:22:43 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://beta.minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/</guid>
		<description><![CDATA[<a href="http://minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/" title="ah, so that&#039;s what they do next, then"></a>Ok, commenting is effectively disabled, so this morning there are 15 trackback spam links&#8230; Just in case anyone wondered what &#8216;they&#8217; do next, and yes, for the moment Trackback has been disabled (if it turns out to be an exploit &#8230;<p class="read-more"><a href="http://minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/" title="ah, so that&#039;s what they do next, then"></a><p>Ok, commenting is effectively disabled, so this morning there are 15 trackback spam links&#8230;</p>
<p>Just in case anyone wondered what &#8216;they&#8217; do next, and yes, for the moment Trackback has been disabled (if it turns out to be an exploit rather than a real Trackback, then it&#8217;ll be back on again once it&#8217;s patched).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fminimal.cx%2F2005%2F02%2F01%2Fah-so-thats-what-they-do-next-then%2F&amp;title=ah%2C%20so%20that%26%238217%3Bs%20what%20they%20do%20next%2C%20then" id="wpa2a_6"><img class="colorbox-264"  src="http://minimal.cx/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://minimal.cx/2005/02/01/ah-so-thats-what-they-do-next-then/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>saved by javascript &#8211; what a turn up&#8230;</title>
		<link>http://minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/</link>
		<comments>http://minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/#comments</comments>
		<pubDate>Mon, 31 Jan 2005 22:49:15 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://beta.minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/</guid>
		<description><![CDATA[<a href="http://minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/" title="saved by javascript - what a turn up..."></a>Given that I have always tried as hard as I can to make browsing my site (in all its incarnations) as similar as possible in both the latest standards compliant browser(s) as well as lynx/links (without resorting to browser idents, &#8230;<p class="read-more"><a href="http://minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/" title="saved by javascript - what a turn up..."></a><p>Given that I have <em>always</em> tried as hard as I can to make browsing my site (in all its incarnations) as similar as possible in both the latest standards compliant browser(s) as well as lynx/links (<em>without</em> resorting to browser idents, thankyouverymuch) it&#8217;s with regret that I now announce that I&#8217;ve added JavaScript to my site, and you&#8217;ll not be able to leave a comment without it being enabled <img src='http://minimal.cx/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley colorbox-262' /> </p>
<p>For some unknown reason, denying every single spam comment and throwing the IP&#8217;s into a banned list just doesn&#8217;t stop them &#8211; they (the bots, or possibly the spammers) are just so dumb they keep trying.  And trying.  And trying.  And trying.  Over 450 in 48 hours is more than I&#8217;m willing to put up with, when the commenting is only really there for my own vanity anyway&#8230;</p>
<p>So, after using <a href="http://elliottback.com/wp/archives/2004/11/29/spam-stopgap-extreme/">Spam Stopgap Extreme</a> with success for Nicci, I&#8217;ve added the latest incarnation <a href="http://dev.wp-plugins.org/browser/wp-hashcash/trunk">wp-hashcash</a> to mine.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fminimal.cx%2F2005%2F01%2F31%2Fsaved-by-javascript-what-a-turn-up%2F&amp;title=saved%20by%20javascript%20%26%238211%3B%20what%20a%20turn%20up%26%238230%3B" id="wpa2a_8"><img class="colorbox-262"  src="http://minimal.cx/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://minimal.cx/2005/01/31/saved-by-javascript-what-a-turn-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>blocking odd &#8216;comment only&#8217; posts</title>
		<link>http://minimal.cx/2004/08/05/blocking-odd-comment-only-posts/</link>
		<comments>http://minimal.cx/2004/08/05/blocking-odd-comment-only-posts/#comments</comments>
		<pubDate>Thu, 05 Aug 2004 10:24:16 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://beta.minimal.cx/2004/08/05/blocking-odd-comment-only-posts/</guid>
		<description><![CDATA[<a href="http://minimal.cx/2004/08/05/blocking-odd-comment-only-posts/" title="blocking odd &#039;comment only&#039; posts"></a>For some reason, visitors to this site seem to love clicking on one or more smiley faces and then sending it as a comment. I&#8217;ve no idea why, except perhaps that they feel my site doesn&#8217;t have enough images, but &#8230;<p class="read-more"><a href="http://minimal.cx/2004/08/05/blocking-odd-comment-only-posts/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://minimal.cx/2004/08/05/blocking-odd-comment-only-posts/" title="blocking odd &#039;comment only&#039; posts"></a><p>For some reason, visitors to this site seem to love clicking on one or more smiley faces and then sending it as a comment.  I&#8217;ve <em>no</em> idea why, except perhaps that they feel my site doesn&#8217;t have enough images, but if you&#8217;d like to have a little more information to go on before deciding to approve/decline the comment then adding the following lines to <code>wp-comments-post.php</code> will help.</p>
<p>Basically, the poster has to put <em>something</em> in one of the three fields besides the comment for it to be considered for approval &#8211; no it&#8217;s not foolproof, but I&#8217;d like to see at least a name to go on before deciding if the icon-only post is relevant, or the result of some random clickage)</p>
<p>For WordPress 1.2, add these lines after line 44 (or, more helpfully, after the line that says <code>die( __('Error: please type a comment.') );</code></p>
<pre class="rounded">if (('' == $email) &#038;&#038; ('' == $author) &#038;&#038; ('' == $url))
        die( __('Error: please enter more than just your comment.') );
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fminimal.cx%2F2004%2F08%2F05%2Fblocking-odd-comment-only-posts%2F&amp;title=blocking%20odd%20%26%238216%3Bcomment%20only%26%238217%3B%20posts" id="wpa2a_10"><img class="colorbox-214"  src="http://minimal.cx/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://minimal.cx/2004/08/05/blocking-odd-comment-only-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>comment moderation feedback</title>
		<link>http://minimal.cx/2004/06/29/comment-moderation-feedback/</link>
		<comments>http://minimal.cx/2004/06/29/comment-moderation-feedback/#comments</comments>
		<pubDate>Tue, 29 Jun 2004 16:06:22 +0000</pubDate>
		<dc:creator>ian</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://beta.minimal.cx/2004/06/29/comment-moderation-feedback/</guid>
		<description><![CDATA[<a href="http://minimal.cx/2004/06/29/comment-moderation-feedback/" title="comment moderation feedback"></a>Comment moderation is handy, but it&#8217;s annoying from a non-spammers point of view when it appears that the submission has simply vanished. My solution is to add an extra function to wp-includes/template-function-comments.php and a couple of lines in the wp-comments.php &#8230;<p class="read-more"><a href="http://minimal.cx/2004/06/29/comment-moderation-feedback/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://minimal.cx/2004/06/29/comment-moderation-feedback/" title="comment moderation feedback"></a><p>Comment moderation is handy, but it&#8217;s annoying from a non-spammers point of view when it appears that the submission has simply vanished.  My solution is to add an extra function to <code>wp-includes/template-function-comments.php</code> and a couple of lines in the <code>wp-comments.php</code> file that show a placeholder for pending comments with the time and date of submission (to help prevent abuse such as links in place of a user name there is nothing shown that was typed by the commenter).</p>
<p>Add the following function to <code>wp-includes/template-function-comments.php</code>:</p>
<pre class="rounded">function comment_approved() {
    global $comment;
    return ($comment->comment_approved);
}</pre>
<p>Then change the line that fetches the comments in <code>wp-comments.php</code> to fetch <em>all</em> comments regardless of status:</p>
<pre class="rounded">$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE
    comment_post_ID = '$id'
    ORDER BY comment_date");</pre>
<p>and finally change the main comment display loop to output a placeholder message:</p>
<pre class="rounded">&lt;?php foreach ($comments as $comment) { ?&gt;
    &lt;li id="comment-&lt;?php comment_ID() ?&gt;"&gt;
    &lt;?php if (comment_approved() == 1) { comment_text() ?&gt;
        &lt;p&gt;&lt;cite&gt;&lt;?php comment_type(); ?&gt; &lt;?php _e("by"); ?&gt;
        &lt;?php comment_author_link() ?&gt; &amp;#8212; &lt;?php comment_date() ?&gt;
        @ &lt;a href="#comment-&lt;?php comment_ID() ?&gt;"&gt;
        &lt;?php comment_time() ?&gt;&lt;/a&gt;&lt;/cite&gt;
        &lt;?php edit_comment_link(__("Edit This"), ' |'); ?&gt;&lt;/p&gt;
    &lt;?php } else { ?&gt;
        [Comment pending approval]
        &lt;p&gt;&lt;cite&gt;&lt;?php comment_type(); ?&gt; &amp;#8212; &lt;?php comment_date() ?&gt;
        @ &lt;a href="#comment-&lt;?php comment_ID() ?&gt;"&gt;
        &lt;?php comment_time() ?&gt;&lt;/a&gt;&lt;/cite&gt;
    &lt;?php } ?&gt;
    &lt;/li&gt;
&lt;?php } // end for each comment ?&gt;
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fminimal.cx%2F2004%2F06%2F29%2Fcomment-moderation-feedback%2F&amp;title=comment%20moderation%20feedback" id="wpa2a_12"><img class="colorbox-189"  src="http://minimal.cx/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://minimal.cx/2004/06/29/comment-moderation-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

