<?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>Gilluminate &#187; WordPress</title>
	<atom:link href="http://www.gilluminate.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gilluminate.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 22:35:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How I converted Mephisto to WordPress</title>
		<link>http://www.gilluminate.com/2008/05/08/how-i-converted-mephisto-to-wordpress/</link>
		<comments>http://www.gilluminate.com/2008/05/08/how-i-converted-mephisto-to-wordpress/#comments</comments>
		<pubDate>Thu, 08 May 2008 16:36:09 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Mephisto]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.gilluminate.com/2008/05/08/how-i-converted-mephisto-to-wordpress/</guid>
		<description><![CDATA[I got a comment the other day asking how I converted to WordPress from Mephisto while keeping my comments and everything intact. If you are familiar with Ruby on Rails, this response will make sense. If you are not, I recommend learning it&#8230;then this response will make sense. In a nutshell, I used Mephisto for [...]]]></description>
			<content:encoded><![CDATA[<p>I got <a href="http://blog.gilluminate.com/2008/03/15/my-blog-is-now-running-on-wordpress/#comment-5273">a comment</a> the other day asking how I converted to WordPress from Mephisto while keeping my comments and everything intact. If you are familiar with Ruby on Rails, this response will make sense. If you are not, I recommend learning it&#8230;then this response will make sense.</p>
<p>In a nutshell, I used Mephisto for the conversion. First I spent about a week mapping Mephisto&#8217;s DB to WordPress&#8217; DB. I went straight into the Mephisto Rails project and created a new model that pointed to my newly created WordPress database. I then created a controller in Mephisto that looked exactly like this:</p>
<p>(note: if this is a pain to read, you can also view it <a href="https://docs.google.com/Doc?docid=dpvmk5b_27fr23rzd4&amp;hl=en">here</a>)</p>

<div class="wp_codebox"><table><tr id="p52732"><td class="code" id="p5273code2"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">class</span> MephistoController <span style="color:#006600; font-weight:bold;">&lt;</span> ApplicationController
    <span style="color:#9966CC; font-weight:bold;">def</span> index
        start_time = <span style="color:#CC00FF; font-weight:bold;">Time</span>.<span style="color:#9900CC;">now</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'querying mephisto articles'</span>
        <span style="color:#0066ff; font-weight:bold;">@articles</span> = Content.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:all</span>, <span style="color:#ff3333; font-weight:bold;">:conditions</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#996600;">&quot;article_id IS NULL&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
                logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'querying mephisto comments'</span>
                <span style="color:#0066ff; font-weight:bold;">@comments</span> = Content.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span>
			<span style="color:#ff3333; font-weight:bold;">:all</span>, <span style="color:#ff3333; font-weight:bold;">:conditions</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#996600;">&quot;article_id IS NOT NULL&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'querying mephisto taggings'</span>
        <span style="color:#0066ff; font-weight:bold;">@taggings</span> = Tagging.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:all</span><span style="color:#006600; font-weight:bold;">&#41;</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'querying mephisto tags'</span>
        <span style="color:#0066ff; font-weight:bold;">@tags</span> = Tag.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:all</span><span style="color:#006600; font-weight:bold;">&#41;</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'processing terms'</span>
        <span style="color:#9966CC; font-weight:bold;">for</span> tag <span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#0066ff; font-weight:bold;">@tags</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_term</span> = WpTerm.<span style="color:#9900CC;">new</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_term</span>.<span style="color:#9900CC;">term_id</span> = tag.<span style="color:#9900CC;">id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_term</span>.<span style="color:#9900CC;">name</span> = tag.<span style="color:#9900CC;">name</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_term</span>.<span style="color:#9900CC;">slug</span> = tag.<span style="color:#9900CC;">name</span>.<span style="color:#9900CC;">downcase</span>.<span style="color:#CC0066; font-weight:bold;">gsub</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot; &quot;</span>,<span style="color:#996600;">&quot;_&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_term</span>.<span style="color:#9900CC;">term_group</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_term</span>.<span style="color:#9900CC;">save</span>
        <span style="color:#9966CC; font-weight:bold;">end</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'processing term relationships'</span>
        <span style="color:#9966CC; font-weight:bold;">for</span> tagging <span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#0066ff; font-weight:bold;">@taggings</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tr</span> = WpTermRelationships.<span style="color:#9900CC;">new</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tr</span>.<span style="color:#9900CC;">term_taxonomy_id</span> = tagging.<span style="color:#9900CC;">tag_id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tr</span>.<span style="color:#9900CC;">object_id</span> = tagging.<span style="color:#9900CC;">taggable_id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tr</span>.<span style="color:#9900CC;">save</span>
        <span style="color:#9966CC; font-weight:bold;">end</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'processing term taxonomy'</span>
        <span style="color:#9966CC; font-weight:bold;">for</span> tag <span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#0066ff; font-weight:bold;">@tags</span>
            c = Tagging.<span style="color:#9900CC;">count</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:all</span>, <span style="color:#ff3333; font-weight:bold;">:conditions</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#996600;">&quot;tag_id = #{tag.id}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span> = WpTermTaxonomy.<span style="color:#9900CC;">new</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span>.<span style="color:#9900CC;">term_taxonomy_id</span> = tag.<span style="color:#9900CC;">id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span>.<span style="color:#9900CC;">term_id</span> = tag.<span style="color:#9900CC;">id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span>.<span style="color:#9900CC;">taxonomy</span> = <span style="color:#996600;">&quot;post_tag&quot;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span>.<span style="color:#9900CC;">parent</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span>.<span style="color:#9900CC;">count</span> = c
            <span style="color:#0066ff; font-weight:bold;">@wp_tt</span>.<span style="color:#9900CC;">save</span>
        <span style="color:#9966CC; font-weight:bold;">end</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'processing posts'</span>
        <span style="color:#9966CC; font-weight:bold;">for</span> article <span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#0066ff; font-weight:bold;">@articles</span>
            c = Content.<span style="color:#9900CC;">count</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:all</span>, <span style="color:#ff3333; font-weight:bold;">:conditions</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#996600;">&quot;article_id = #{article.id}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span> = WpPost.<span style="color:#9900CC;">new</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">ID</span> = article.<span style="color:#9900CC;">id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_author</span> = <span style="color:#006666;">1</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_date</span> = article.<span style="color:#9900CC;">published_at</span><span style="color:#006600; font-weight:bold;">-</span><span style="color:#006666;">7</span>.<span style="color:#9900CC;">hours</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_date_gmt</span> = article.<span style="color:#9900CC;">published_at</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_content</span> = article.<span style="color:#9900CC;">body</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_title</span> = article.<span style="color:#9900CC;">title</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_category</span> = <span style="color:#006666;">39</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_status</span> = <span style="color:#996600;">&quot;publish&quot;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_status</span> = <span style="color:#996600;">&quot;open&quot;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">ping_status</span> = <span style="color:#996600;">&quot;closed&quot;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_name</span> = article.<span style="color:#9900CC;">permalink</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_modified</span> = article.<span style="color:#9900CC;">updated_at</span><span style="color:#006600; font-weight:bold;">-</span><span style="color:#006666;">7</span>.<span style="color:#9900CC;">hours</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_modified_gmt</span> = article.<span style="color:#9900CC;">updated_at</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_parent</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">guid</span> = article.<span style="color:#9900CC;">published_at</span>.<span style="color:#9900CC;">strftime</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;http://blog.gillumiante.com/%Y/%m/%d/&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">+</span>article.<span style="color:#9900CC;">permalink</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">menu_order</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">post_type</span> = <span style="color:#996600;">&quot;post&quot;</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">comment_count</span> = c
            <span style="color:#0066ff; font-weight:bold;">@wp_post</span>.<span style="color:#9900CC;">save</span>
        <span style="color:#9966CC; font-weight:bold;">end</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'processing comments'</span>
                <span style="color:#9966CC; font-weight:bold;">for</span> comment <span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#0066ff; font-weight:bold;">@comments</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span> = WpComment.<span style="color:#9900CC;">new</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_ID</span> = comment.<span style="color:#9900CC;">id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_post_ID</span> = comment.<span style="color:#9900CC;">article_id</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_author</span> = comment.<span style="color:#9900CC;">author</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_author_email</span> = comment.<span style="color:#9900CC;">author_email</span>
            <span style="color:#9966CC; font-weight:bold;">if</span> comment.<span style="color:#9900CC;">author_url</span> == <span style="color:#0000FF; font-weight:bold;">nil</span>
                comment.<span style="color:#9900CC;">author_url</span> = <span style="color:#996600;">&quot;&quot;</span>
            <span style="color:#9966CC; font-weight:bold;">end</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_author_url</span> = comment.<span style="color:#9900CC;">author_url</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_author_IP</span> = comment.<span style="color:#9900CC;">author_ip</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_date</span> = comment.<span style="color:#9900CC;">published_at</span><span style="color:#006600; font-weight:bold;">-</span><span style="color:#006666;">7</span>.<span style="color:#9900CC;">hours</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_date_gmt</span> = comment.<span style="color:#9900CC;">published_at</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_content</span> = comment.<span style="color:#9900CC;">body</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_karma</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_approved</span> = <span style="color:#996600;">'1'</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">comment_parent</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">user_id</span> = <span style="color:#006666;">0</span>
            <span style="color:#0066ff; font-weight:bold;">@wp_com</span>.<span style="color:#9900CC;">save</span>
                <span style="color:#9966CC; font-weight:bold;">end</span>
        logger.<span style="color:#9900CC;">info</span> <span style="color:#996600;">'finished!'</span>
        end_time = <span style="color:#CC00FF; font-weight:bold;">Time</span>.<span style="color:#9900CC;">now</span>
        <span style="color:#0066ff; font-weight:bold;">@lapsed</span> = end_time<span style="color:#006600; font-weight:bold;">-</span>start_time
        render <span style="color:#ff3333; font-weight:bold;">:layout</span><span style="color:#006600; font-weight:bold;">=&gt;</span>false
    <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

<p>I then proceeded to visit the /mephisto/index  page on my mephisto blog, which fired this baby off. It took all of about 9 seconds to complete.</p>
<p>I realize the irony of using Mephisto in order to abandon it. But in the end, I wasn&#8217;t switching from the Rails based app because of Rails, but because of the app. I am still in love with rails and as you can see, this project would have taken me a lot longer to accomplish had I attempted to write it in PHP, the language of WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2008/05/08/how-i-converted-mephisto-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress pretty permalinks working on WestHost</title>
		<link>http://www.gilluminate.com/2008/03/19/wordpress-pretty-permalinks-working-on-westhost/</link>
		<comments>http://www.gilluminate.com/2008/03/19/wordpress-pretty-permalinks-working-on-westhost/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 03:58:40 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[WestHost]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.gilluminate.com/2008/03/19/wordpress-pretty-permalinks-working-on-westhost/</guid>
		<description><![CDATA[I had a hard time figuring out how to get the pretty url permalinks working for WordPress on WestHost, but I finally found the solution. It was weird at first because WordPress actually was writing to the .htaccess file correctly, but when I tried it out in a browser I was still getting 404&#8242;s. After [...]]]></description>
			<content:encoded><![CDATA[<p>I had a hard time figuring out how to get the pretty url permalinks working for <a href="http://wordpress.org/" title="WordPress">WordPress</a> on <a href="http://affiliates.westhost.com/z/14/CD1084/">WestHost</a>, but I finally found the solution. It was weird at first because WordPress actually was writing to the .htaccess file correctly, but when I tried it out in a browser I was still getting 404&#8242;s. After a long extensive search on the WordPress website, I finally found that I had to add the following to my httpd.conf file:</p>

<div class="wp_codebox"><table><tr id="p52694"><td class="code" id="p5269code4"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Directory</span> /var/www/html/wordpress<span style="color: #000000; font-weight: bold;">&gt;</span></span>
        Options FollowSymLinks
        AllowOverride all
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Directory<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2008/03/19/wordpress-pretty-permalinks-working-on-westhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Blog is Now Running on WordPress</title>
		<link>http://www.gilluminate.com/2008/03/15/my-blog-is-now-running-on-wordpress/</link>
		<comments>http://www.gilluminate.com/2008/03/15/my-blog-is-now-running-on-wordpress/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 00:11:53 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Mephisto]]></category>
		<category><![CDATA[This Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.gilluminate.com/2008/03/15/my-blog-is-now-running-on-wordpress/</guid>
		<description><![CDATA[Well, it&#8217;s my second migration. First I built this blog on my own using php. Then I decided to venture out and stop re-inventing the wheel and use a real blogging software tool. I chose Mephisto at the time (about a year ago), but I eventually regretted that and am now completely content with WordPress. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s my second migration. <a href="http://blog.gilluminate.com/2004/10/21/welcome/">First</a> I built this blog on my own using php. Then I decided to venture out and stop re-inventing the wheel and use a real blogging software tool. I chose Mephisto at the time (<a href="http://blog.gilluminate.com/2007/02/09/this-blog-now-running-mephisto-on-rails/">about a year ago</a>), but I <a href="http://blog.gilluminate.com/2007/02/12/mephisto-comments-breaking-in-apache/">eventually</a> <a href="http://blog.gilluminate.com/2007/12/29/mephisto-to-typo-migration/">regretted</a> <a href="http://blog.gilluminate.com/2007/02/13/mephisto-s-lucid-theme-displaying-incorrect-timestamp/">that</a> and am now completely content with <a href="http://wordpress.org">WordPress</a>. I doubt I will ever switch again. I have researched it well this time and talked to professional bloggers who have researched it well. WordPress is king.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2008/03/15/my-blog-is-now-running-on-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
