<?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>Inspired? No &#187; Wordpress</title>
	<atom:link href="http://blog.inspired.no/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.inspired.no</link>
	<description>Espen Antonsen writes about the web</description>
	<lastBuildDate>Tue, 13 Jul 2010 11:31:54 +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>Imagine OpenId</title>
		<link>http://blog.inspired.no/imagine-openid-289</link>
		<comments>http://blog.inspired.no/imagine-openid-289#comments</comments>
		<pubDate>Tue, 30 Dec 2008 20:56:28 +0000</pubDate>
		<dc:creator>Espen Antonsen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[OpenId]]></category>

		<guid isPermaLink="false">http://inspired.goodcheapsleep.com/?p=289</guid>
		<description><![CDATA[Imagine there&#8217;s no logins  It&#8217;s easy if you try  No passwords inside us  Outside us a provider Imagine all the logins  Living for today  Imagine there&#8217;s no logins  It isn&#8217;t hard to do  Nothing to kill or die for  And no password resets too  Imagine all the logins  Living life in peace  You may say [...]]]></description>
			<content:encoded><![CDATA[<p>Imagine there&#8217;s no logins <br />
It&#8217;s easy if you try <br />
No passwords inside us <br />
Outside us a provider<br />
Imagine all the logins <br />
Living for today </p>
<p>Imagine there&#8217;s no logins <br />
It isn&#8217;t hard to do <br />
Nothing to kill or die for <br />
And no password resets too <br />
Imagine all the logins <br />
Living life in peace </p>
<p>You may say that I&#8217;m a dreamer <br />
But I&#8217;m not the only one <br />
I hope someday you&#8217;ll join us <br />
And your login will be as one </p>
<p>Imagine one password <br />
I wonder if you can <br />
No need for secret files and password managers <br />
A brotherhood of providers <br />
Imagine all the logins <br />
Sharing one password</p>
<p>You may say that I&#8217;m a dreamer <br />
But I&#8217;m not the only one <br />
I hope someday you&#8217;ll join us <br />
And your logins will live as one</p>
<p>Using WordPress? <a href="http://wordpress.org/extend/plugins/openid/">Get the OpenID plugin.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inspired.no/imagine-openid-289/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogger Blogspot To WordPress Redirection plugin</title>
		<link>http://blog.inspired.no/wordpress-plugin-redirect-from-blogspot-permalinks-312</link>
		<comments>http://blog.inspired.no/wordpress-plugin-redirect-from-blogspot-permalinks-312#comments</comments>
		<pubDate>Sun, 28 Dec 2008 16:17:59 +0000</pubDate>
		<dc:creator>Espen Antonsen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Blogger]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://blog.inspired.no/?p=312</guid>
		<description><![CDATA[Download the plugin at WordPress.org Unfortunately Blogger can not do a proper 301 redirect. It used to do it with a custom domain earlier but now it will return a 301 redirect without a new location and display a &#8216;do you want to be redirected&#8217; message to visitors. Maybe Google will follow the link, maybe [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/blogger-blogspot-redirect/"><strong>Download the plugin at WordPress.org</strong></a></p>
<p>Unfortunately Blogger can not do a proper 301 redirect. It used to do it with a custom domain earlier but now it will return a 301 redirect without a new location and display a &#8216;do you want to be redirected&#8217; message to visitors. Maybe Google will follow the link, maybe not. Maybe the pagerank will be transferred, maybe not. I don&#8217;t know and as I have my doubts I choose another solution, which should be noted is generally not recommended but I feel it is only choice in this case.</p>
<p>Enter the META refresh.</p>
<p>Thought this was something forgotten in 1994 by everyone except news-sites who wants extra pageviews for ad impressions? Oh, no, not with Blogger. As the custom domain 301 is not acceptable solution for me using a meta refresh is the only way to redirect visitors and search engines to my new site. Hopefully Google will follow it to but since this approach is a technique often used by SEO black-hat spammers it might not properly transfer my pagerank to my new domain. Anyway, here&#8217;s how to implement:</p>
<p>Go to the layout section. Revert to a class template. Remove all content and insert the following (modify url&#8217;s before /redirect to match your new blog url):</p>
<pre name="code" class="html">&lt;html dir="&lt;$BlogLanguageDirection$&gt;"&gt;
&lt;head&gt;
 &lt;title&gt;301 Moved Permanently&lt;/title&gt;
&lt;noscript&gt;
&lt;ItemPage&gt;&lt;Blogger&gt;&lt;meta http-equiv="refresh" content="0,url=http://blog.inspired.no/redirect/?url=&lt;$BlogItemPermalinkURL$&gt;"&gt;&lt;/Blogger&gt;&lt;/ItemPage&gt;
&lt;MainOrArchivePage&gt;&lt;meta http-equiv="refresh" content="0,url=http://blog.inspired.no"&gt;&lt;/MainOrArchivePage&gt;
&lt;/noscript&gt;
&lt;script type="text/javascript"&gt;
document.location.href = "&lt;ItemPage&gt;&lt;Blogger&gt;http://blog.inspired.no/redirect/?url=&lt;$BlogItemPermalinkURL$&gt;&lt;/Blogger&gt;&lt;/ItemPage&gt;&lt;MainOrArchivePage&gt;http://blog.inspired.no&lt;/MainOrArchivePage&gt;";
&lt;/script&gt;
&lt;meta name="robots" content="noindex,follow" /&gt;
&lt;style type="text/css"&gt;
#navbar-iframe {
display: none;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;This page has moved to
&lt;ItemPage&gt;&lt;Blogger&gt;&lt;a href="<a href="http://blog.inspired.no/redirect?url=&lt;$BlogItemPermalinkURL$&gt;&quot;&gt;blog.inspired.no/redirect?url=&lt;$BlogItemPermalinkURL$&gt;&lt;/a&gt;&lt;/Blogger&gt;&lt;/ItemPage">http://blog.inspired.no/redirect/?url=&lt;$BlogItemPermalinkURL$&gt;"&gt;blog.inspired.no/redirect/?url=&lt;$BlogItemPermalinkURL$&gt;&lt;/a&gt;&lt;/Blogger&gt;&lt;/ItemPage</a>&gt;
&lt;MainOrArchivePage&gt;&lt;a href="<a href="http://blog.inspired.no&quot;&gt;blog.inspired.no&lt;/a&gt;&lt;/MainOrArchivePage">http://blog.inspired.no"&gt;blog.inspired.no&lt;/a&gt;&lt;/MainOrArchivePage</a>&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>This will redirect all request to your blogspot to your new domain to a resource called redirect. This is not found in WordPress but using two plugins we can grab the request and redirect to a proper url. The main plugin is called <a href="http://hellosam.net/project/blogger-redirector">Blogger Redirector</a> and finds the correct based on the same permalink url used in Blogspot. However since we are using a META refresh on blogspot and there is no way AFAIK to get only the path to the post with the Blogger data fields &#8211; just the entire url, we need to redirect using yet another plugin. As there was no such plugin when I started this migration I had to write my own. You can find my plugin <a href="http://wordpress.org/extend/plugins/blogger-blogspot-redirect/">&#8216;Blogger Blogspot To WordPress Redirect&#8217;</a> over at WordPress.org. Basically just install the plugin and follow the instruction for Blogger above.</p>
<p><em>But there is already a similar plugin called </em><a href="http://wordpress.org/extend/plugins/blogger-to-wordpress-redirection/"><em>&#8216;Blogger to WordPress Redirection&#8217;</em></a><em>?</em></p>
<p>It redirects to the main page like this:</p>
<p>oldblog.blogspot/my-post =&gt; newblog.com =&gt; newblog.com/my-post </p>
<p>It is basically saying that the root resource on newblog.com has moved to newblog.com/my-post. Which is not correct. Therefore I prefer using a redirect resource which will redirect to the correct post based on a url with the Blogger permalink: newblog.com/redirect/?url=http://oldblog.blogspot.com/my-post</p>
<p>Also my plugin requires no customization unlike &#8216;Blogger to WordPress Redirection&#8217; which requires you to edit the plugin php code to work.</p>
<p><em>Why not just use the &#8216;Blogger Redirector&#8217;?</em></p>
<p>The required &#8216;Blogger redirector&#8217; will work perfectly in WordPress if you set up a custom domain. However as mentioned earlier this will display a &#8216;do you want to be redirected&#8217; message to visitors and not redirect search engines crawlers. If you can live with that then keep the custom domain redirect in Blogger.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inspired.no/wordpress-plugin-redirect-from-blogspot-permalinks-312/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Migrate from Blogspot at Blogger to WordPress at custom domain</title>
		<link>http://blog.inspired.no/migrate-from-blogspot-at-blogger-to-wordpress-at-custom-domain-305</link>
		<comments>http://blog.inspired.no/migrate-from-blogspot-at-blogger-to-wordpress-at-custom-domain-305#comments</comments>
		<pubDate>Sun, 28 Dec 2008 16:16:10 +0000</pubDate>
		<dc:creator>Espen Antonsen</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Blogger]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Slicehost]]></category>

		<guid isPermaLink="false">http://blog.inspired.no/?p=305</guid>
		<description><![CDATA[I have been using Blogger and hosted my blog at Blogspot since I started blogging almost five years ago. As I signed up to get a virtual server at the excellent Slicehost last month I have now moved my blog to be hosted at my domain inspired.no and will now be using WordPress. In this [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using Blogger and hosted my blog at Blogspot since I <a href="http://blog.inspired.no/my-first-blog-5">started blogging almost five years ago</a>. As I signed up to get a virtual server at the excellent <a href="https://manage.slicehost.com/customers/new?referrer=a6c294397fe39bbd9b03281d8ae96a7c">Slicehost</a> last month I have now moved my blog to be hosted at my domain <a href="http://inspired.no">inspired.no</a> and will now be using WordPress. In this process I naturally had to migrate my Blogger blog to WordPress and redirect my Blogspot to my domain:</p>
<p>1. Export from Blogger to WordPress.</p>
<p>2. Redirect visitors from Blogspot to new domain.</p>
<p>Content migration is very easy with the excellent import tool in WordPress. Just authorize the request in WordPress in your Blogger account and WordPress will automatically import all posts and comments. Works perfect. Only two minor things to change: Internal links and your own posted comments.</p>
<p><em>Update all internal links:</em></p>
<p>Connect to your database in MySQL.</p>
<p>See if you have any internal links directly pointing to your blogspot blog (change the blogspot url to match yours):</p>
<pre name="code" class="sql">select
ID, post_title, replace( post_content,
'href="http://sleepyhead81.blogspot.com/', 'href="/')
from wp_posts where post_content like '%sleepyhead81.blogspot%';</pre>
<p>If anything needs to be changed then do the update (change the blogspot url to match yours):</p>
<pre name="code" class="sql">update wp_posts set
post_content = replace( post_content,
'href="http://sleepyhead81.blogspot.com/', 'href="/')
where post_content like '%sleepyhead81.blogspot%';</pre>
<p><em>Update your own post to be linked to your new user in WordPress:</em></p>
<pre name="code" class="sql">update wp_comments set
user_id = 1, comment_author_email = 'your@email.com'
where comment_author = 'Comment name in Blogger';</pre>
<p>That was easy. Now to the painful part. <a href="http://blog.inspired.no/wordpress-plugin-redirect-from-blogspot-permalinks-312">Read part 2 about redirect from blogspot.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inspired.no/migrate-from-blogspot-at-blogger-to-wordpress-at-custom-domain-305/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
