<?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>Artiss.co.uk &#187; MySQL</title> <atom:link href="http://www.artiss.co.uk/tag/mysql/feed" rel="self" type="application/rss+xml" /><link>http://www.artiss.co.uk</link> <description>Geek up your life</description> <lastBuildDate>Fri, 10 Feb 2012 13:24:33 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel='hub' href='http://www.artiss.co.uk/?pushpress=hub'/> <cloud
domain='www.artiss.co.uk' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' /><link
rel="http://api.friendfeed.com/2008/03#sup" xmlns="http://www.w3.org/2005/Atom" type="application/json" href="http://friendfeed.com/api/public-sup.json#0f8212437d"/> <item><title>WordPress Tips</title><link>http://www.artiss.co.uk/2011/05/wordpress-tips?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-tips</link> <comments>http://www.artiss.co.uk/2011/05/wordpress-tips#comments</comments> <pubDate>Tue, 10 May 2011 18:27:02 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Custom]]></category> <category><![CDATA[Home]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Page]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Random]]></category> <category><![CDATA[Tip]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=5359</guid> <description><![CDATA[WordPress is powered by PHP and MySQL which is an open resource blog gizmo and a publishing platform as well. WordPress have many features like plug-in architecture and a template system. Actually, WordPress has been widely by thousands of biggest websites in the World Wide Web. For sure as computer enthusiasts, you have already come [...]
Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/02/wordpress-function-get_the_shortlink' rel='bookmark' title='WordPress function get_the_shortlink'>WordPress function get_the_shortlink</a> <small>Many WordPress functions have a standard version which outputs the results directly and an additional version prefixed with get_ that returns the output &#8211; useful...</small></li><li><a
href='http://www.artiss.co.uk/2010/10/two-wordpress-plugin-updates' rel='bookmark' title='Two WordPress Plugin Updates'>Two WordPress Plugin Updates</a> <small>Two of my WordPress plugins have been updated&#8230; Simple Feed List now works from a shortcode as well the PHP function call. This means you...</small></li><li><a
href='http://www.artiss.co.uk/2010/08/simple-draft-list-wordpress-plugin-updated' rel='bookmark' title='Simple Draft List WordPress Plugin Updated'>Simple Draft List WordPress Plugin Updated</a> <small>My WordPress plugin, Simple Draft List, has been updated. Until now it&#8217;s been of use to display draft posts on your site. However, I&#8217;ve now...</small></li></ol>]]></description> <content:encoded><![CDATA[<div
class="blockbox"><p>This article is provided by Kevin Moor who writes for different  sites, which inter alias are working to find better <a
href="http://www.registry-repair-tools.net/" target="_blank">registry  repair</a>.</p></div><p>WordPress is powered by PHP and MySQL which is an open resource blog gizmo and a publishing platform as well. WordPress have many features like plug-in architecture and a template system. Actually, WordPress has been widely by thousands of biggest websites in the World Wide Web.</p><p>For sure as computer enthusiasts, you have already come across on any feature from a blog. You may wonder how you can get this in your WordPress blog. You do not need to worry anymore because here are some tips that you will absolutely find it effective and very useful.</p><ul><li><strong>Use Custom Page as your Home Page in WordPress</strong><br
/> This is the first thing that you must have to know on how to create a custom page. There is a need for you to duplicate your page.php or you can create a new .php file and enter the following code at the very top of it: <code>&lt;!--?php /* Template Name: WPBeginnerT1 */ ?--&gt;</code>.You may change the name of the template and can even change the style on the page depending on your preference. Just go to your WordPress admin panel and choose your desired template. You will then have to publish this page and go to Settings and select Reading in the admin panel. Choose the page to be your homepage and you can now have a Custom Home Page.</li><li><strong>Create a Page that Displays Random Posts</strong><br
/> For sure you have seen this cool feature somewhere on web site, right? Want to try this cool feature for your site? Simply paste the following code on your custom page template:&nbsp;</p><pre>&lt;?php
query_posts(array('orderby' =&gt; 'rand', 'showposts' =&gt; 1));
if (have_posts()) :
while (have_posts()) : the_post(); ?&gt;
&lt;h1&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;?php the_content(); ?&gt;
&lt;?php endwhile;
endif; ?&gt;</pre></li><li><strong>Display External RSS Feed on Your Site</strong><br
/> Have you noticed bloggers who display their blogs on other’s web site? Do you want to try it too, to earn extra traffic on your website? To do this, just paste the following code in your theme:</p><pre>&lt;?php include_once(ABSPATH.WPINC.'/feed.php');
$rss = fetch_feed('http://feeds.feedburner.com/wpbeginner');
$maxitems = $rss-&gt;get_item_quantity(5);
$rss_items = $rss-&gt;get_items(0, $maxitems);
?&gt;
&lt;ul&gt;
&lt;?php if ($maxitems == 0) echo '&lt;li&gt;No items.&lt;/li&gt;';
else
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?&gt;
&lt;li&gt;
&lt;a href='&lt;?php echo $item-&gt;get_permalink(); ?&gt;'
title='&lt;?php echo 'Posted '.$item-&gt;get_date('j F Y | g:i a'); ?&gt;'&gt;
&lt;?php echo $item-&gt;get_title(); ?&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;?php endforeach; ?&gt;
&lt;/ul&gt;</pre></li></ul><p>These tips will surely help you. Just remember the tips and for sure your success is within reach.</p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=5359&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=WordPress%20Tips&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2011%2F05%2Fwordpress-tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2011/05/wordpress-tips&amp;title=WordPress+Tips" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p><p>Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/02/wordpress-function-get_the_shortlink' rel='bookmark' title='WordPress function get_the_shortlink'>WordPress function get_the_shortlink</a> <small>Many WordPress functions have a standard version which outputs the results directly and an additional version prefixed with get_ that returns the output &#8211; useful...</small></li><li><a
href='http://www.artiss.co.uk/2010/10/two-wordpress-plugin-updates' rel='bookmark' title='Two WordPress Plugin Updates'>Two WordPress Plugin Updates</a> <small>Two of my WordPress plugins have been updated&#8230; Simple Feed List now works from a shortcode as well the PHP function call. This means you...</small></li><li><a
href='http://www.artiss.co.uk/2010/08/simple-draft-list-wordpress-plugin-updated' rel='bookmark' title='Simple Draft List WordPress Plugin Updated'>Simple Draft List WordPress Plugin Updated</a> <small>My WordPress plugin, Simple Draft List, has been updated. Until now it&#8217;s been of use to display draft posts on your site. However, I&#8217;ve now...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2011/05/wordpress-tips/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Plains laid for WordPress 3.2</title><link>http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=plains-laid-for-wordpress-3-2</link> <comments>http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2#comments</comments> <pubDate>Sat, 19 Mar 2011 14:44:42 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[3.2]]></category> <category><![CDATA[IE6]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[PHP]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=5102</guid> <description><![CDATA[WordPress have given some initial details of the plans for WordPress 3.2. Rather than adding lots of new features, this release is going to concentrate on speed improvements and restricting the WordPress minimum requirements (this will allow existing code to be removed and will make adding code in future easier). The requirements changing are&#8230; PHP [...]
Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/06/wordpress-3-2-released' rel='bookmark' title='WordPress 3.2 released'>WordPress 3.2 released</a> <small>WordPress 3.2 is now available. The focus for this release was making WordPress faster and lighter. The first thing you’ll notice when you log in...</small></li><li><a
href='http://www.artiss.co.uk/2011/01/wordpress-plugin-bug-tracking' rel='bookmark' title='WordPress Plugin Bug Tracking'>WordPress Plugin Bug Tracking</a> <small>For a while I&#8217;ve been wanting to improve the bug (and enhancements) tracking for my WordPress plugins. Right now I rely noting down my ideas...</small></li><li><a
href='http://www.artiss.co.uk/2011/02/wp-relative-date-new-wordpress-plugin' rel='bookmark' title='WP Relative Date &#8211; new WordPress plugin'>WP Relative Date &#8211; new WordPress plugin</a> <small>Today I&#8217;ve launched a new WordPress plugin &#8211; WP Relative Date. This provides a much needed improvements to WordPress&#8217; ability to display relative dates (e.g....</small></li></ol>]]></description> <content:encoded><![CDATA[<p>WordPress have given <a
title="WordPress 3.2, the plan: faster, lighter" href="http://wpdevel.wordpress.com/2011/03/18/wordpress-3-2-the-plan-faster-lighter/" target="_blank">some initial details</a><img
class="alignright size-medium wp-image-5103" title="WordPress" src="http://www.artiss.co.uk/wp-content/uploads/2011/03/WordPress-300x186.png" alt="" width="300" height="186" /> of the plans for WordPress 3.2.</p><p>Rather than adding lots of new features, this release is going to concentrate on speed improvements and restricting the WordPress minimum requirements (this will allow existing code to be removed and will make adding code in future easier).</p><p>The requirements changing are&#8230;</p><ul><li>PHP 5.2.4 required &#8211; WordPress will simply be dropping support for PHP 4 (i.e. there won’t be very many new PHP 5 features added)</li><li>MySQL 5 Required &#8211; like above, WordPress will simply be dropping support for MySQL 4</li><li>Internet Explorer 6 &#8211; no more fancy IE6-only hacks. WordPress will be officially  discontinuing support for IE6 and instead providing a &#8220;use a real  browser&#8221; nag screen (something this site already has installed)</li></ul><p>With support for long-outdated technologies being dropped, they promise this will be the fastest and lightest WordPress in quite some time. To this end they will also be focussing on speed improvements all around,  including (but certainly not limited to) the Dashboard and admin menu.</p><p>Two further announced changes are&#8230;</p><ul><li>New Fullscreen Editor -  a new fullscreen editor that’s &#8220;more beautiful, more useful, and simpler.&#8221;</li><li>Better Upgrades &#8211; only changed files will be upgraded in future. Yay!</li></ul><p>WordPress have also promised faster release cycles in future (concentrating on what&#8217;s promised and not adding further changes later on).</p><p>Certainly, I&#8217;m excited by this <img
src='http://www.artiss.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=5102&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Plains%20laid%20for%20WordPress%203.2&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2011%2F03%2Fplains-laid-for-wordpress-3-2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2&amp;title=Plains+laid+for+WordPress+3.2" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p><p>Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/06/wordpress-3-2-released' rel='bookmark' title='WordPress 3.2 released'>WordPress 3.2 released</a> <small>WordPress 3.2 is now available. The focus for this release was making WordPress faster and lighter. The first thing you’ll notice when you log in...</small></li><li><a
href='http://www.artiss.co.uk/2011/01/wordpress-plugin-bug-tracking' rel='bookmark' title='WordPress Plugin Bug Tracking'>WordPress Plugin Bug Tracking</a> <small>For a while I&#8217;ve been wanting to improve the bug (and enhancements) tracking for my WordPress plugins. Right now I rely noting down my ideas...</small></li><li><a
href='http://www.artiss.co.uk/2011/02/wp-relative-date-new-wordpress-plugin' rel='bookmark' title='WP Relative Date &#8211; new WordPress plugin'>WP Relative Date &#8211; new WordPress plugin</a> <small>Today I&#8217;ve launched a new WordPress plugin &#8211; WP Relative Date. This provides a much needed improvements to WordPress&#8217; ability to display relative dates (e.g....</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2011/03/plains-laid-for-wordpress-3-2/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Finding the length of WordPress Posts</title><link>http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=finding-the-length-of-wordpress-posts</link> <comments>http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts#comments</comments> <pubDate>Wed, 03 Nov 2010 12:11:52 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Page]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[Post]]></category> <category><![CDATA[SQL]]></category> <category><![CDATA[WP README Parser]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=4390</guid> <description><![CDATA[I&#8217;m just finished converting my plugin pages to use my new WP README Parser plugin. However, I had a nagging feeling that I might have missed, at the very least, 1. But how can I easily tell without going through them all one-by-one? Well, their length is a give-away as instead of pages of text, [...]
Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/02/simple-draft-list-wordpress-plugin-updated-3' rel='bookmark' title='Simple Draft List WordPress plugin updated'>Simple Draft List WordPress plugin updated</a> <small>A quick enhancement for Simple Draft List, which lets you list draft posts (or pages) on your WordPress blog. When draft posts and/or pages are...</small></li><li><a
href='http://www.artiss.co.uk/2010/08/simple-draft-list-wordpress-plugin-updated' rel='bookmark' title='Simple Draft List WordPress Plugin Updated'>Simple Draft List WordPress Plugin Updated</a> <small>My WordPress plugin, Simple Draft List, has been updated. Until now it&#8217;s been of use to display draft posts on your site. However, I&#8217;ve now...</small></li><li><a
href='http://www.artiss.co.uk/2011/12/how-to-drive-traffic-to-your-blog-with-artiss-draft-list' rel='bookmark' title='How to drive traffic to your blog with Artiss Draft List'>How to drive traffic to your blog with Artiss Draft List</a> <small>I&#8217;ve just launched version 2 of my Artiss Draft List plugin for WordPress and if you&#8217;ve not tried it, it&#8217;s really worth a punt. In...</small></li></ol>]]></description> <content:encoded><![CDATA[<p>I&#8217;m just finished  converting my plugin pages to use my new WP README Parser plugin. However, I had a nagging feeling that I might have missed, at the very least, 1. But how can I easily tell without going through them all one-by-one?</p><p>Well, their length is a give-away as instead of pages of text, there&#8217;s now a single call to my plugin. A quick bit of SQL will show the length of each post and/or page in characters, allowing me to see if any of the original versions still exist.</p><p>Here is an example using standard table naming and will list the details of pages&#8230;</p><pre>SELECT ID, post_title, guid, length(post_content) AS 'Post Length'
  FROM `wp_posts`
 WHERE post_type = 'page'
   AND post_status &lt;&gt; 'draft'
   AND post_status &lt;&gt; 'trash'
 ORDER BY length(post_content)</pre><p>That 3rd line can be modified to <code>WHERE post_type = 'post'</code> for posts, or combined with the original to list both posts and pages.</p><p>Otherwise, it simply lists the ID, title and URL for each page as well as the character length of the page content. It excludes drafts and anything in the trash. The final list is sequenced by the length of the page.</p><p>Not sure if this is useful to anyone, but just in case&#8230;.!</p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=4390&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Finding%20the%20length%20of%20WordPress%20Posts&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2010%2F11%2Ffinding-the-length-of-wordpress-posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts&amp;title=Finding+the+length+of+WordPress+Posts" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p><p>Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/02/simple-draft-list-wordpress-plugin-updated-3' rel='bookmark' title='Simple Draft List WordPress plugin updated'>Simple Draft List WordPress plugin updated</a> <small>A quick enhancement for Simple Draft List, which lets you list draft posts (or pages) on your WordPress blog. When draft posts and/or pages are...</small></li><li><a
href='http://www.artiss.co.uk/2010/08/simple-draft-list-wordpress-plugin-updated' rel='bookmark' title='Simple Draft List WordPress Plugin Updated'>Simple Draft List WordPress Plugin Updated</a> <small>My WordPress plugin, Simple Draft List, has been updated. Until now it&#8217;s been of use to display draft posts on your site. However, I&#8217;ve now...</small></li><li><a
href='http://www.artiss.co.uk/2011/12/how-to-drive-traffic-to-your-blog-with-artiss-draft-list' rel='bookmark' title='How to drive traffic to your blog with Artiss Draft List'>How to drive traffic to your blog with Artiss Draft List</a> <small>I&#8217;ve just launched version 2 of my Artiss Draft List plugin for WordPress and if you&#8217;ve not tried it, it&#8217;s really worth a punt. In...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Things that I learnt holding my first competition</title><link>http://www.artiss.co.uk/2010/05/my-first-competition?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-competition</link> <comments>http://www.artiss.co.uk/2010/05/my-first-competition#comments</comments> <pubDate>Sun, 30 May 2010 15:00:00 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Comment]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[AOL]]></category> <category><![CDATA[Competition]]></category> <category><![CDATA[Creative]]></category> <category><![CDATA[Injection]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[SQL]]></category> <category><![CDATA[Wikipedia]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=2852</guid> <description><![CDATA[I&#8217;ve never run a competition before and, thanks to Creative, my first opportunity has just concluded. And what did I learn? Well, a lot. First of all, the questions I should be asking the prize providers. Instead I kept badgering them as I kept asking some pretty basic questions&#8230; When do you want the competition [...]
Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/09/retrak-competition-winners' rel='bookmark' title='ReTrak Competition Winners'>ReTrak Competition Winners</a> <small>The recent competition to win retractable ReTrak USB cables was very successful and I&#8217;m happy to announce the 4 winners&#8230; Robert Durr from Puckeridge. Rebecca...</small></li><li><a
href='http://www.artiss.co.uk/2011/10/easeus-competition-winners' rel='bookmark' title='EaseUS Competition Winners'>EaseUS Competition Winners</a> <small>I happy to announce the following winners of the EaseUS competition, each of whom win a licence to an EaseUS software product&#8230; Irene Hunter Tracy...</small></li><li><a
href='http://www.artiss.co.uk/2011/12/retrak-pc-world-competition-winner-announced' rel='bookmark' title='ReTrak / PC World Competition &#8211; Winner announced!'>ReTrak / PC World Competition &#8211; Winner announced!</a> <small>The ReTrak / PC World competition came to a close last week and I can announce that the winner was&#8230; Joe Cushnan from Worksop Congratulations...</small></li></ol>]]></description> <content:encoded><![CDATA[<p>I&#8217;ve never run a competition before and, thanks to Creative, my first opportunity has just concluded.</p><p>And what did I learn?</p><p>Well, a lot. First of all, the questions I should be asking the prize providers. Instead I kept badgering them as I kept asking some pretty basic questions&#8230;</p><ul><li>When do you want the competition to start?</li><li>How long do you want the competition to run for</li><li>Are the prizes all for one person, all a &#8220;first&#8221; prize, or staged (first prize, second prize, etc)</li><li><div>How long until delivery</div></li><li><div>What will you provide if a product is no longer available?</div></li></ul><p>Whilst running the competition I kept an eye on the entries to ensure that I wasn&#8217;t receiving multiple entries per person or household. And, after only 24 hours, I appeared to have found a problem &#8211; 3 people, each with an AOL email address, and the same IP address. Suspicious? It looked like it to me.</p><p>However, the fact that AOL is their ISP is the key here &#8211; they use a proxy-based system, meaning that many users may share the same IP address. <a
title="Wikipedia and AOL" href="http://en.wikipedia.org/wiki/Wikipedia:AOL" target="_blank">Wikipedia has discussed</a> such an issue before on their own site.</p><p>The database I created to hold winner details held a name, address, email, competition answer and IP address. Based on the AOL problems I now realise that I should also store a time stamp and <a
href="http://en.wikipedia.org/wiki/user_agent" title="Look up user agent on Wikipedia" title="Look up user agent on Wikipedia" target="_blank" rel="nofollow">user agent</a>. I&#8217;ll be making these changes for next time.</p><p>I did a lot of work on the competition coding to ensure SQL injection problems. None-the-less I realised a few days ago that although the competition entry form disappears after the closing date, the code to submit the form details into the database still exists. This means that a third party script could inject entries (although not anything that would affect security) after this time. Again, this will now be fixed for future.</p><p>Lastly, I had so many entries that just trying to keep track of &#8220;rule breakers&#8221; became a lot, lot harder &#8211; more work on flagging such things at the point of competition entry will be useful, and I feel an automated email coming on!</p><p>Meanwhile, I have contacted the 3 winners and am just awaiting a confirmation of their postal addresses before details are announced.</p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=2852&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Things%20that%20I%20learnt%20holding%20my%20first%20competition&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2010%2F05%2Fmy-first-competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2010/05/my-first-competition&amp;title=Things+that+I+learnt+holding+my+first+competition" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p><p>Related posts:<ol><li><a
href='http://www.artiss.co.uk/2011/09/retrak-competition-winners' rel='bookmark' title='ReTrak Competition Winners'>ReTrak Competition Winners</a> <small>The recent competition to win retractable ReTrak USB cables was very successful and I&#8217;m happy to announce the 4 winners&#8230; Robert Durr from Puckeridge. Rebecca...</small></li><li><a
href='http://www.artiss.co.uk/2011/10/easeus-competition-winners' rel='bookmark' title='EaseUS Competition Winners'>EaseUS Competition Winners</a> <small>I happy to announce the following winners of the EaseUS competition, each of whom win a licence to an EaseUS software product&#8230; Irene Hunter Tracy...</small></li><li><a
href='http://www.artiss.co.uk/2011/12/retrak-pc-world-competition-winner-announced' rel='bookmark' title='ReTrak / PC World Competition &#8211; Winner announced!'>ReTrak / PC World Competition &#8211; Winner announced!</a> <small>The ReTrak / PC World competition came to a close last week and I can announce that the winner was&#8230; Joe Cushnan from Worksop Congratulations...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2010/05/my-first-competition/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ZyXEL NSA210</title><link>http://www.artiss.co.uk/2010/05/zyxel-nsa210?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zyxel-nsa210</link> <comments>http://www.artiss.co.uk/2010/05/zyxel-nsa210#comments</comments> <pubDate>Wed, 19 May 2010 12:31:32 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Reviews]]></category> <category><![CDATA[Caviar]]></category> <category><![CDATA[Gallery]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[iTunes]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[NAS]]></category> <category><![CDATA[NSA210]]></category> <category><![CDATA[Western Digital]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Zyxel]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=2756</guid> <description><![CDATA[I&#8217;ve had my ZyXEL NAS now for a couple of months, so I thought it was only fair that I should review it The device itself was a lot smaller than I was expecting, being not bigger than the hard drive that goes in it. It&#8217;s made robustly of metal, with the exception of the [...]
Related posts:<ol><li><a
href='http://www.artiss.co.uk/2010/09/zyxel-p-660hn-f1z-wireless-n-4-port-router' rel='bookmark' title='Zyxel P-660HN-F1Z Wireless N 4-Port Router'>Zyxel P-660HN-F1Z Wireless N 4-Port Router</a> <small>This is a slightly strange review &#8211; I&#8217;m reviewing an N-band router without actually owning (that I&#8217;m aware of) any equipment that receives N-band. However,...</small></li><li><a
href='http://www.artiss.co.uk/2010/08/pogoplug' rel='bookmark' title='Pogoplug'>Pogoplug</a> <small>Pogoplug is a really great concept. Essentially, it&#8217;s a box in which you plug in your home router and then one, or more, USB drives....</small></li><li><a
href='http://www.artiss.co.uk/2011/06/pogoplug-software' rel='bookmark' title='Pogoplug Software'>Pogoplug Software</a> <small>I&#8217;ve reviewed the Pogoplug hardware in the past, but now it&#8217;s time to review the actual desktop software. Why? Because with the recent version 3...</small></li></ol>]]></description> <content:encoded><![CDATA[<p><img
class="alignright size-full wp-image-2849" title="ZyXEL NSA210" src="http://www.artiss.co.uk/wp-content/uploads/2010/05/1_17.jpg" alt="" width="280" height="280" />I&#8217;ve had my ZyXEL NAS now for a couple of months, so I thought it was only fair that I should review it <img
src='http://www.artiss.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>The device itself was a lot smaller than I was expecting, being not bigger than the hard drive that goes in it. It&#8217;s made robustly of metal, with the exception of the plastic front panel. It has rubber feet underneath, but is more sturdily mounted on a the provided plastic cradle &#8211; this is a useful addition but cheaply made.</p><p>The front panel consists of a number of status lights, a power and sync button and a USB socket.  All other connections are on the back  &#8211; SATA, eSATA, Gigabyte Ethernet,  and another USB port.</p><p>I had also purchased a <a
title="Western Digital Caviar Green (1TB)" href="http://www.pcpro.co.uk/reviews/hard-disks/252149/western-digital-caviar-green-1tb" target="_blank">1TB Western Digital Caviar Green</a> &#8211; not the quickest, but energy conscious and quiet. Putting the drive in is a case of undoing a screw on the underneath of the front panel, lifting the panel away and then pushing the drive into place.</p><p>You turn the NAS on and it takes a few minutes to initialise. First time you use it, however, you have to install the provided (or downloaded) firmware, which you do from your PC. After this is done you access the NAS via a web-based admin. panel.</p><p>The administration section is detailed and includes many useful options. A media server is included allowing you access to your videos and music anywhere on the network. Additionally, there are options to set up downloads to your NAS, allowing you, for instance, to kick off a large download at night and turn your PC off.  This includes Torrent options. You can also set up feeds, such as Podcasts, which will download automatically.</p><p>To access the NAS data you can map the drive to your PC or access it via a network shortcut. Additional access options available include FTP and  a web publishing feature that allows you to access data from a browser.</p><p>The NAS can also be set up with timing options allowing you to dictate  times when it will turn itself on and off, and also reboot itself.</p><p>Connect a printer to the USB port and configure it via the admin menu  and you have a simple, but useful, network printer.</p><p>And if all these options aren&#8217;t enough, you can download and install, from the admin menu, further tools including <a
title="WordPress" href="http://www.wordpress.org" target="_blank">WordPress</a>, <a
title="MySQL" href="http://www.mysql.com/" target="_blank">MySQL</a> and <a
title="Gallery" href="http://gallery.menalto.com/" target="_blank">Gallery</a>.</p><div
id="attachment_2857" class="wp-caption alignright" style="width: 160px"><a
class="lightbox" title="NSA210 Administration Screen" href="http://www.artiss.co.uk/wp-content/uploads/2010/05/it_photo_142969_52.png"><img
class="size-thumbnail wp-image-2857" title="NSA210 Administration Screen" src="http://www.artiss.co.uk/wp-content/uploads/2010/05/it_photo_142969_52-150x150.png" alt="" width="150" height="150" /></a><p
class="wp-caption-text">NSA210 Administration Screen</p></div><p>So, what&#8217;s it like in use? Excellent. I use few of the more advanced features, I&#8217;ll admit. I use my NAS, primarily, as a backup device. A good external hard drive isn&#8217;t much less, so I went for a NAS for the networking options that it does give me. Also, because it comes diskless, I know that the disk can be easily replaced &#8211; many others come with a disk and firmware built in &#8211; you may be able to replace the drive but, often, adding the firmware back on is difficult or even impossible. That&#8217;s not the case here &#8211; in the case of a drive failure, I simply slot a new one in and re-install the firmware.</p><p><a
title="ZyXEL NSA210 review" href="http://www.pcpro.co.uk/reviews/storage-appliances/355213/zyxel-nsa210" target="_blank">PC Pro tests</a> mentioned that it was quite slow, but I&#8217;ve not noticed in comparison to my previous Maxtor model. That was particularly slow when trying to access the data, something the ZyXEL doesn&#8217;t have a problem with. And that, above basic transfer speed, makes it feel a lot quicker in use.</p><p>It&#8217;s tucked away, next to my printer and is quiet and efficient in use.</p><div
class="hreview"><h2>Summary of <span
class="item"><span
class="fn">ZyXEL NSA210</span></span></h2><div
class="reviewbox"> <span
class="summary">Quiet, excellent value for money and packed full of features. For home users it&#8217;s ideal.</span><br/><div
class="rating"> <span
class="value-title" title="5"></span> <img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/star.png" alt="Star" title="Star" style="padding-right: 5px;"/> <img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/star.png" alt="Star" title="Star" style="padding-right: 5px;"/> <img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/star.png" alt="Star" title="Star" style="padding-right: 5px;"/> <img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/star.png" alt="Star" title="Star" style="padding-right: 5px;"/> <img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/star.png" alt="Star" title="Star" style="padding-right: 5px;"/></div></div><p>Reviewed by <span
class="reviewer">David Artiss</span> on <span
class="dtreviewed">19th May 2010.<span
class="value-title" title="2010-05-19"></span></span></p></div><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=2756&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=ZyXEL%20NSA210&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2010%2F05%2Fzyxel-nsa210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2010/05/zyxel-nsa210&amp;title=ZyXEL+NSA210" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p><p>Related posts:<ol><li><a
href='http://www.artiss.co.uk/2010/09/zyxel-p-660hn-f1z-wireless-n-4-port-router' rel='bookmark' title='Zyxel P-660HN-F1Z Wireless N 4-Port Router'>Zyxel P-660HN-F1Z Wireless N 4-Port Router</a> <small>This is a slightly strange review &#8211; I&#8217;m reviewing an N-band router without actually owning (that I&#8217;m aware of) any equipment that receives N-band. However,...</small></li><li><a
href='http://www.artiss.co.uk/2010/08/pogoplug' rel='bookmark' title='Pogoplug'>Pogoplug</a> <small>Pogoplug is a really great concept. Essentially, it&#8217;s a box in which you plug in your home router and then one, or more, USB drives....</small></li><li><a
href='http://www.artiss.co.uk/2011/06/pogoplug-software' rel='bookmark' title='Pogoplug Software'>Pogoplug Software</a> <small>I&#8217;ve reviewed the Pogoplug hardware in the past, but now it&#8217;s time to review the actual desktop software. Why? Because with the recent version 3...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2010/05/zyxel-nsa210/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Optimize and Backup your MySQL databases</title><link>http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=optimize-and-backup-your-mysql-databases</link> <comments>http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases#comments</comments> <pubDate>Wed, 11 Mar 2009 15:12:36 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[Backup]]></category> <category><![CDATA[Download]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Optimize]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Software]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=1286</guid> <description><![CDATA[Read the full version of this blog entry for details of a script that will allow you to optimize and then download your MySQL databases.]]></description> <content:encoded><![CDATA[<p>At the moment I&#8217;m juggling 3 MySQL databases. It could very easily be more.</p><p>I usually use phpMyAdmin for backing them up but restrictions on port forwarding has meant I can&#8217;t do this whilst at work<sup><a
href="http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases#footnote_0_1286" id="identifier_0_1286" class="footnote-link footnote-identifier-link" title="and I have a tendency to forget if I leave it until the evening at home">1</a></sup>. So, I wrote myself a script to do this. And optimize the tables as well.</p><p>An extract of the script is below&#8230; mine allows me to choose the database and compression type and then populates the appropriate database fields (username, password, etc) but for generic usage purposes, the script below should be fine for other people to use and build upon.</p><pre>if ($compression=="None") {$comp_cmd=""; $comp_ext="sql";}
if ($compression=="Gzip") {$comp_cmd=" | gzip"; $comp_ext="gzip";}
if ($compression=="Zip") {$comp_cmd=" | zip"; $comp_ext="zip";}
mysql_connect($host,$user,$password);
mysql_select_db($database);
$query="SHOW TABLE STATUS FROM ".$database;
$result=mysql_query($query);
$num=mysql_numrows($result);
$compressed=0;
$i=0;
while ($i &lt; $num) {
   $table=mysql_result($result,$i,"Name");
   $gain=mysql_result($result,$i,"Data_free");
   if ($gain!=0) {
       if ($compressed==0) {echo "&lt;br/&gt;Compressing tables...&lt;br/&gt;&lt;br/&gt;\n";}
       echo "Table ".$table." - ".$gain." bytes gained&lt;br&gt;\n";
       $query="OPTIMIZE TABLE ".$table;
       $optimise=mysql_query($query);
       $compressed=$compressed+$gain;
   }
   $i++;
}
if ($compressed!=0) {
   echo "&lt;br/&gt;".$compressed." bytes gained in total&lt;br/&gt;";
} else {
   echo "&lt;br/&gt;No tables were optimised.&lt;br/&gt;";
}
$backupFile = "backup/".$name."_".date("Ymd").'.'.$comp_ext;
$command = "mysqldump --opt --extended-insert --complete-insert --hex-blob
--host=".$host." --user=".$user." --password='".$password."' ".$database.
$comp_cmd." &gt; $backupFile";
exec($command, $ret_arr, $ret_code);
if ($ret_code==0) {
   echo "&lt;br/&gt;Database backed up: &lt;a href=\"".$backupFile."\"&gt;download&lt;/a&gt;.\n";
} else {
   echo "&lt;br/&gt;The database could not be backed up - the return code was ".
$ret_code.".\n";
};</pre><p>Before running the above, you need to populate the following fields&#8230;</p><p><code>$database</code> &#8211; your MySQL database<br
/> <code>$user</code> &#8211; your MySQL username<br
/> <code>$password</code> &#8211; your MySQL password<br
/> <code>$host</code> &#8211; your MySQL host name<br
/> <code>$name</code> &#8211; used to name your backup<br
/> <code>$compression</code> &#8211; this is the type of compression you wish to apply and should be either <code>None</code>, <code>Zip</code> or <code>Gzip</code>.</p><p>When run any tables that require optimizing will be, well, optimized and the details output. Finally a backup is made of the database and a link displayed so that you can download it.</p><p>Downloads are placed in a folder named <code>/download</code>, so make sure you add write permissions for this folder. The filename will be xxx_yymmdd, where xxx is the name you specified in <code>$name</code> and yymmdd is the date. Obviously the extension will be based on the type of compression you requested.</p><p>Whilst trying to write this code I came across various scripts and resources which did something similar but often didn&#8217;t work (grrr) for one reason or another. In particular, often the backup files are create empty if you have the MySQLdump parameters wrong. One thing you might spot that I&#8217;ve worked around &#8211; and here&#8217;s my tip for the day &#8211; is that I&#8217;ve placed single quotes around the password. This was because one of my passwords had an ampersand in it and, well, MySQLdump doesn&#8217;t like it.</p><p>Enjoy, play and let me know how you get on!<ol
class="footnotes"><li
id="footnote_0_1286" class="footnote">and I have a tendency to forget if I leave it until the evening at home</li></ol><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=1286&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Optimize%20and%20Backup%20your%20MySQL%20databases&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2009%2F03%2Foptimize-and-backup-your-mysql-databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases&amp;title=Optimize+and+Backup+your+MySQL+databases" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2009/03/optimize-and-backup-your-mysql-databases/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Finding the number of users online</title><link>http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=finding-the-number-of-users-online</link> <comments>http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online#comments</comments> <pubDate>Wed, 15 Oct 2008 09:22:49 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[Code]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Online]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Script]]></category> <category><![CDATA[Users]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=634</guid> <description><![CDATA[I often wondered how sites detected the number of users online. After some digging I&#8217;ll admit to be no closer to the answer. The problem is that once a page is delivered to someone you have no idea what they&#8217;re doing unless, and if, they then do something &#8211; go to another page of yours, [...]
Related posts:<ol><li><a
href='http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts' rel='bookmark' title='Finding the length of WordPress Posts'>Finding the length of WordPress Posts</a> <small>I&#8217;m just finished converting my plugin pages to use my new WP README Parser plugin. However, I had a nagging feeling that I might have...</small></li></ol>]]></description> <content:encoded><![CDATA[<p>I often wondered how sites detected the number of users online. After some digging I&#8217;ll admit to be no closer to the answer. The problem is that once a page is delivered to someone you have no idea what they&#8217;re doing unless, and if, they then do something &#8211; go to another page of yours, click a button, etc. They could have immediately left the site and gone elsewhere&#8230; you simply don&#8217;t get back the level of interaction that would tell you this.</p><p>So my solution was based on simple maths. Using Google Analytics and the like I work out how long an average user spends looking at a page on the site. Let&#8217;s say it&#8217;s 90 seconds.</p><p>I&#8217;m using PHP and MySQL for this example. So, create a new table named <code>users_online</code> and create two fields for it &#8211; the first named <code>timestamp</code> and the second <code>ip_address</code>.</p><p>With your database already open execute the following PHP, pre-setting the variable <code>$online_seconds</code> with the figure we discussed a couple of sentences ago (in my example, 90). This should be at the top of each page.</p><pre>$timestamp = time();
$timeout = $timestamp-$online_seconds;
$insert=mysql_query("INSERT INTO users_online VALUES('$timestamp','$REMOTE_ADDR')");
$delete=mysql_query("DELETE FROM users_online WHERE timestamp&lt;'$timeout'");
$result=mysql_query("SELECT DISTINCT ip_address FROM users_online");
$user_num=mysql_num_rows($result);</pre><p>This will add the period of time (90 seconds) to the current timestamp and insert a row into the table with that as a &#8220;timeout&#8221;. We then delete any rows where this timeour has now passed. Finally, we read the number of distinct IP addresses &#8211; this is the number of users currently online and is returned as <code>$user_num</code>.</p><p>How does this work? Well, the idea is that after 90 seconds if the user hasn&#8217;t moved onto another page or refreshed the current one then they&#8217;re gone. If they do, a new row with their IP address is created and they&#8217;re counted once more as still being active. Quite simple really. Possibly not the most accurate but without using host-side JavaScript, for instance, then I&#8217;m not sure how you would.</p><p>If nothing else it&#8217;s handy to have an idea as to how many people are online before you upgrade your site and potentially break it <img
src='http://www.artiss.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=634&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Finding%20the%20number%20of%20users%20online&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2008%2F10%2Ffinding-the-number-of-users-online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online&amp;title=Finding+the+number+of+users+online" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p><p>Related posts:<ol><li><a
href='http://www.artiss.co.uk/2010/11/finding-the-length-of-wordpress-posts' rel='bookmark' title='Finding the length of WordPress Posts'>Finding the length of WordPress Posts</a> <small>I&#8217;m just finished converting my plugin pages to use my new WP README Parser plugin. However, I had a nagging feeling that I might have...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2008/10/finding-the-number-of-users-online/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>BMTG upgrades to Deoxys</title><link>http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bmtg-upgrades-to-deoxys</link> <comments>http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys#comments</comments> <pubDate>Fri, 26 Sep 2008 13:14:10 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[BMTG]]></category> <category><![CDATA[MySQL]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=556</guid> <description><![CDATA[Earlier this year I made the decision to stop updating the BMTG site as-and-when and more formally as packages. Yesterday I launched the 4th such package &#8211; Deoxys. Unlike some of my other packages which have had more visible changes, this is more &#8220;back end&#8221;. Having said that, to me, it&#8217;s exciting stuff. The site [...]]]></description> <content:encoded><![CDATA[<p>Earlier this year I made the decision to stop updating <a
title="BMTG" href="http://www.bmtg.org.uk" target="_blank">the BMTG site</a> as-and-when and more formally as packages. Yesterday I launched the 4th such package &#8211; Deoxys.</p><p>Unlike some of my other packages which have had more visible changes, this is more &#8220;back end&#8221;. Having said that, to me, it&#8217;s exciting stuff. <span
class="pullquote pqLeft">The site is performing more caching and I&#8217;ve completely re-written most of the MySQL</span> &#8211; it&#8217;s more efficient and protected against SQL injection (I hope).</p><p>There&#8217;s also detection of MySQL failures &#8211; when this happens a message bar appears at the top of each page indicating that a problem is occuring and that the site may be affected. The site pages are then designed to degrade gracefully &#8211; in other words, either cope with the lack of database access (easier for some pages) or simply display an appropriate message to indicate that no information is currently unavailable. In the past any database problems have simply lead to the site erroring and generally looking shabby.</p><p>Additionally, I&#8217;ve added some flags to the back-end database. These indicate either a major problem or that the site is undergoing maintenace &#8211; I can then flick these flags on when required and a message will appear on the site. The maintenance is particularly handy to turn on whilst I&#8217;m upgrading the site.</p><p>Lastly, and one of the few visible changes, I updated the member profiles &#8211; they&#8217;re a bit plainer than before but I think they work a lot more effectively now, as they&#8217;re less &#8220;fussy&#8221;.</p><p>Now I&#8217;ve started work on the Eevee package &#8211; I&#8217;ve already written the maintenance changes (including the width of the pages being increased, whilst still ensuring that a horizontal scrollbar doesn&#8217;t appear on 800 pixel wide monitors), but the main changes is to the online shop, which helps to generate some much-needed cash for the society.</p><p>Meantime, if you can guess (no looking on Wikipedia!) the naming convention I&#8217;m using then&#8230; you&#8217;re sad. Ok, that makes me sad too. And <a
title="Catherine Furber" href="http://bmtg.org.uk/profile.php?proname=Catherine_furber" target="_blank">Catherine Furber</a>, who also knew it.</p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=556&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=BMTG%20upgrades%20to%20Deoxys&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2008%2F09%2Fbmtg-upgrades-to-deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys&amp;title=BMTG+upgrades+to+Deoxys" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2008/09/bmtg-upgrades-to-deoxys/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Coming Soon&#8230;</title><link>http://www.artiss.co.uk/2008/06/coming-soon?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=coming-soon</link> <comments>http://www.artiss.co.uk/2008/06/coming-soon#comments</comments> <pubDate>Mon, 16 Jun 2008 10:45:15 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[Accessibility]]></category> <category><![CDATA[BMTG]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Performance]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[SEO]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/?p=258</guid> <description><![CDATA[I&#8217;m in the process, at the moment, of some interesting changes to the BMTG site. Instead of each show/concert page being individually written (with a few calls to scripts to display photos, etc) I&#8217;m creating a totally automated page generation system &#8211; simply tell it the show name, call the generator script and you get [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m in the process, at the moment, of some interesting changes to <a
title="BMTG" href="http://www.bmtg.org.uk" target="_blank">the BMTG site</a>. Instead of each show/concert page being individually written (with a few calls to scripts to display photos, etc) I&#8217;m creating a totally automated page generation system &#8211; simply tell it the show name, call the generator script and you get a show page out the other end. This includes the automatic detection of photos (just drag and drop a new photo into the appropriate folder and it then appears on the page) and the fetching of descriptions from the JPG data. Nice (if I do say so myself).</p><p>However, all of this has had an impact of server times. In the past I&#8217;ve not measured server times for performance monitoring, as they&#8217;ve been so insignificant. Now, I&#8217;m having to for the show pages. In fact the changes have pretty much negated recent performance improvements.</p><p>The next package, though, should help with this as I bring in some further performance improvements (including image caching and sorting out some shoddy MySQL programming of mine).</p><p>However, going forward (and I hate that expression), performance is something I will look at it with each package update.</p><p>After that there are packages due to SEO and Accessibility. So, they too will become part of the &#8220;standard&#8221; package check. Indeed, I have 4 things on my radar&#8230;</p><ol><li>Accessibility</li><li>SEO</li><li>Security</li><li>Performance</li></ol><p>Security, which will be tackled in the next package along with performance, is mainly around MySQL injection and the like &#8211; making the site as hacker-proof as possible.</p><p>It&#8217;s actually quite exciting as SEO and Accessibility is not something I&#8217;ve really concentrated on in the past, so I&#8217;m looking forward to the research and learning that will go with this.</p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=258&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Coming%20Soon%E2%80%A6&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2008%2F06%2Fcoming-soon" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2008/06/coming-soon&amp;title=Coming+Soon%E2%80%A6" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2008/06/coming-soon/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Improving website performance</title><link>http://www.artiss.co.uk/2008/03/website-performance?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=website-performance</link> <comments>http://www.artiss.co.uk/2008/03/website-performance#comments</comments> <pubDate>Tue, 04 Mar 2008 11:13:06 +0000</pubDate> <dc:creator>David Artiss</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[.htaccess]]></category> <category><![CDATA[Compression]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[far_future_expires]]></category> <category><![CDATA[Firebug]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[gzip]]></category> <category><![CDATA[HTML]]></category> <category><![CDATA[Injection]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Litebox]]></category> <category><![CDATA[Minify]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Performance]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[XHTML]]></category> <category><![CDATA[Yahoo]]></category> <category><![CDATA[Yslow]]></category> <guid
isPermaLink="false">http://www.artiss.co.uk/2008/03/improving-website-performance</guid> <description><![CDATA[Website performance is becoming a bit of a lost art. As more and more people get broadband, and that broadband gets quicker, then website owners spend less time looking at performance. After all, when you have a quick connection, why bother? What these people forgot is that not everybody is on the same super-quick broadband. [...]]]></description> <content:encoded><![CDATA[<p
class="MsoNormal">Website performance is becoming a bit of a lost art. As more and more people get broadband, and that broadband gets quicker, then website owners spend less time looking at performance. After all, when you have a quick connection, why bother?</p><p
class="MsoNormal">What these people forgot is that not everybody is on the same super-quick broadband. But, even if that’s not the case, we all know that we prefer a quick website over something slower. Then factor in the fact that many people have hosts that limit bandwidth, and the need for efficiencies becomes more apparent.</p><p><span
style="font-weight: normal;">In this article, I’m going to be using my own websites for demonstration purposes, so I will be talking about HTML (or rather XHTML), PHP and MySQL.I’ve provided details in <a
title="Cool Imagery" href="http://www.artiss.co.uk/2006/10/cool-imagery">a past post</a> about useful tools for reducing images in size, so don’t intend to cover this again.</span></p><p><span
style="font-weight: normal;">The aim is simple… to look at performance and reduce loading times and bandwidth.</span></p><p
class="MsoNormal">So, where to start.</p><p
class="MsoNormal">Well, there are various tweaks we can do to Apache servers and PHP and MySQL installs to improve such things but, if like me, you’re getting hosting from a third party you’re unlikely to be able to do anything about this, so I’ll be concentrating on coding. However, changes to site configuration files – such as .htaccess – are usually allowed so I will include these.</p><p
class="MsoNormal">The first thing to do, and excuse me if this sounds obvious, is to try and identify where the slowdown occurs. Is it the host server(possibly PHP or MySQL scripts) or client side (HTML, CSS, JavaScript, Images, etc.)?</p><p
class="MsoNormal">When it comes to code, there are 3 basic rules on how we can improve this…</p><ol
style="margin-top: 0cm;" type="1" start="1"><li
class="MsoNormal">Compress (or, as it’s called elsewhere, “minify”) so that the files are smaller</li><li
class="MsoNormal">Reduce by removing redundant code</li><li
class="MsoNormal">Improve code so that is works more efficiently</li></ol><p
class="MsoNormal"><strong>PHP</strong></p><p
class="MsoNormal">How we code our PHP can make a difference in the speed. Reinhold Weber <a
title="43 Tips for Optimizing PHP code" href="http://www.wmtips.com/php/tips-optimizing-php-code.htm" target="_blank">has published  a useful list of tips</a> on how to code more efficiently in PHP. This is a pretty good list and is pretty much all I can say on the subject, other than – and this applies to all other coding – to look through your code and try and remove redundancy.</p><p
class="MsoNormal"><strong>MySQL</strong></p><p
class="MsoNormal">The general advise is..</p><p
class="MsoNormal" style="margin-left: 36pt; text-indent: -18pt;"><!--[if !supportLists]-->1.Do as little SQL processing as possible. Reduce down what the SELECT fetches, if you can<!--[endif]--></p><p
class="MsoNormal" style="margin-left: 36pt; text-indent: -18pt;"><!--[if !supportLists]-->2.One of the biggest things is select *. If you don&#8217;t need all the columns, only ask for the ones you need. If you don&#8217;t need all the rows, ask for the ones you need, but ask in a way that exploits the indexes already there.<!--[endif]--></p><p
class="MsoNormal" style="margin-left: 36pt; text-indent: -18pt;"><!--[if !supportLists]-->3.Use Indexes wherever possible<!--[endif]--></p><p
class="MsoNormal">And whilst I’m at it, don’t forget to look at SQL Injection. It won’t help with speed, but is essential for site security.</p><p><strong>HTML/XHTML</strong></p><p
class="MsoNormal">Other than some of the tips mentioned previously (reduce code where appropriate, etc), there is no magic bullet for this one. Compression programs give very little benefit (reducing code by a couple of percent). There are some that make huge improvements but these come with decompression routines and can slow down the display of pages, as they are decompressed browser-side.</p><p
class="MsoNormal">Additionally, many compression routines will strip out characters that will then mean the page can’t be validated without errors.</p><p><strong>JavaScript</strong></p><p
class="MsoNormal">Unlike HTML/XHTML, I’ve found compression of JavaScript to be beneficial. My particular favourite is the one provided <a
href="http://www.creativyst.com/Prod/3/" target="_blank">on the <span>Creativyst website</span></a>. The <a
title="Litebox" href="http://www.doknowevil.net/litebox/" target="_blank">Litebox</a> script, for example, will compress to 67% of its original size, saving a third of the total size. Unlike other sites and tools, I’ve never found the Creativyst version to break a script.</p><p><strong>CSS</strong></p><p
class="MsoNormal">Like JavaScript, compression can help with CSS. Be wary, though, of various “hacks” that are used in CSS for cross-browser compatibility. Compression may break these.</p><p
class="MsoNormal">Therefore, I put any such “hacks” in a separate CSS file, which I don’t then compress.</p><p
class="MsoNormal">My recommendation is the <a
href="http://www.cssdrive.com/index.php/main/csscompressoradvanced/" target="_blank">online compressor at CSSdrive</a>, which can provide some impressive results (a 28% saving on the CSS that I tried). Using this compresses the main stylesheet for the BMTG website down to 72% of its original size – a saving of 28% on pretty much each page.</p><p
class="MsoNormal">I’d recommend you set the following options…</p><p
class="MsoNormal"><img
src="http://www.artiss.co.uk/wp-content/uploads/2008/03/compressor-options.png" alt="compressor-options.png" /></p><p
class="MsoNormal">Having said that, I’ve achieved even greater compression using manual search/replaces (but doing it for each stylesheet every time I change them is laborious). One day I might write a program to do it for me!</p><p><strong>.HTACCESS</strong></p><p
class="MsoNormal">There are two options, which can be set via your .htaccess file, which will help further.</p><ol
style="margin-top: 0cm;" type="1" start="1"><li
class="MsoNormal"><a
href="http://www.askapache.com/htaccess/apache-speed-compression.html" target="_blank">GZIP</a> – assuming your host server has GZIP installed, this will activate this compression functionality</li><li
class="MsoNormal"><a
href="http://www.askapache.com/htaccess/apache-speed-expires.html" target="_blank">Far_future_expires</a> – this adds an “expires” header to your files</li></ol><p
class="MsoNormal">Both of these options should be used carefully and fully tested. The latter option, Far_future_expires, should be of particularly note. This caches JS and CSS the first time a user visits. It’s only then an advantage when they return again. Bear in mind that if you then change of these files you’ll need to give them a different name, so document control will be useful here.</p><p
class="MsoNormal">Both of these, plus a minify option, is also available via a script named PHP_SPEEDY. I will be covering this in a second article, however.</p><p><strong>Server Calls</strong></p><p
class="MsoNormal">The number of calls you make to the server for files to make up a resultant web page can have a big impact on load time.Combining images, stylesheets, etc, is the best solution.</p><p
class="MsoNormal">Now, you can do this manually, or there’s a rather useful and clever script for automating this on <a
href="http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compressing_javascript_and_css_files" target="_blank">the takaz blog</a>.</p><p><strong>Yahoo! Exceptional Performance</strong></p><p
class="MsoNormal">Yahoo! Have a section of their Developer Network titled <a
href="http://developer.yahoo.com/performance" target="_blank">Exceptional Performance</a>. It states that their “team evangelizes best practices for improving web performance”.</p><p
class="MsoNormal">First of all, I’d recommend their <a
href="http://developer.yahoo.com/performance/rules.html" target="_blank">list of performance rules</a>. This includes full explanations of each recommendation.</p><p
class="MsoNormal">Secondly, and to back this up, they’ve introduced a Firefox plugin that will check a website for performance issues, using their aforementioned rules. This is named <a
href="http://developer.yahoo.com/yslow/" target="_blank">Yslow</a> and requires the <a
href="http://www.getfirebug.com/" target="_blank"> Firebug</a> developer plugin as well.</p><p
class="MsoNormal">Now, some of these recommendations are going to be for large-scale commercial sites, including having a number of interspersed host servers, etc., so I suspect it’s doubtful that anyone with a small scale site is going to be able to achieve a high rating.</p><hr
/><p
class="MsoNormal">If you&#8217;ve found this article of interest, then a PDF version is available for download below. I&#8217;m happy for you to use and distribute this, but please don&#8217;t edit it, sell it or generally be beastly.</p><p
class="MsoNormal"><a
title="Improving website performance" href="http://www.artiss.co.uk/wp-content/uploads/2008/03/improving-website-performance.pdf"><img
src="http://www.artiss.co.uk/wp-content/uploads/2008/03/acrofile.thumbnail.gif" alt="Download PDF File" width="31" height="32" border="0" /></a><code> improving-website-performance.pdf</code></p><p><a
href="http://api.addthis.com/oexchange/0.8/forward/delicious/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/delicious.png" alt="Delicious" title="Delicious" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/digg/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/digg.png" alt="Digg" title="Digg" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/facebook.png" alt="Facebook" title="Facebook" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/linkedin.png" alt="LinkedIn" title="LinkedIn" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/reddit/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/reddit.png" alt="reddit" title="reddit" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/stumbleupon/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/stumbleupon.png" alt="StumbleUpon" title="StumbleUpon" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?url=http://www.artiss.co.uk/?p=207&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/twitter.png" alt="Twitter" title="Twitter" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="mailto:?subject=Improving%20website%20performance&amp;body=http%3A%2F%2Fwww.artiss.co.uk%2F2008%2F03%2Fwebsite-performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/email.png" alt="Email" title="Email" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a> <a
href="http://api.addthis.com/oexchange/0.8/forward/printfriendly/offer?url=http://www.artiss.co.uk/2008/03/website-performance&amp;title=Improving+website+performance" class="ssb" rel="nofollow"><img
src="http://www.artiss.co.uk/wp-content/themes/artiss-1/images/16x16/printfriendly.png" alt="Print Friendly" title="Print Friendly" class="ssb" style="padding-left: 2px;padding-right: 2px" /></a></p>]]></content:encoded> <wfw:commentRss>http://www.artiss.co.uk/2008/03/website-performance/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
