<?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>tomorrowland.com &#187; WordPress</title>
	<atom:link href="http://www.tomorrowland.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tomorrowland.com</link>
	<description>technology making our lives more futuristic and fun</description>
	<lastBuildDate>Wed, 07 Jul 2010 11:44:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>tomorrowland virus killed</title>
		<link>http://www.tomorrowland.com/2009/10/16/tomorrowland-virus-killed/</link>
		<comments>http://www.tomorrowland.com/2009/10/16/tomorrowland-virus-killed/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 08:26:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[What's Up]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://www.tomorrowland.com/?p=1281</guid>
		<description><![CDATA[Just an update on the wordpress virus.  After several hours of research followed by 3 or 4 hours of fixing, I&#8217;ve wiped out the virus and cleaned up the database.  I also implemented guvnr&#8217;s 10 tips to make wordpress hackproof.  (Ok if that&#8217;s not offering a challenge to all the hackers out there&#8230;)
The main advice [...]]]></description>
			<content:encoded><![CDATA[<p>Just an update on the wordpress virus.  After several hours of research followed by 3 or 4 hours of fixing, I&#8217;ve wiped out the virus and cleaned up the database.  I also implemented guvnr&#8217;s <a href="http://guvnr.com/web/blogging/10-tips-to-make-wordpress-hack-proof/" target="_blank">10 tips to make wordpress hackproof</a>.  (Ok if that&#8217;s not offering a challenge to all the hackers out there&#8230;)</p>
<p>The main advice everyone gives is obviously to update to the latest version of wordpress and all your plugins, but once infected it&#8217;s too late for that plan to help.  Other tips are to of course use a strong password and to disable the default admin user account.  But first I had to remove the &#8216;back door&#8217; admin user &#8211; which was giving the virus access to my site. Then I went through the 10 tips closing up vulnerabilities where possible.</p>
<p>One place where I almost hosed myself was that somewhere in the process I accidentally reduced my admin account&#8217;s privileges to that of a normal author, without first creating a new admin user.  After that blunder, logging back in as admin was impossible &#8211; so there was no way to create a new admin user.  Ultimately I had to hack back in to my own site (via the mysql database) and create a new user with admin capabilities.  Ahhhh, technology!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomorrowland.com/2009/10/16/tomorrowland-virus-killed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Comment System</title>
		<link>http://www.tomorrowland.com/2008/11/14/new-comment-system/</link>
		<comments>http://www.tomorrowland.com/2008/11/14/new-comment-system/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 01:26:29 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[What's Up]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://www.michaelsmith.tv/?p=321</guid>
		<description><![CDATA[Today I installed a new comment system called IntenseDebate. It provides better functionality for comments, comment threading, reply-by-email, commenter profiles, reputation points and comment voting.  It should be a bit more fun than the old system.  To take full advantage of the new system sign up for IntenseDebate by clicking on Comments below.
Someone also recently [...]]]></description>
			<content:encoded><![CDATA[<p>Today I installed a new comment system called <a href="http://intensedebate.com/" target="_blank">IntenseDebate</a>. It provides better functionality for comments, comment threading, reply-by-email, commenter profiles, reputation points and comment voting.  It should be a bit more fun than the old system.  To take full advantage of the new system sign up for IntenseDebate by clicking on Comments below.</p>
<p>Someone also recently asked about commenter avitars. IntenseDebate allows you to either upload an avitar to your profile there or use a <a href="http://www.gravitar.com" target="_blank">gravitar</a>.</p>
<p>So go ahead and click &#8220;Comments&#8221; below to see how it all works&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomorrowland.com/2008/11/14/new-comment-system/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress &#8211; Simple Post Views Counter Plugin</title>
		<link>http://www.tomorrowland.com/2008/11/12/wordpress-simple-post-views-counter-plugin/</link>
		<comments>http://www.tomorrowland.com/2008/11/12/wordpress-simple-post-views-counter-plugin/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 12:00:11 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[mod]]></category>

		<guid isPermaLink="false">http://www.michaelsmith.tv/?p=268</guid>
		<description><![CDATA[WP-PostViews is a free plugin by Lester Chan that counts views for each post. Installing and activating the plugin begins the tracking, but it&#8217;s up to you to add code to your theme somewhere to display the view count. No offense to Lester, but the documentation left a little to be figured out. What I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lesterchan.net/portfolio/programming/php/" target="_blank">WP-PostViews</a> is a free plugin by <a href="http://lesterchan.net/" target="_blank">Lester Chan</a> that counts views for each post. Installing and activating the plugin begins the tracking, but it&#8217;s up to you to add code to your theme somewhere to display the view count. No offense to Lester, but the <a href="http://lesterchan.net/wordpress/readme/wp-postviews.html" target="_blank">documentation</a> left a little to be figured out. What I mean by this is that it doesn&#8217;t explain <strong>how</strong> it works or <strong>what</strong> it counts as a view. With a little testing I figured out that it only counts the view when someone loads the full post. Even if the entire text of the post is seen on the main page &#8211; meaning that you didn&#8217;t use the &#8220;more&#8221; tag &#8211; it won&#8217;t increment the view count unless the post is loaded by itself.  This gives misleading results because if the entire post is on your main page it&#8217;s unlikely that anyone will click through. Therefore even a popular post could show only a few views.  This is something that I might try to fix eventually.<span id="more-268"></span></p>
<p>Of course counters like this one are only good to give you an idea of traffic. They can&#8217;t be considered as technically accurate because of bots, self-inflicted views, and reloads. Some would argue that it&#8217;s just for the novelty of watching the number get bigger and feeling good that people are reading your blog. However, I&#8217;m using it as a metric to see overall traffic trends and see what types of posts are more popular.</p>
<p>Based on the documentation, the code to show the view count on each post has to be manually added to your theme. In your wordpress dashboard go to the Theme Editor under the Design tab:</p>
<p style="text-align: center;"><a href="http://www.michaelsmith.tv/wp-content/uploads/2008/11/theme_edit1.jpg"><img class="size-full wp-image-249 aligncenter" title="theme_edit1" src="http://www.michaelsmith.tv/wp-content/uploads/2008/11/theme_edit1.jpg" alt="" width="450" height="307" /></a></p>
<p>The highlighted code above is what I added. It checks to see if a function called &#8216;the_views&#8217; exists and if so it is launched. That function displays your view count based on the options you&#8217;ve set up.  Where the count shows within your post block is determined by where you place this code.  It is up to you to figure out the proper placement and will be different depending on your theme. It just has to be somewhere inside the main loop where posts are displayed. Through trial and error I&#8217;ve settled on placing it right below the tags and right above the comments link. I also put &lt;div&gt;&#8217;s around it so that it will be on it&#8217;s own line.</p>
<p>Of course this only places the count on the posts as they display on your main index (your home page). You also have to add this code to the script that is used for single posts and pages. For my theme they were called single.php, and page.php.</p>
<p>Now to the mod.  The initial thing I didn&#8217;t like about the plugin is that if a post had zero views it showed &#8220;Views: 0&#8243;.  It should be impossible to have zero views because you have to view it to see the 0.  Even the first viewer should see &#8220;Views: 1&#8243; as they are the FIRST viewer. Clearly it is incrementing the counter <strong>after </strong>showing the counter.  Maybe Lester or someone else can chime in the comments and tell me if I&#8217;m doing something wrong.  But from from what I can tell, since it only increments the counter when the full post is loaded, the value will be zero when seen on the main page until someone clicks through to the see the full post.</p>
<p>I don&#8217;t like seeing Views: 0 and would rather not see anything at all until it has a value. So the mod I did was to only show the &#8220;Views:&#8230;.&#8221; if the count is at least 1. You could have it not show the number until it&#8217;s over 10 (or some other threshold).  Not being an expert PHP programmer I just guessed at how to change the code.</p>
<p><img class="aligncenter size-full wp-image-253" title="plugins_button" src="http://www.michaelsmith.tv/wp-content/uploads/2008/11/plugins_button.jpg" alt="" width="179" height="51" /></p>
<p>Editing a plugin is done via the Plugin Edior found under the Plugins Tab:</p>
<p><a href="http://www.michaelsmith.tv/wp-content/uploads/2008/11/plugin_edit1.jpg"><img class="aligncenter size-full wp-image-252" title="plugin_edit1" src="http://www.michaelsmith.tv/wp-content/uploads/2008/11/plugin_edit1.jpg" alt="" width="450" height="387" /></a>Editing plugins can be dangerous. If you cause a program error the plugin will disable itself &#8211; which could have some repercussions that I don&#8217;t know about. The highlighted text in the above image shows the code I changed. Originally the highlighted code was only:</p>
<pre style="text-align: center;">echo $output;</pre>
<p style="text-align: left;">By adding the if($post_views &gt; 0) { &#8230;. } around the echo I disabled the echo when the number of views is zero.  If you wanted to only show the count when it reaches a higher number, just replace that zero with your threshold.</p>
<p style="text-align: left;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomorrowland.com/2008/11/12/wordpress-simple-post-views-counter-plugin/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Digg Integration for WordPress</title>
		<link>http://www.tomorrowland.com/2008/11/11/digg-integration-for-wordpress/</link>
		<comments>http://www.tomorrowland.com/2008/11/11/digg-integration-for-wordpress/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 02:15:48 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[mod]]></category>

		<guid isPermaLink="false">http://www.michaelsmith.tv/?p=248</guid>
		<description><![CDATA[
Last night I did a bit of modding to my site (to my blog theme). For yesterday&#8217;s Dell Mini 9 post I was interested in tracking my traffic. I was also interested in using that subject to generate as much traffic as possible. So today and tomorrow I&#8217;m posting about two wordpress plugins that I added, tomorrow&#8217;s is [...]]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fdesign%2FDigg_Integration_plugin_for_WordPress_com_sites" height="82" width="55" frameborder="0" scrolling="no" style="float: right; margin-left: 5px; margin-bottom: 5px; padding: 2px 0 2px 2px; background: #fff;"></iframe></p>
<p>Last night I did a bit of <a title="Modding Wiki Entry" href="http://en.wikipedia.org/wiki/Modding" target="_blank">modding</a> to my site (to my blog theme). For yesterday&#8217;s <a href="http://www.michaelsmith.tv/2008/11/10/dell-mini-9-leopard-install/" target="_blank">Dell Mini 9 post</a> I was interested in tracking my traffic. I was also interested in using that subject to generate as much traffic as possible. So today and tomorrow I&#8217;m posting about two wordpress plugins that I added, tomorrow&#8217;s is to help get an idea of traffic, and today&#8217;s is to add the <a href="http://digg.com/" target="_blank">Digg</a> icon to a post &#8211; which you see here to the right.</p>
<p>The reason I&#8217;m calling these &#8216;mods&#8217; is that they were a little more difficult to install than a regular wordpress plugin and each required me to edit (modify) code.</p>
<p>In searching for a way to integrate Digg into my WordPress theme I first found a couple of plugins which will automatically add the icon to every post in your blog.  Then I found <a href="http://en.blog.wordpress.com/2007/02/22/digg-this/" target="_blank">this article</a> which basically says that WordPress already supports it and that all you have to do is add a [digg=...] tag. Well, after about 20 minutes of trying I realized that there is a difference between <a href="http://faq.wordpress.com/2006/05/07/wordpresscom-vs-wordpressorg/" target="_blank">WordPress.com and WordPress.org</a>.  My blog is a WordPress.org site, meaning that I&#8217;m using their free software and it is hosted on my own server, not the WordPress.com servers.  Therefore, the Digg integration mentioned in that article didn&#8217;t apply to me because I didn&#8217;t have any plugins to support it.<span id="more-248"></span></p>
<h3>Digg This</h3>
<p>As I said, one of the <a title="Digg Digg" href="http://www.mkyong.com/blog/digg-digg-wordpress-plugin/" target="_blank">plugins I found</a> puts a Digg icon on every post in your blog. I guess it depends on how you view things, but I would rather have the ability to add a Digg whenever I feel that it&#8217;s appropriate. Not all of my posts are Digg worthy. HM2K.com has a plugin called <a href="http://www.hm2k.com/projects/wp-digg-this" target="_blank">Digg This</a> which emulates the WordPress.com functionality so that you can use a Digg tag for integration on your WordPress.org site. It also allows you to add a digg icon that refers to a different article.  So if you&#8217;re posting about another article you can digg theirs instead of yours.</p>
<p>The problem is that HM2K doesn&#8217;t supply a link to the actual plugin. Instead they supply the source code, and give instructions on how to copy and paste it into your own PHP file and install it.  I followed these directions but their source code, because it&#8217;s on a web page, had non-standard quote marks and symbols which caused the plugin to crash.  I&#8217;ve since fixed it all and have posted an easier to install version of the <a href="http://www.hm2k.com/projects/wp-digg-this" target="_blank">Digg This plugin</a> on my site for easy access.  Since HM2K is the actual author, if they come out of the woodworks I&#8217;ll comply with whatever. But for now I&#8217;ve posted it for your convenience.</p>
<p><strong>UPDATE 12/3/08 &#8211; HM2K has finally posted it on their site and asked me to take down my version which I&#8217;ll gladly do. The above link now just takes you to the HM2K site &#8211; if you scroll down you&#8217;ll see the link.</strong></p>
<p>To use it download the plugin, unzip it and place it in your wordpress plugin directory (ie: /home/user/public_html/wordpress/wp-content/plugins/). Then log into the wp-admin area, and activate it under the plugins section.</p>
<p>To use it simply put a [digg=....] tag somewhere in your post, where &#8230;. is replaced with a link to the actual digg post.  Then you&#8217;re good to go.  In this post the digg tag looks like this:</p>
<p style="text-align: center;"><a href="http://www.michaelsmith.tv/wp-content/uploads/2008/11/diggtag_code.jpg"><img class="aligncenter size-full wp-image-266" title="diggtag_code" src="http://www.michaelsmith.tv/wp-content/uploads/2008/11/diggtag_code.jpg" alt="" width="450" height="335" /></a></p>
<p>It can become a chicken and egg dellima because your Digg can&#8217;t be done until after your post is written, and you can&#8217;t add the digg tag to your post until after you&#8217;ve Digged it.  Just write the post, Digg it, wait about 5 min for the digg to post, copy the URI for the digg page, then go back and edit your post and add in the digg tag.</p>
<p><strong>ANOTHER UPDATE 12/3/08 &#8211; I now use feedburner which give me the &#8220;Digg This! (4 Diggs)</strong><span><strong> • </strong></span><strong>Share on Facebook</strong><span><strong> • </strong></span><strong>Email this&#8221; at the bottom of each post.  Still, I like having both options so that when I&#8217;ve got something that it a hotter topic I&#8217;ll still sometimes use the Digg This Plugin so that you also see the Digg icon at the top of the post.  Both seem to work fine together.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomorrowland.com/2008/11/11/digg-integration-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
