<?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>SteveJamieson.com &#187; Site News</title>
	<atom:link href="http://www.stevejamieson.com/blog/category/site-news/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevejamieson.com</link>
	<description>What should I put here?</description>
	<lastBuildDate>Fri, 17 Dec 2010 06:32:24 +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>WordPress Thumbnails</title>
		<link>http://www.stevejamieson.com/blog/2007/08/19/wordpress-thumbnails/</link>
		<comments>http://www.stevejamieson.com/blog/2007/08/19/wordpress-thumbnails/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 03:11:04 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Hints & Tips]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2007/08/19/wordpress-thumbnails/</guid>
		<description><![CDATA[As I was previewing my previous entry, I noticed that the thumbnails that WordPress had created for the attached [jpeg] images were of rather poor quality—they exhibited significant compression artifacts—and they were a little smaller than I would have liked. The latter problem was a simple fix. The Shift This WordPress Thumbnail Size Plugin creates [...]]]></description>
			<content:encoded><![CDATA[<p>As I was previewing my previous entry, I noticed that the thumbnails that WordPress had created for the attached [jpeg] images were of rather poor quality—they exhibited significant compression artifacts—and they were a little smaller than I would have liked. </p>
<p>The latter problem was a simple fix. The <a href="http://www.shiftthis.net/wordpress-thumbnail-size-plugin">Shift This WordPress Thumbnail Size Plugin</a> creates a new configuration page that allows WordPress admins to specify the max dimensions for thumbnails. (I use 192px.)</p>
<p>The problem of poor jpeg thumbnail quality isn&#8217;t as clean to fix. The only solution I could find requires changing a line in the source code. As explained <a href="http://wordpress.org/support/topic/117666">here in the WordPress support forums</a>, the fix requires editing the <code>wp_create_thumbnail</code> function in <code>wp-admin/admin-functions.php</code>.</p>
<p>The following code takes the resampled image data and saves it as a file on the server.</p>
<pre>
// move the thumbnail to its final destination
if ( $type[2] == 1 ) {
	if (!imagegif( $thumbnail, $thumbpath ) ) {
		$error = __( "Thumbnail path invalid" );
	}
}
elseif ( $type[2] == 2 ) {
	if (!imagejpeg( $thumbnail, $thumbpath ) ) {
		$error = __( "Thumbnail path invalid" );
	}
}
elseif ( $type[2] == 3 ) {
	if (!imagepng( $thumbnail, $thumbpath ) ) {
		$error = __( "Thumbnail path invalid" );
	}
}
</pre>
<p>The following line from the above code handles jpeg images:</p>
<pre>
if (!imagejpeg( $thumbnail, $thumbpath ) ) {
</pre>
<p>The <code>imagejpeg</code> function can take a third argument that specifies the quality (0–100) of the resulting file. If that argument is not provided, it defaults to a value of &#8220;about 75&#8243; (according to the PHP manual). I think a value of 90 is more appropriate, so therefore I edited the above line to:</p>
<pre>
if (!imagejpeg( $thumbnail, $thumbpath<span class="highlight-green">, 90</span> ) ) {
</pre>
<p>The result is greatly improved; however, as the comparison below demonstrates, it&#8217;s still not quite as nice as what I can get using the application that I&#8217;ve been using for years to do thumbnails manually—<a href="http://www.macupdate.com/info.php/id/11898">ThumbsUp</a>. The reason is that ThumbsUp provides options for antialiasing and sharpening the thumbnails that it generates.</p>
<p class="centered"><img src='http://www.stevejamieson.com/wordpress/wp-content/uploads/2007/08/guitarhero-examplethumb.thumbnail.jpg' alt='Example Thumbnail' /><img src='http://www.stevejamieson.com/wordpress/wp-content/uploads/2007/08/guitarhero.thumbnail.jpg' alt='Guitar Hero Cover' /><br />
Left: WordPress-generated thumbnail (after applying the above hack)—clean, but kinda fuzzy.<br />
Right: thumbnail generated using ThumbsUp—nice &#038; sharp.</p>
<p>Incidentally, the thumbnails on the previous post were all generated using ThumbsUp (to replace the ones that WordPress had originally generated with all the compression artifacts). I had hoped the above hack would keep me from having to do that again; however, it looks like I may have to continue using ThumbsUp as my source for thumbnails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2007/08/19/wordpress-thumbnails/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>The New SteveJamieson.com</title>
		<link>http://www.stevejamieson.com/blog/2007/05/27/under-construction/</link>
		<comments>http://www.stevejamieson.com/blog/2007/05/27/under-construction/#comments</comments>
		<pubDate>Sun, 27 May 2007 02:44:27 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Movable Type]]></category>
		<category><![CDATA[Textile]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[webserver]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I haven&#8217;t blogged in months. I&#8217;ve been promising a redesign for ages. Well, the time for action is here. This summer SteveJamieson.com is getting a complete overhaul. So please excuse the mess. I&#8217;ve got a blog engine transition to do, databases to upgrade, a photo gallery to install, and templates to design. Design Preview [update [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged in months. I&#8217;ve been promising a redesign for ages. Well, the time for action is here. This summer SteveJamieson.com is getting a complete overhaul. So please excuse the mess. I&#8217;ve got a blog engine transition to do, databases to upgrade, a photo gallery to install, and templates to design.</p>
<p style="text-align:center;"><big><a href="/index.new.html"><strong>Design Preview</strong></a></big></p>
<p>[update - 5/28]:</p>
<p>The move of my blog posts from Movable Type to WordPress was quick, simple, and painless. Unfortunately, the Textile (formatting) plugin for WordPress doesn&#8217;t seem to support all the shorthand mark-up that the Movable Type plugin does, so I have to reformat all my posts in standard HTML. I also moved my old blog image directory on my server to keep things tidy, so I have to edit all the image URLs as well. On the plus side, this is giving me the opportunity to file everything into categories. Keep an eye on the <a href="http://www.stevejamieson.com/blog/category/uncategorized/">Uncategorized</a> category to see my progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2007/05/27/under-construction/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>403 Forbidden</title>
		<link>http://www.stevejamieson.com/blog/2006/11/29/403-forbidden/</link>
		<comments>http://www.stevejamieson.com/blog/2006/11/29/403-forbidden/#comments</comments>
		<pubDate>Thu, 30 Nov 2006 03:58:57 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Villainy]]></category>
		<category><![CDATA[referrer spam]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2006/11/29/403-forbidden/</guid>
		<description><![CDATA[If you tried visiting my site in the past 24 hours you probably received a 403 Forbidden error. Last night I was apparently on the receiving end of a ginormous referrer spam attack. What&#8217;s a referrer spam attack, you ask? Here&#8217;s how it works. Whenever you attempt to visit a web page, your browser sends [...]]]></description>
			<content:encoded><![CDATA[<p>If you tried visiting my site in the past 24 hours you probably received a 403 Forbidden error. Last night I was apparently on the receiving end of a ginormous referrer spam attack. What&#8217;s a referrer spam attack, you ask?</p>
<p>Here&#8217;s how it works. Whenever you attempt to visit a web page, your browser sends an HTTP request to the server, which specifies the file that you want as well as some other information about your browser and such. If you request a page by clicking on a link, the URL of the document containing that link is sent in the HTTP request. Web servers log these HTTP requests and then log analysis tools can generate statistical reports.</p>
<p>My stats have been publicly available (if you knew where to look), and one of the parts of the reports is top referrers, so I can see where traffic to my site is coming from. The addresses in the referrer report are live links, so when Google&#8217;s web crawler indexes my site, it sees these top referrers as sites that I have linked to, which increases their PageRank score. Therefore, if a devious individual can have a bunch of zombie computers make a bunch of bogus HTTP requests with the perpetrator&#8217;s site as the referrer, this nefarious person can get a link to their site on mine and thus increase their web site&#8217;s rank in Google searches (or perhaps more likely the weight that Google gives to their site when determining the rank of the pages that others may pay them to link to).</p>
<p>I&#8217;ve known that this sort of thing has been going on for some time, but the referrer spam that I&#8217;ve seen has always been rather light—just a small (though not insignificant) percentage of the traffic on my site. Last night, however, my server was being hit so hard that the server was being overloaded and my web host had to block all web access.</p>
<p>You&#8217;ll notice that web access has been restored, although, for now, only if you enter the address directly. Referred traffic is still blocked, so trying to access my site from a link on another site will still be blocked. Perhaps I&#8217;ll go in and unblock some of the legitimate sites that I know link to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2006/11/29/403-forbidden/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WikiMania</title>
		<link>http://www.stevejamieson.com/blog/2006/03/11/wikimania/</link>
		<comments>http://www.stevejamieson.com/blog/2006/03/11/wikimania/#comments</comments>
		<pubDate>Sun, 12 Mar 2006 04:12:45 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[wikis]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2006/03/11/wikimania/</guid>
		<description><![CDATA[I am seriously geeking out today! Last night I installed MediaWiki on my server—the software that runs Wikipedia and the other Wikimedia Foundation projects. I&#8217;ve edited one article on Wikipedia, but being able to mess around with my own installation has really opened my eyes to just how slick this software is. The markup for [...]]]></description>
			<content:encoded><![CDATA[<p>I am seriously geeking out today! Last night I installed <a href="http://www.mediawiki.org/wiki/MediaWiki">MediaWiki</a> on my server—the software that runs <a href="http://www.wikipedia.org/">Wikipedia</a> and the other <a href="http://wikimediafoundation.org/wiki/Our_projects">Wikimedia Foundation projects</a>. I&#8217;ve edited one article on Wikipedia, but being able to mess around with my own installation has really opened my eyes to just how slick this software is. The markup for formatting text is easy to learn. The template system for creating reusable text blocks and dynamic text patterns is amazing. The management tools are impressive. I&#8217;m just scratching the surface, so I can&#8217;t wait to see what I discover next.</p>
<p>Anyway, I present my wiki: <a href="http://www.stevejamieson.com/wiki/">SteveWiki</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2006/03/11/wikimania/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RSS is here!</title>
		<link>http://www.stevejamieson.com/blog/2006/02/15/rss-is-here/</link>
		<comments>http://www.stevejamieson.com/blog/2006/02/15/rss-is-here/#comments</comments>
		<pubDate>Wed, 15 Feb 2006 21:26:31 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2006/02/15/rss-is-here/</guid>
		<description><![CDATA[Nick commented to me today about how I&#8217;m a big proponent of RSS technology, and yet my blog doesn&#8217;t have an RSS feed. Indeed, it is a travesty that I do not have an RSS feed while I read other blogs exclusively in RSS. An RSS feed has long been on the list of site [...]]]></description>
			<content:encoded><![CDATA[<p>Nick commented to me today about how I&#8217;m a big proponent of <a href="http://en.wikipedia.org/wiki/RSS_%28file_format%29">RSS technology</a>, and yet my blog doesn&#8217;t have an RSS feed. Indeed, it is a travesty that I do not have an RSS feed while I read other blogs exclusively in RSS. An RSS feed has long been on the list of site enhancements that would be included in that site redesign that I&#8217;ve been working on for many ages now. However, that doesn&#8217;t look like it will be done anytime soon, so I thought maybe I should take an hour, figure out <a href="http://www.rssboard.org/rss-2-0">RSS syntax</a>, and publish a feed already.</p>
<p>Thus I present to you: <a href="http://www.stevejamieson.com/feed/">My RSS Feed</a>. Subscribe away!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2006/02/15/rss-is-here/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Progress</title>
		<link>http://www.stevejamieson.com/blog/2004/12/06/making-progress/</link>
		<comments>http://www.stevejamieson.com/blog/2004/12/06/making-progress/#comments</comments>
		<pubDate>Mon, 06 Dec 2004 05:12:46 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2004/12/06/making-progress/</guid>
		<description><![CDATA[The new design for SteveJamieson.com is coming along nicely, although slowly. I think I finished the most difficult and detailed template of all tonight. After wrapping up a few more supporting templates, the blog will be done. Then it&#8217;s on to the Document Archive, and finally the infamous PhotoBlog. Meanwhile, check out the new Bookshelf. [...]]]></description>
			<content:encoded><![CDATA[<p>The new design for SteveJamieson.com is coming along nicely, although slowly. I think I finished the most difficult and detailed template of all tonight. After wrapping up a few more supporting templates, the blog will be done. Then it&#8217;s on to the Document Archive, and finally the infamous PhotoBlog.</p>
<p>Meanwhile, check out the new <a href="http://www.stevejamieson.com/books/">Bookshelf</a>. Be warned, however, there&#8217;s nothing cataloged yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2004/12/06/making-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teaser</title>
		<link>http://www.stevejamieson.com/blog/2004/11/27/teaser/</link>
		<comments>http://www.stevejamieson.com/blog/2004/11/27/teaser/#comments</comments>
		<pubDate>Sat, 27 Nov 2004 06:22:59 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2004/11/27/teaser/</guid>
		<description><![CDATA[I&#8217;ve been threatening a site redesign for some time. At first it was just a code conversion, but now it&#8217;s an all out new appearance. In addition, the PhotoBlog may finally surface.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been threatening a site redesign for some time. At first it was just a code conversion, but now it&#8217;s an all out new appearance. In addition, the PhotoBlog may finally surface.</p>
<p class="center"><img src="http://www.stevejamieson.com/wordpress/wp-content/pics/2004/teaser1f.jpg" alt="Teaser 1" height="156" width="188" /> <img src="http://www.stevejamieson.com/wordpress/wp-content/pics/2004/teaser2f.jpg" alt="Teaser 2" height="133" width="158" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2004/11/27/teaser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Take THAT Spammers!!!</title>
		<link>http://www.stevejamieson.com/blog/2004/11/17/take-that-spammers/</link>
		<comments>http://www.stevejamieson.com/blog/2004/11/17/take-that-spammers/#comments</comments>
		<pubDate>Thu, 18 Nov 2004 03:36:25 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2004/11/17/take-that-spammers/</guid>
		<description><![CDATA[The comment spam attack of &#8217;04 is over. After upgrading to MovableType 3.1, I was able to install the impressive MT Blacklist plugin, which gives MovableType the ability to block comments based on content. It also has an awesome and dead simple method of adding entries to the block list. When a spam is posted, [...]]]></description>
			<content:encoded><![CDATA[<p>The comment spam attack of &#8217;04 is over. After upgrading to MovableType 3.1, I was able to install the impressive MT Blacklist plugin, which gives MovableType the ability to block comments based on content. It also has an awesome and dead simple method of adding entries to the block list. When a spam is posted, I just have to click on a link and MT Blacklist automatically analyzes the comment to find a unique feature that identifies it as spam, which it adds to the block list. Then it automatically deletes the comment and rebuilds the appropriate pages.</p>
<p>The result? After only a few days of use, and two additions to the block list, MT Blacklist reports: &#8220;Comment spams blocked: 174&#8243;. Wow! That&#8217;s 174 comments I didn&#8217;t have to delete manually. Most impressive. Take <em>THAT</em> spammers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2004/11/17/take-that-spammers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comment Spam Attack Continues</title>
		<link>http://www.stevejamieson.com/blog/2004/11/14/comment-spam-attack-continues/</link>
		<comments>http://www.stevejamieson.com/blog/2004/11/14/comment-spam-attack-continues/#comments</comments>
		<pubDate>Sun, 14 Nov 2004 06:44:10 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Villainy]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2004/11/14/comment-spam-attack-continues/</guid>
		<description><![CDATA[Sorry folks if you happen to run across a comment advertising Texas Hold&#8217;em. My site is currently under attack by comment spammers. The first step that I&#8217;ve taken to end the attack is to force previewing of comments. No longer can you simply type your comment on the individual entry page and click submit. Now [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry folks if you happen to run across a comment advertising Texas Hold&#8217;em. My site is currently under attack by comment spammers. The first step that I&#8217;ve taken to end the attack is to force previewing of comments. No longer can you simply type your comment on the individual entry page and click submit. Now you have to click preview, and then confirm your comment.</p>
<p>Unfortunately, this has not stopped the &#8220;texas holdem&#8221; spam. On the plus side, this particular spam uses the same author name on every comment, so I can easily clean them all out every once in a while by using a simple SQL command on the MySQL database where my blog data is stored.</p>
<p><code>DELETE FROM `mt_comment` WHERE `comment_author` = 'texas holdem'</code></p>
<p>It looks like it may be time to upgrade my blog engine and install some anti-spam counter-measures.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2004/11/14/comment-spam-attack-continues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The evil hoardes are upon us, but at least I have some good music</title>
		<link>http://www.stevejamieson.com/blog/2004/11/13/the-evil-hoardes-are-upon-us-but-at-least-i-have-some-good-music/</link>
		<comments>http://www.stevejamieson.com/blog/2004/11/13/the-evil-hoardes-are-upon-us-but-at-least-i-have-some-good-music/#comments</comments>
		<pubDate>Sat, 13 Nov 2004 23:06:36 +0000</pubDate>
		<dc:creator>Steve Jamieson</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Villainy]]></category>

		<guid isPermaLink="false">http://www.stevejamieson.com/blog/2004/11/13/the-evil-hoardes-are-upon-us-but-at-least-i-have-some-good-music/</guid>
		<description><![CDATA[I logged into my blog administration interface ready to post a nice new entry, and then I glanced at the recent comments box. &#8220;texas holdem&#8221;? &#8220;uk propecia&#8221;? Dang it! Comment spam! I probably had to delete about 50 comments from various posts, which took a good deal of time and was highly annoying. Stupid comment [...]]]></description>
			<content:encoded><![CDATA[<p>I logged into my blog administration interface ready to post a nice new entry, and then I glanced at the recent comments box. &#8220;texas holdem&#8221;? &#8220;uk propecia&#8221;? Dang it! Comment spam!</p>
<p>I probably had to delete about 50 comments from various posts, which took a good deal of time and was highly annoying. Stupid comment spammers, we don&#8217;t want your filthy wares. GO AWAY!!!</p>
<p>Anyway&#8230; This week&#8217;s musical find is the Scissor Sisters. You may be familiar with their disco infused radio hit <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playlistId=11567197&#038;selectedItemId=11566344">&#8220;Take Your Mama&#8221;</a>, however I&#8217;m a little more fond of the unique sound of <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playlistId=11567197&#038;selectedItemId=11566226">&#8220;Laura&#8221;</a>. The <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/com.apple.jingle.app.store.DirectAction/viewVideo?b=a&#038;videoId=28546330">video</a> is also fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevejamieson.com/blog/2004/11/13/the-evil-hoardes-are-upon-us-but-at-least-i-have-some-good-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

