<?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>Reading On The Toilet&#187; Reading On The Toilet</title>
	<atom:link href="http://www.readingonthetoilet.com/category/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.readingonthetoilet.com</link>
	<description>In Easily Digestible Chunks</description>
	<lastBuildDate>Sun, 13 Jun 2010 11:00:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Cool Self Defense Site &amp; eBook</title>
		<link>http://www.readingonthetoilet.com/cool-defense-site-ebook/</link>
		<comments>http://www.readingonthetoilet.com/cool-defense-site-ebook/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 10:53:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Interesting Chunks]]></category>

		<guid isPermaLink="false">http://www.readingonthetoilet.com/?p=327</guid>
		<description><![CDATA[I&#8217;ve been into martial arts for a while, and found a great site a few months ago on self defense.  Yesterday I noticed the guy had published a new self defense ebook, and ordered it.  The book is awesome, so if anyone is interested in self defense or martial arts I&#8217;d highly recommend it.  It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hertao.com/selfdefense/self-defense-ebook"><img class="alignnone size-full wp-image-328" title="self-defense-ebook" src="http://www.readingonthetoilet.com/wp-content/uploads/2010/03/self-defense-ebook.jpg" alt="Self Defense eBook" width="256" height="300" /></a></p>
<p>I&#8217;ve been into martial arts for a while, and found a great site a few months ago on <a href="http://www.hertao.com">self defense</a>.  Yesterday I noticed the guy had published a new <a href="http://www.hertao.com/selfdefense/self-defense-ebook">self defense ebook</a>, and ordered it.  The book is awesome, so if anyone is interested in self defense or martial arts I&#8217;d highly recommend it.  It&#8217;s great from a mixed martial arts perspective, as it covers a lot of MMA training as a base, but then goes into specific techniques you can add for self defense.  Plus, the guy has a post on the <a href="http://www.hertao.com/blog/palm-stick/">palm stick</a> where he mentions how awesome the Surefire LX2 is, which I <a href="http://www.readingonthetoilet.com/surefire-lx2-lumamax/">blogged about the other day</a>.  <img src='http://www.readingonthetoilet.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.readingonthetoilet.com/cool-defense-site-ebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternative Energy</title>
		<link>http://www.readingonthetoilet.com/alternative-energy/</link>
		<comments>http://www.readingonthetoilet.com/alternative-energy/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:52:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.readingonthetoilet.com/?p=266</guid>
		<description><![CDATA[Today is Blog Action Day, where bloggers come together to spread awareness on topics that matter.  This year&#8217;s topic is climate change.  Why it&#8217;s not obvious to everyone that there is a direct correlation between CO2 (and other greenhouse gasses) and temperature is beyond me.  Here&#8217;s a graph: But lets just ignore reality and assume [...]]]></description>
			<content:encoded><![CDATA[<p>Today is <a href="http://www.blogactionday.org/">Blog Action Day</a>, where bloggers come together to spread awareness on topics that matter.  This year&#8217;s topic is climate change.  Why it&#8217;s not obvious to everyone that there is a direct correlation between CO2 (and other greenhouse gasses) and temperature is beyond me.  Here&#8217;s a graph:</p>
<p><a href="http://www.pewclimate.org/global-warming-basics/facts_and_figures/temp_ghg_trends/co2_and_temp.cfm"><img class="alignnone size-full wp-image-269" title="CO2 and Temperature" src="http://www.readingonthetoilet.com/wp-content/uploads/2009/10/co2-temp.jpg" alt="CO2 and Temperature" width="509" height="306" /></a></p>
<p>But lets just ignore reality and assume that human pollution is not warming the planet.  Fine.  Since when is <strong>reducing pollution</strong> a bad thing?  Since when is <strong>saving money</strong> a bad thing?  Regardless what you believe about climate change/global warming, it&#8217;s just plain <strong>smart to utilize renewable energy</strong> sources. In addition to using renewable energy sources, all of us can likely save money by reducing our energy bills.  Tools like the <a href="http://www.degreedays.net/kill-a-watt-meter">P3 Kill A Watt</a> make it easy.</p>
<p>Right now we&#8217;re getting most our energy from countries we ought not be sponsoring.  When the oil is gone we&#8217;re going to be doing the same thing if we don&#8217;t get in the race now.  <a href="http://www.nytimes.com/2009/09/27/opinion/27friedman.html">China is killing us</a>.  We&#8217;ve got the technology already, it&#8217;s just that we&#8217;re not using it.</p>
<p><object width="320" height="265"><param name="movie" value="http://www.youtube.com/v/uhF6JXHmzyU&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/uhF6JXHmzyU&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.readingonthetoilet.com/alternative-energy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perfect WordPress Themes: Empty Canvas</title>
		<link>http://www.readingonthetoilet.com/wordpress-themes-empty-canvas/</link>
		<comments>http://www.readingonthetoilet.com/wordpress-themes-empty-canvas/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 08:30:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.readingonthetoilet.com/?p=218</guid>
		<description><![CDATA[Finding the ideal WordPress theme for a particular project isn&#8217;t easy, and sometimes it&#8217;s simply impossible.  If you&#8217;ve got a static site that you need to add a blog to, you won&#8217;t find a theme that matches exactly, and even finding one that &#8220;fits&#8221; can be a chore to say the least.  I found myself [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-219" title="emptycanvas" src="http://www.readingonthetoilet.com/wp-content/uploads/2009/08/emptycanvas-300x133.jpg" alt="emptycanvas" width="300" height="133" /></p>
<p><strong>Finding the ideal WordPress theme</strong> for a particular project isn&#8217;t easy, and sometimes it&#8217;s simply impossible.  If you&#8217;ve got a static site that you need to add a blog to, you won&#8217;t find a theme that matches exactly, and even finding one that &#8220;fits&#8221; can be a chore to say the least.  I found myself in that situation this past week, and found the perfect solution: <a href="http://rubiqube.com/free-wordpress-theme-empty-canvas/">Empty Canvas, the perfect WordPress theme</a>.</p>
<p><a href="http://rubiqube.com/about/">Adrian Diaconescu</a> created this theme as an &#8220;empty canvas&#8221; to build on.  If you&#8217;ve got a <strong>custom job to do</strong>, but you don&#8217;t feel like (or know how) to build a theme from scratch, Empty Canvas is perfect.  You don&#8217;t have to spend hours trying to undo or modify a theme&#8217;s graphics and CSS.  With Empty Canvas you really do have a blank template to <strong>quickly customize however you like</strong>.</p>
<p>Don&#8217;t know how to customize a theme?  It&#8217;s really not difficult.  Check out the <a href="http://codex.wordpress.org/Templates">WordPress Codex on Templates</a> to learn how.  Let&#8217;s take the sidebar as an example (which doesn&#8217;t show by default in the Empty Canvas theme).  The <a href="http://codex.wordpress.org/Customizing_Your_Sidebar">Customizing Your Sidebar</a> link on the WordPress Codex on Templates page will show you what to put in the sidebar.php file to pull the data you want there&#8230;or how to add custom static code.  For instance, to get your &#8220;pages&#8221; and &#8220;categories&#8221; to show up in the sidebar, all you need to do is add this code:</p>
<blockquote>
<pre>&lt;?php wp_list_pages('title_li=&lt;h2&gt;Pages&lt;/h2&gt;'); ?&gt;
&lt;li id="categories"&gt;&lt;?php _e('Categories:'); ?&gt;
&lt;ul&gt;&lt;?php wp_list_cats(); ?&gt;&lt;/ul&gt;
&lt;/li&gt;</pre>
</blockquote>
<p>If you want to change the way the sidebar looks, or any other part of the theme, just modify the <a href="http://codex.wordpress.org/CSS">CSS file</a>.</p>
<p>Adrian has also done some incredible work on styled themes.  Check out <a href="http://themeforest.net/item/visual-the-wp-theme-for-passionate-bloggers/47375">Visual</a> for example&#8230;an incredibly cool theme for only $25.  Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.readingonthetoilet.com/wordpress-themes-empty-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canonical Link Tag &amp; Duplicate Content</title>
		<link>http://www.readingonthetoilet.com/canonical-link-tag-duplicate-content/</link>
		<comments>http://www.readingonthetoilet.com/canonical-link-tag-duplicate-content/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 14:51:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.readingonthetoilet.com/?p=206</guid>
		<description><![CDATA[As hard as it is for me to believe, most people don&#8217;t know what a browser is.  (It&#8217;s the software you use to interact with the web&#8230;Internet Explorer, Firefox, Chrome, Safari, etc.)  So, even less are going to know what &#8220;duplicate content&#8221; or the &#8220;cononical link tag&#8221; is.  However, this is a very important topic [...]]]></description>
			<content:encoded><![CDATA[<p>As hard as it is for me to believe, <a href="http://www.youtube.com/watch?v=o4MwTvtyrUQ">most people don&#8217;t know what a browser is</a>.  (It&#8217;s the software you use to interact with the web&#8230;Internet Explorer, Firefox, Chrome, Safari, etc.)  So, even less are going to know what &#8220;<strong>duplicate content</strong>&#8221; or the &#8220;<strong>cononical link tag</strong>&#8221; is.  However, this is a very important topic for anyone with a website who wants it to rank in the search results.</p>
<p>Many content management systems, like WordPress for blogs, e-commerce carts like Interspire and OSCommerce, Drupal, Joomla, etc. create multiple versions of the same page, with different URL&#8217;s.  That&#8217;s duplicate content&#8230;when you have the same content available on two different &#8220;pages&#8221;.  <strong>Search engines don&#8217;t know which page to rank</strong>, and the &#8220;link juice&#8221; you get from people who link to your site will be watered down&#8230;split between the duplicate pages.  If you&#8217;re using a content management system, it&#8217;s likely that <strong>you need to do something about this</strong> for sites you want to rank well.</p>
<p>To give you an example, some e-commerce sites have sort options for products.  You can click on a link to sort by price, in alphabetical order, etc.  Each one of these sort options has a different URL.  So when Googlebot comes along and visits the links, it sees multiple versions of a nearly identical page.  <strong>This is bad</strong>.  WordPress has similar issues, splitting link juice between categories, archives, tags, etc.  (Yoast has created a <a href="http://yoast.com/wordpress/canonical/">WordPress plugin</a> to deal with this.  You can also use his <a href="http://wordpress.org/extend/plugins/robots-meta/">Robots Meta plugin</a> to stop Google from indexing certain pages.)</p>
<p>Getting back to the canonical tag&#8230;  Google came out with a <a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html">canonical link tag</a>, which allows you to specify which version of your URL you want them to index, as a solution to some of these duplicate content issues.  Matt Cutts, the head of Google&#8217;s Web Spam Team, also posted about this <a href="http://www.mattcutts.com/blog/canonical-link-tag/">canonical link element</a>.  The problem is, <span style="color: #ff0000;">IT DOESN&#8217;T SEEM TO WORK!  <span style="color: #000000;"><a href="http://www.davidnaylor.co.uk/relcanonical-tag-and-affiliate-links.html">Read Here</a>.</span><br />
</span></p>
<p><strong>So what can you do?</strong></p>
<ol>
<li>Disallow pages/areas via robots.txt (this leaks a bit of &#8220;page rank&#8221;, but is probably better than duplicate content)</li>
<li>Add a <a href="http://www.seobook.com/robots-txt-vs-rel-nofollow-vs-meta-robots-nofollow">noindex, follow</a> tag to the header of pages you don&#8217;t want indexed, but still want &#8220;page rank&#8221; to flow through.</li>
<li>Block Googlebot from seeing the link at all by using an iframe or a javascript hide (javascript needs to be in an external file for this to work&#8230;maybe)</li>
</ol>
<p>It&#8217;s not a simple topic, but it&#8217;s a problem that many webmasters have, and one that needs to be dealt with if you want your site to rank.  If you have any questions, post them in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.readingonthetoilet.com/canonical-link-tag-duplicate-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Move a WordPress Blog</title>
		<link>http://www.readingonthetoilet.com/how-to-move-wordpress-blog/</link>
		<comments>http://www.readingonthetoilet.com/how-to-move-wordpress-blog/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 09:19:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.readingonthetoilet.com/?p=114</guid>
		<description><![CDATA[Having your own blog is easy, especially if you use a free blog platform like WordPress.  Before I get into moving your WordPress blog though, in case any of you don&#8217;t know how to create one in the first place, here are the quick and easy instructions: 1.  Get yourself a domain name (register one [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.readingonthetoilet.com/wp-content/uploads/2009/06/Atlas-WordPress.jpg"><img class="size-full wp-image-115 alignleft" style="margin-left: 20px; margin-right: 20px;" title="Atlas-WordPress" src="http://www.readingonthetoilet.com/wp-content/uploads/2009/06/Atlas-WordPress.jpg" alt="Atlas-WordPress" width="151" height="296" /></a>Having your own blog is easy, especially if you use a free blog platform like <a href="http://wordpress.org/">WordPress</a>.  Before I get into moving your WordPress blog though, in case any of you don&#8217;t know how to create one in the first place, here are the quick and easy instructions:</p>
<p>1.  Get yourself a domain name (register one at <a href="http://www.godaddy.com">Godaddy</a>).</p>
<p>2.  Get a hosting account (<a href="http://www.dreamhost.com">Dreamhost</a> is cheap and easy to use).</p>
<p>3.  Add your domain to your account at Dreamhost in the &#8220;Manage Domain&#8221; section.</p>
<p>4.  Change your &#8220;nameservers&#8221; on your domain at Godaddy to the ones Dreamhost gives you.</p>
<p>5.  Click &#8220;Goodies&#8221; in your Dreamhost control panel, select &#8220;one click install&#8221;, use the &#8220;advanced&#8221; installation, choose WordPress, and follow the instructions.  Bam!  You&#8217;ve got yourself a blog.  Moving it to a new domain is another story though!  Here&#8217;s how to do so and avoid all the mistakes I made on my first blog move:</p>
<h2><span id="more-114"></span>Moving your WordPress Blog</h2>
<p><span style="color: #ff0000;"><em><strong>You must follow the steps below in the EXACT order they are presented, or risk having your blog flushed down the toilet.  Yes, you may be able to rescue it, but you&#8217;ll likely have <span style="text-decoration: underline;">poo poo</span> all over your body from climbing around in the sewer.<br />
</strong></em></span></p>
<p>1.  <strong>Save a backup copy of ALL your files and your database.</strong> <a href="http://filezilla-project.org/">Filezilla</a> is a great FTP program you can get for free, and use to copy your &#8220;blog&#8221; folder to your hard drive.  Then, export your database to a file on your computer.  To export your database from Dreamhost, just go to &#8220;databases&#8221;, log into phpMyAdmin, select your database, select export, and use the following settings:</p>
<div id="attachment_120" class="wp-caption alignnone" style="width: 310px"><a href="http://www.readingonthetoilet.com/wp-content/uploads/2009/06/databaseexport.jpg"><img class="size-medium wp-image-120" title="databaseexport" src="http://www.readingonthetoilet.com/wp-content/uploads/2009/06/databaseexport-300x187.jpg" alt="Click to Enlarge" width="300" height="187" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p>The above will make a copy of your <strong>old blog files and database</strong>.  It&#8217;s a good idea to have this in case your move fails and you need to start over.</p>
<p>2.  Go into the admin section of your blog, and <strong>change the domain in the &#8220;settings&#8221; </strong>to the new location where you want your blog to reside.</p>
<p>3.  Go back to Dreamhost and <strong>export the database AGAIN, to a new file</strong>.  This time, the database is going to use the <em>new domain</em> that you switched to in step 2 above.</p>
<p>4.  <strong>Create a new database on your new domain/server.</strong> This should be a very easy step.  Just go to the database portion of your control panel and select to create a new database.  Take note of the database name, userid, password, and host/location.</p>
<p>5.  <strong>Import the database you exported in step 3</strong> (your old database files) to the new database you just created in step 4.</p>
<p>6.  Go into your blog files you have on your computer (which you moved in step 1), and find the wp-config.php file.  It will be at the root level.  Open the file with Notepad, and <strong>change the database name, userid, password, and host/location</strong> to the new info you made note of in step 4.</p>
<p>7.  <strong>Move the entire &#8220;blog&#8221; folder onto your new domain</strong> wherever you want it to reside.  If you want it to be at www.site.com, move all the contents of your blog folder directly onto the root.  If you want it to reside at www.site.com/blog, just move the entire folder names &#8220;blog&#8221; onto the root.</p>
<p>The shorter and harder to follow <a href="http://codex.wordpress.org/Moving_WordPress">WordPress instructions</a> will tell you you&#8217;re done now&#8230;but you may not be!</p>
<p><a href="http://codex.wordpress.org/Moving_WordPress"><img class="alignnone size-medium wp-image-121" title="moving-wordpress" src="http://www.readingonthetoilet.com/wp-content/uploads/2009/06/moving-wordpress-300x176.jpg" alt="moving-wordpress" width="300" height="176" /></a></p>
<p><em>I&#8217;ve run into two additional problems:</em></p>
<p>1.  If you&#8217;ve moved from the <strong>root directory</strong> on one domain to a <strong>&#8220;blog&#8221; directory</strong> on another domain or vice versa, you may have to modify your .htaccess file, ESPECIALLY if you&#8217;re using custom permalinks&#8230;which you should be!  WordPress will need to redirect their crappy URL&#8217;s to your custom permalinks, and it needs to modify the .htaccess file to do this.  But, it may not be able to modify the .htaccess file if it&#8217;s in a different directory.  So you&#8217;ll need to go to the permalinks section of WordPress under settings, select the &#8220;custom&#8221; box, put in your custom link structure (which should ideally be: /%postname%/), and copy the .htaccess code that will apear at the bottom of the screen to paste into your .htaccess file if it WordPress wasn&#8217;t able to do it.</p>
<p>2. <strong> Your &#8220;file permissions&#8221; may have changed</strong> when you uploaded them to your new server, and WordPress may be unable to access folders it need to be able to access.  Using Filezilla (FTP), set your folder permissions to 755 and your file permissions to 644.  This SHOULD allow WordPress to function.  If you have problems with image uploads you may have to temporarily go into WordPress and increase the accessibility of your uploads folder to the likes of 777.  BUT, only do this temporarily, as it <strong>will allow hackers to upload malicious scripts in your comments</strong>!</p>
<p>Finally, go back to your old domain, and upload a new .htaccess file that <strong>redirects users and search engines to your new blog</strong>.  You can use this code if your blog was in the root directory:</p>
<blockquote><p>RewriteEngine On<br />
RewriteRule ^(.*)$ http://www.site.com/blog/$1 [R=301,L]</p></blockquote>
<p>Change blog/ to wherever your blog is now, or leave it off if your blog is going to be in your root directory again.  If you&#8217;ve got any questions, feel free to ask them in the comments.  Happy blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.readingonthetoilet.com/how-to-move-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
