<?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>tail -f findings.out &#187; Meta</title>
	<atom:link href="http://dancingpenguinsoflight.com/category/meta/feed/" rel="self" type="application/rss+xml" />
	<link>http://dancingpenguinsoflight.com</link>
	<description></description>
	<lastBuildDate>Fri, 20 Apr 2012 03:24:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Feed now updating again</title>
		<link>http://dancingpenguinsoflight.com/2009/05/feed-now-updating-again/</link>
		<comments>http://dancingpenguinsoflight.com/2009/05/feed-now-updating-again/#comments</comments>
		<pubDate>Thu, 21 May 2009 11:53:26 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=973</guid>
		<description><![CDATA[If you follow this blog&#8217;s feed, you might have thought I hadn&#8217;t written a post for a while. As it turns out, the time it was taking my server to respond when Feedburner asked for recent items was greater than &#8230; <a href="http://dancingpenguinsoflight.com/2009/05/feed-now-updating-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you follow this blog&#8217;s feed, you might have thought I hadn&#8217;t written a post for a while. As it turns out, the time it was taking my server to respond when Feedburner asked for recent items was greater than Feedburner&#8217;s timeout period (over 10 seconds). I&#8217;m not sure why this was the case, my feed URL simply started serving at a much lower transfer rate one day. My temporary solution has been to reduce the number of items shown in the feed from ten to five. This has allowed Feedburner to update, so the last three posts that were missing should now be shown.</p>
<p>I apologize for the lacuna, and hope to perform some optimization to get the site running faster soon. Thanks for reading!</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2009/05/feed-now-updating-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Going to PyCon 2009!</title>
		<link>http://dancingpenguinsoflight.com/2009/02/going-to-pycon-2009/</link>
		<comments>http://dancingpenguinsoflight.com/2009/02/going-to-pycon-2009/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 05:49:48 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[PyCon 2009]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=636</guid>
		<description><![CDATA[I am going to my first PyCon this year! With programming in Python so much more both at work and messing around with various things at home, along with the additional tutorial day and great talks planned, this seemed like &#8230; <a href="http://dancingpenguinsoflight.com/2009/02/going-to-pycon-2009/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am going to my first <a title="PyCon 2009 Home" href="http://us.pycon.org/2009/about/" target="_blank">PyCon</a> this year! With programming in Python so much more both at work and messing around with various things at home, along with the additional tutorial day and great talks planned, this seemed like the perfect year to go. Many of <a title="PyCon 2009 Tutorials" href="http://us.pycon.org/2009/tutorials/schedule/" target="_blank">the tutorials</a> look splendid, and it was quite hard to decide. I ended up signing up for the following:</p>
<ul>
<li><em>Day 1, March 25</em>
<ul>
<li>Morning Session: <a title="Kamaelia tutorial" href="http://us.pycon.org/2009/tutorials/schedule/1AM7/" target="_blank"><strong>Easy Concurrency with Kamaelia</strong></a></li>
<li>Afternoon Session: <a title="Eggs and buildout tutorial" href="http://us.pycon.org/2009/tutorials/schedule/1PM3/" target="_blank"><strong>Eggs and Buildout Deployment in Python</strong></a></li>
</ul>
</li>
<li><em>Day 2, March 26</em>
<ul>
<li>Morning Session: <a title="py.test tutorial" href="http://us.pycon.org/2009/tutorials/schedule/2AM2/" target="_blank"><strong>py.test I &#8211; rapid testing with minimal effort</strong></a></li>
<li>Afternoon Session: <a title="OOP tutorial" href="http://us.pycon.org/2009/tutorials/schedule/2PM1/" target="_blank"><strong>An Introduction to Object-Oriented Programming</strong></a></li>
</ul>
</li>
</ul>
<p>Now I just have to pick which of the <a title="PyCon schedule" href="http://us.pycon.org/2009/conference/schedule/" target="_blank">myriad talks</a> I want to attend&#8230; </p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">self.clone()</div></td></tr></tbody></table></div>
<p>, anyone?</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2009/02/going-to-pycon-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100th blog post!</title>
		<link>http://dancingpenguinsoflight.com/2009/01/one-hundredth-post/</link>
		<comments>http://dancingpenguinsoflight.com/2009/01/one-hundredth-post/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 07:32:13 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[pylab]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=448</guid>
		<description><![CDATA[This is my 100th post to this blog! And there&#8217;s a lot more where that came from! Token graphage: A domain change (formerly: assistedsilicon.blogspot.com), a platform change (Blogger to WordPress), 805.5 themes, and coming on two years later, the topics &#8230; <a href="http://dancingpenguinsoflight.com/2009/01/one-hundredth-post/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is my <strong>100th post</strong> to this blog! And there&#8217;s a lot more where that came from!</p>
<p>Token graphage:</p>
<p><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2009/01/results.png"><img class="aligncenter size-full wp-image-449" title="results" src="http://dancingpenguinsoflight.com/wp-content/uploads/2009/01/results.png" alt="" width="500" height="375" /></a></p>
<p>A domain change (formerly: assistedsilicon.blogspot.com), a platform change (Blogger to WordPress), 805.5 themes, and coming on two years later, the topics are mostly the same:</p>
<ul>
<li>Linux: vim config, bash aliases, useful scripts, hidden options, and lots more</li>
<li>MySQL: How to do things you will likely need to do, and do them better</li>
<li>Python: Resources, recipes, and tricks for using this incredible language</li>
<li>Vista: How to live with it, partially</li>
<li>Occasional other tech/geek items</li>
</ul>
<p>On the graph:</p>
<ul>
<li>The nine month lacuna in 2007-08 is to be blamed on World of Warcraft.</li>
<li>The spike near the end of 2008 corresponded to when I started using Windows Vista (at work, under duress). Discoveries do seem to increase in wartime&#8230;</li>
</ul>
<p>For some reason I couldn&#8217;t wrangle my data into a graph I liked in OO Spreadsheet. So, of course, I made the graph in Python! To get the post data, I ran this against my WordPress MySQL DB:</p>
<div class="codecolorer-container sql blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mysql <span style="color: #66cc66;">-</span>u root <span style="color: #66cc66;">-</span>p <span style="color: #66cc66;">-</span>e <span style="color: #ff0000;">&quot;use WORDPRESS_DB; <span style="color: #000099; font-weight: bold;">\</span><br />
select date(post_date) as date, post_title as title from wp_posts <span style="color: #000099; font-weight: bold;">\</span><br />
where post_type='post' and post_status='publish' <span style="color: #000099; font-weight: bold;">\</span><br />
group by post_date order by date(post_date) asc;&quot;</span> <span style="color: #66cc66;">&gt;</span> posts<span style="color: #66cc66;">.</span>csv</div></td></tr></tbody></table></div>
<p>This grabs the dates and titles for all actual published posts, grouping and ordering them on the date. Then I put that output file into a short ugly script for graphing:</p>
<div class="codecolorer-container python blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">#!/usr/bin/env python</span><br />
<span style="color: #ff7700;font-weight:bold;">try</span>:<br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">from</span> pylab <span style="color: #ff7700;font-weight:bold;">import</span> *<br />
<span style="color: #ff7700;font-weight:bold;">except</span>:<br />
&nbsp; &nbsp; graphing <span style="color: #66cc66;">=</span> <span style="color: #008000;">False</span><br />
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">pprint</span><br />
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">datetime</span><br />
<br />
<span style="color: #808080; font-style: italic;"># Read in the file of titles and dates:</span><br />
f <span style="color: #66cc66;">=</span> <span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'posts.csv'</span><span style="color: black;">&#41;</span><br />
flines <span style="color: #66cc66;">=</span> <span style="color: black;">&#91;</span><span style="color: black;">&#93;</span><br />
<span style="color: #ff7700;font-weight:bold;">for</span> line <span style="color: #ff7700;font-weight:bold;">in</span> f: flines.<span style="color: black;">append</span><span style="color: black;">&#40;</span>line.<span style="color: black;">split</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'<span style="color: #000099; font-weight: bold;">\t</span>'</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />
<span style="color: #808080; font-style: italic;"># Create dict of year-month and counts therein:</span><br />
date_counts <span style="color: #66cc66;">=</span> <span style="color: black;">&#123;</span><span style="color: black;">&#125;</span><br />
<span style="color: #ff7700;font-weight:bold;">for</span> line <span style="color: #ff7700;font-weight:bold;">in</span> flines:<br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">if</span> date_counts.<span style="color: black;">has_key</span><span style="color: black;">&#40;</span>line<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span>:<span style="color: #ff4500;">7</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; &nbsp; &nbsp; date_counts<span style="color: black;">&#91;</span>line<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span>:<span style="color: #ff4500;">7</span><span style="color: black;">&#93;</span><span style="color: black;">&#93;</span> +<span style="color: #66cc66;">=</span> <span style="color: #ff4500;">1</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">else</span>:<br />
&nbsp; &nbsp; &nbsp; &nbsp; date_counts<span style="color: black;">&#91;</span>line<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span><span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span>:<span style="color: #ff4500;">7</span><span style="color: black;">&#93;</span><span style="color: black;">&#93;</span> <span style="color: #66cc66;">=</span> <span style="color: #ff4500;">1</span><br />
<span style="color: #808080; font-style: italic;"># Make a list of the counts, dates and sort them:</span><br />
counts <span style="color: #66cc66;">=</span> date_counts.<span style="color: black;">items</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
counts.<span style="color: black;">sort</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
<span style="color: #808080; font-style: italic;"># Turn the partial date strings into date objects for graphing:</span><br />
dates <span style="color: #66cc66;">=</span> <span style="color: black;">&#91;</span>key <span style="color: #ff7700;font-weight:bold;">for</span> key<span style="color: #66cc66;">,</span> value <span style="color: #ff7700;font-weight:bold;">in</span> counts<span style="color: black;">&#93;</span><br />
dated_days <span style="color: #66cc66;">=</span> <span style="color: black;">&#91;</span><span style="color: black;">&#93;</span><br />
<span style="color: #ff7700;font-weight:bold;">for</span> day <span style="color: #ff7700;font-weight:bold;">in</span> dates:<br />
&nbsp; &nbsp; year <span style="color: #66cc66;">=</span> <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>day<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span>:<span style="color: #ff4500;">4</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; month <span style="color: #66cc66;">=</span> <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>day<span style="color: black;">&#91;</span><span style="color: #ff4500;">5</span>:<span style="color: #ff4500;">7</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; day <span style="color: #66cc66;">=</span> <span style="color: #ff4500;">1</span><br />
&nbsp; &nbsp; date <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">datetime</span>.<span style="color: black;">date</span><span style="color: black;">&#40;</span>year<span style="color: #66cc66;">,</span> month<span style="color: #66cc66;">,</span> day<span style="color: black;">&#41;</span><br />
&nbsp; &nbsp; dated_days.<span style="color: black;">append</span><span style="color: black;">&#40;</span>date<span style="color: black;">&#41;</span><br />
counts <span style="color: #66cc66;">=</span> <span style="color: black;">&#91;</span> value <span style="color: #ff7700;font-weight:bold;">for</span> key<span style="color: #66cc66;">,</span> value <span style="color: #ff7700;font-weight:bold;">in</span> counts<span style="color: black;">&#93;</span><br />
<span style="color: #808080; font-style: italic;"># Set labels</span><br />
x <span style="color: #66cc66;">=</span> xlabel<span style="color: black;">&#40;</span><span style="color: #483d8b;">'Date'</span><span style="color: black;">&#41;</span><br />
setp<span style="color: black;">&#40;</span>x<span style="color: #66cc66;">,</span> fontweight<span style="color: #66cc66;">=</span><span style="color: #483d8b;">'bold'</span><span style="color: black;">&#41;</span><br />
y <span style="color: #66cc66;">=</span> ylabel<span style="color: black;">&#40;</span><span style="color: #483d8b;">'Posts'</span><span style="color: black;">&#41;</span><br />
setp<span style="color: black;">&#40;</span>y<span style="color: #66cc66;">,</span> fontweight<span style="color: #66cc66;">=</span><span style="color: #483d8b;">'bold'</span><span style="color: black;">&#41;</span><br />
<span style="color: #808080; font-style: italic;"># Subplot to handle date positioning</span><br />
ax <span style="color: #66cc66;">=</span> subplot<span style="color: black;">&#40;</span><span style="color: #ff4500;">111</span><span style="color: black;">&#41;</span><br />
labels <span style="color: #66cc66;">=</span> ax.<span style="color: black;">get_xticklabels</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><br />
setp<span style="color: black;">&#40;</span>labels<span style="color: #66cc66;">,</span> fontweight<span style="color: #66cc66;">=</span><span style="color: #483d8b;">'bold'</span><span style="color: #66cc66;">,</span> rotation<span style="color: #66cc66;">=</span><span style="color: #ff4500;">30</span><span style="color: #66cc66;">,</span> fontsize<span style="color: #66cc66;">=</span><span style="color: #ff4500;">10</span><span style="color: black;">&#41;</span><br />
<span style="color: #808080; font-style: italic;"># Plot as dates </span><br />
plotted <span style="color: #66cc66;">=</span> plot<span style="color: black;">&#40;</span>dated_days<span style="color: #66cc66;">,</span> counts<span style="color: #66cc66;">,</span> <span style="color: #483d8b;">'--'</span><span style="color: black;">&#41;</span><br />
setp<span style="color: black;">&#40;</span>plotted<span style="color: #66cc66;">,</span> marker<span style="color: #66cc66;">=</span><span style="color: #483d8b;">'s'</span><span style="color: black;">&#41;</span><br />
title<span style="color: black;">&#40;</span><span style="color: #483d8b;">'Posts over time'</span><span style="color: black;">&#41;</span><br />
grid<span style="color: black;">&#40;</span><span style="color: #008000;">True</span><span style="color: black;">&#41;</span></div></td></tr></tbody></table></div>
<p>Latest version in <a target="_blank" href="http://trac.samuelhuckins.com/code/browser/sysadmin/mysql/graph_wp_posts.py">my Code Trac</a>.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2009/01/one-hundredth-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving from Blogger to WordPress</title>
		<link>http://dancingpenguinsoflight.com/2008/10/moving-from-blogger-to-wordpress/</link>
		<comments>http://dancingpenguinsoflight.com/2008/10/moving-from-blogger-to-wordpress/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 05:26:20 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[web applications]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=76</guid>
		<description><![CDATA[I decided to move one of my Blogger-based, blogspot.com-hosted blogs (this one, in fact!) over to my own server, using WordPress. My requirements: Move the content easily Preserve all links After a little help from Google, I was able to &#8230; <a href="http://dancingpenguinsoflight.com/2008/10/moving-from-blogger-to-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I decided to move one of my Blogger-based, blogspot.com-hosted blogs (this one, in fact!) over to my own server, using WordPress. My requirements:</p>
<ul>
<li>Move the content easily</li>
<li>Preserve all links</li>
</ul>
<p>After a little help from Google, I was able to achieve both pretty easily. Here&#8217;s what I did.</p>
<p>For moving the content, if you are hosting your Blogger blog at blogspot.com, and your new WordPress is at least 2.1 (it better be!), then you are in for a treat. All you have to do (in your WordPress blog), is go to Manage, Import. Then select Blogger, and click Authorize. You will be redirected to a Google page, asking you if you want to grant access. Grant that, then you get sent back to your blog, and are presented with&#8230; the magic button!</p>
<div id="attachment_84" class="wp-caption alignnone" style="width: 680px"><a href="http://dancingpenguinsoflight.com/wp-content/uploads/2008/10/magic-wordpress-import-button.png"><img class="size-full wp-image-84" title="magic-wordpress-import-button" src="http://dancingpenguinsoflight.com/wp-content/uploads/2008/10/magic-wordpress-import-button.png" alt="Wordpress' magic import button" width="670" height="128" /></a><p class="wp-caption-text">Fig. 1. The Magic Button.</p></div>
<p>Just press that, and watch the progress bar fill as all your posts and comments are imported. Awesome. And then you can even set the author for the imported posts, in case your name differs between the blogs. (Say you used to go by &#8220;1337\/\/3b|\/|4ster&#8221;. It&#8217;s ok to admit it.)</p>
<p>Now you have all your content in your new WordPress blog. If you don&#8217;t give a fig about Google indexes, PageRank, links on other sites, or your horde of loyal subscribers, feel free to stop here.</p>
<p>However, with a little more effort, you can redirect all the same URLs on your old blog to their new location! The following steps are taken from <a href="http://www.techcounter.com/wordpress/301-permanent-redirect-from-blogger-beta-to-wordpress/" target="_blank">this handy guide</a>. I will put the code here as well, since that page uses annoying characters that got messed up when I pasted the blocks into an editor.</p>
<p>You will need to login to your Blogger account and go into Settings for the blog you are moving. Then go to the Template tab, and Edit HTML. If you are not on the Classic template, you might not be able to follow these instructions exactly, as the tags are different. After your opening &lt;head&gt; tag, add this line:</p>
<div class="codecolorer-container html4strict blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;refresh&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0;url=http://www.YOURSITE.com/&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>
<p>Make sure to replace YOURSITE throughout these examples with your own URL. Next, under the<br />
&lt;Blogger&gt; tag, add:</p>
<div class="codecolorer-container html4strict blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #009900;">&lt;MainOrArchivePage&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;var blog_root=http://www.YOURSITE.com/;</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;document.location.href=blog_root;</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;//--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>MainOrArchivePage&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;ItemPage&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a> <span style="color: #000066;">language</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;var process_page=&quot;http://www.YOURSITE.com/blogger_redirects.php&quot;;</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;var newpage=process_page;</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;var oldlink=&quot;&lt;$BlogItemPermalinkUrl$&gt;&quot;;</span><br />
<br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;newpage+=&quot;?p=&quot;+oldlink;</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;newpage=newpage.toLowerCase();</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;document.location.href=newpage;</span><br />
<span style="color: #808080; font-style: italic;"> &nbsp; &nbsp;//--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;">script</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>ItemPage&gt;</span></div></td></tr></tbody></table></div>
<p>Lastly, you will need to add the following file as</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">blogger_redirects.php</div></td></tr></tbody></table></div>
<p>(or if you change the name, change the name in the code above) in the root of your new WordPress&#8217; blog. Be sure to set proper owner on that as well:</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<br />
<span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DOCUMENT_ROOT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/wp-blog-header.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$search_link</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'p'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$vars</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/explode"><span style="color: #990000;">explode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$search_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$num</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/count"><span style="color: #990000;">count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$vars</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$filename</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$vars</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$num</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$slug</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.html&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$filename</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000088;">$SQL</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT posts.* FROM <span style="color: #006699; font-weight: bold;">$wpdb-&gt;posts</span> AS posts WHERE posts.post_name = '<span style="color: #006699; font-weight: bold;">$slug</span>' LIMIT 1&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$posts</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_results</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$SQL</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$posts</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp;<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000088;">$found_link</span> <span style="color: #339933;">=</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #b1b100;">else</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000088;">$found_link</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://www.YOURSITE.com/&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">?&gt;</span><br />
<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Redirecting...&lt;/title&gt;<br />
&lt;script language=&quot;javascript&quot;&gt;&lt;!-<br />
document.location.href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$found_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;;<br />
//-&gt;&lt;/script&gt;<br />
<br />
&lt;meta http-equiv=&quot;refresh&quot; content=&quot;2;url=<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$found_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<br />
<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;h1&gt;This blog has a new home!&lt;/h1&gt;<br />
&lt;h1&gt;Redirecting...&lt;/h1&gt;<br />
&lt;p&gt;You can also proceed immediately to &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$found_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$found_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;.&lt;/p&gt;<br />
&lt;p&gt;The main blog URL is &lt;a href=&quot;http://www.YOURSITE.com/&quot; mce_href=&quot;http://www.YOURSITE.com/&quot;&gt;www.YOURSITE.com&lt;/a&gt;.&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</div></td></tr></tbody></table></div>
<p>At this point, anyone hitting your old blog&#8217;s homepage, or any blog post, will be redirected to your new URL. If the script you added can find a matching page, it will send them there. If not, they at least go to your new homepage. Now to ensure that it DOES find a matching page, you can change your permalink structure (under Settings in WordPress) to match your old Blogger blog. There are two other steps you will want to take on that note:</p>
<ul>
<li>Edit permalinks</li>
<li>Handle .html Blogger URLs</li>
</ul>
<p>For these two, you can follow <a href="http://justinsomnia.org/2006/10/maintain-permalinks-moving-from-blogger-to-wordpress/" target="_blank">this guide</a> created by the maker of a WordPress plugin that does this for you! Basically you just install the plugin, run it, and add some lines to your .htaccess file.</p>
<p>That&#8217;s it! A few minutes, and you will have a shiny new more flexible WordPress blog, with all your old content, and handy redirects for Google and all your followers.</p>
<p>[Edit, 2008-10-28:] You might get a message from Blogger after taking these steps that your blog has been blocked as a spam blog! I believe it is just due to the redirection, which might indeed be used by ad sites. You just fill out a form they email you a link to, a human looks at it, and all is well.</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2008/10/moving-from-blogger-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world (Take 2)!</title>
		<link>http://dancingpenguinsoflight.com/2008/10/hello-world/</link>
		<comments>http://dancingpenguinsoflight.com/2008/10/hello-world/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 19:59:52 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/?p=1</guid>
		<description><![CDATA[Welcome! This is the new home for a blog of the same name I have kept at assistedsilicon.blogspot.com. I ended up updating it more than any of my other blogs, so I figured I would move it to my own &#8230; <a href="http://dancingpenguinsoflight.com/2008/10/hello-world/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Welcome! This is the new home for a blog of the same name I have kept at assistedsilicon.blogspot.com. I ended up updating it more than any of my other blogs, so I figured I would move it to my own server and use WordPress for more flexibility.</p>
<p>Stick around for informative articles on Linux and other open source applications!</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2008/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domainspotter Project Homepage Launched!</title>
		<link>http://dancingpenguinsoflight.com/2007/08/domainspotter-project-homepage-launched/</link>
		<comments>http://dancingpenguinsoflight.com/2007/08/domainspotter-project-homepage-launched/#comments</comments>
		<pubDate>Sun, 12 Aug 2007 07:52:00 +0000</pubDate>
		<dc:creator>Samuel Huckins</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[Domainspotter]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://dancingpenguinsoflight.com/2007/08/12/domainspotter-project-homepage-launched/</guid>
		<description><![CDATA[I have spent some time thinking about what to do with my Domainspotter program. I believe that it can be further developed into something quite interesting, and somewhat useful. As a result, I decided to create a site to house &#8230; <a href="http://dancingpenguinsoflight.com/2007/08/domainspotter-project-homepage-launched/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have spent some time thinking about what to do with my Domainspotter program. I believe that it can be further developed into something quite interesting, and somewhat useful. As a result, I decided to create a site to house its documentation, feature roadmap, source code, and other related items. This can now be viewed at <a href="http://domainspotter.org/">domainspotter.org</a>.</p>
<p>There is not a whole lot there right now, but I hope to keep adding to it. This will minimally include the feature map as I have it planned now, and access to the SVN code base. I am still working on the content for the site, but it will mainly link to my <a href="http://launchpod.homelinux.com:81/trac/code/roadmap">roadmap in Trac</a> for the project, as well as the <a href="http://launchpod.homelinux.com:81/trac/code/browser/web/domainspotter/program">code browser</a>. It will be the home for all things related to Domainspotter.</p>
<p>In the longer term, I will also create a frontend to view results from domainspotter, updated weekly. In addition, I will also be adding various statistics and graphing displays to show the results in different ways.</p>
<p>So check there soon, hopefully things of interest will be found!</p>
    ]]></content:encoded>
			<wfw:commentRss>http://dancingpenguinsoflight.com/2007/08/domainspotter-project-homepage-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

