<?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; Mephisto</title>
	<atom:link href="http://www.gilluminate.com/tag/mephisto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gilluminate.com</link>
	<description>By Jason Gill</description>
	<lastBuildDate>Sat, 28 Jan 2012 21:01:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<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="/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>
<pre>class MephistoController &lt; ApplicationController
    def index
        start_time = Time.now
        logger.info 'querying mephisto articles'
        @articles = Content.find(:all, :conditions=&gt;"article_id IS NULL")
                logger.info 'querying mephisto comments'
                @comments = Content.find(
			:all, :conditions=&gt;"article_id IS NOT NULL")
        logger.info 'querying mephisto taggings'
        @taggings = Tagging.find(:all)
        logger.info 'querying mephisto tags'
        @tags = Tag.find(:all)
        logger.info 'processing terms'
        for tag in @tags
            @wp_term = WpTerm.new
            @wp_term.term_id = tag.id
            @wp_term.name = tag.name
            @wp_term.slug = tag.name.downcase.gsub(" ","_")
            @wp_term.term_group = 0
            @wp_term.save
        end
        logger.info 'processing term relationships'
        for tagging in @taggings
            @wp_tr = WpTermRelationships.new
            @wp_tr.term_taxonomy_id = tagging.tag_id
            @wp_tr.object_id = tagging.taggable_id
            @wp_tr.save
        end
        logger.info 'processing term taxonomy'
        for tag in @tags
            c = Tagging.count(:all, :conditions=&gt;"tag_id = #{tag.id}")
            @wp_tt = WpTermTaxonomy.new
            @wp_tt.term_taxonomy_id = tag.id
            @wp_tt.term_id = tag.id
            @wp_tt.taxonomy = "post_tag"
            @wp_tt.parent = 0
            @wp_tt.count = c
            @wp_tt.save
        end
        logger.info 'processing posts'
        for article in @articles
            c = Content.count(:all, :conditions=&gt;"article_id = #{article.id}")
            @wp_post = WpPost.new
            @wp_post.ID = article.id
            @wp_post.post_author = 1
            @wp_post.post_date = article.published_at-7.hours
            @wp_post.post_date_gmt = article.published_at
            @wp_post.post_content = article.body
            @wp_post.post_title = article.title
            @wp_post.post_category = 39
            @wp_post.post_status = "publish"
            @wp_post.post_status = "open"
            @wp_post.ping_status = "closed"
            @wp_post.post_name = article.permalink
            @wp_post.post_modified = article.updated_at-7.hours
            @wp_post.post_modified_gmt = article.updated_at
            @wp_post.post_parent = 0
            @wp_post.guid = article.published_at.strftime("http://blog.gillumiante.com/%Y/%m/%d/")+article.permalink
            @wp_post.menu_order = 0
            @wp_post.post_type = "post"
            @wp_post.comment_count = c
            @wp_post.save
        end
        logger.info 'processing comments'
                for comment in @comments
            @wp_com = WpComment.new
            @wp_com.comment_ID = comment.id
            @wp_com.comment_post_ID = comment.article_id
            @wp_com.comment_author = comment.author
            @wp_com.comment_author_email = comment.author_email
            if comment.author_url == nil
                comment.author_url = ""
            end
            @wp_com.comment_author_url = comment.author_url
            @wp_com.comment_author_IP = comment.author_ip
            @wp_com.comment_date = comment.published_at-7.hours
            @wp_com.comment_date_gmt = comment.published_at
            @wp_com.comment_content = comment.body
            @wp_com.comment_karma = 0
            @wp_com.comment_approved = '1'
            @wp_com.comment_parent = 0
            @wp_com.user_id = 0
            @wp_com.save
                end
        logger.info 'finished!'
        end_time = Time.now
        @lapsed = end_time-start_time
        render :layout=&gt;false
    end
end</pre>
<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>8</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>
		<item>
		<title>Mephisto to Typo migration?</title>
		<link>http://www.gilluminate.com/2007/12/29/mephisto-to-typo-migration/</link>
		<comments>http://www.gilluminate.com/2007/12/29/mephisto-to-typo-migration/#comments</comments>
		<pubDate>Sun, 30 Dec 2007 00:02:00 +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[This Blog]]></category>

		<guid isPermaLink="false">http://blog.gillumiante.com/2007/12/30/mephisto-to-typo-migration</guid>
		<description><![CDATA[This blog you are reading is powered by Mephisto. I originally created this blog using my own code in PHP and was so tired of re-inventing the wheel that I went out and researched what I thought would be the best blogging software for my needs. I&#8217;m in love with Ruby on Rails, so one [...]]]></description>
			<content:encoded><![CDATA[<p>This blog you are reading is <a href="/2007/02/09/this-blog-now-running-mephisto-on-rails/">powered by Mephisto</a>. I originally created this blog using my own code in PHP and was so tired of re-inventing the wheel that I went out and researched what I thought would be the best blogging software for my needs. I&#8217;m in love with <a href="http://www.rubyonrails.org/">Ruby on Rails</a>, so one of my requirements was that it had to be using that technology. In my research I narrowed it down to <a href="http://www.typosphere.org/">Typo</a> and <a href="http://mephistoblog.com/">Mephisto</a>, but there wasn&#8217;t much activity over in the Typo camp and there were plenty of people blogging about their switch from Mephisto to Typo. So, I chose Mephisto thinking it was the better of the two.</p>
<p>I&#8217;ve since realized that Typo&#8217;s development activity has gone way up, and Mephisto&#8217;s has gone way down. I have been using Typo on another blog venture of mine and am in love with it. Actually, I&#8217;m loving it much more than Mephisto these days for several reasons, most of which pertain to user friendliness. I did run into an issue with trackback spam on Typo, which I&#8217;ve read as a <a href="http://sporkmonger.com/2007/1/12/blog-migration">big complaint</a> about it. But trackbacks aren&#8217;t even an option on Mephisto, so what&#8217;s the big deal?</p>
<p>The point I&#8217;m trying to make here is this. <strong>If there&#8217;s anyone out there with experience migrating from Mephisto to Typo I&#8217;d like to hear from you</strong>. There&#8217;s plenty of google hits about going from Typo to Mephisto, but nothing in the opposite direction. I&#8217;m interested in converting this blog, Tongue and Groove (once again).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2007/12/29/mephisto-to-typo-migration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google Sitemap for Mephisto</title>
		<link>http://www.gilluminate.com/2007/02/21/google-sitemap-for-mephisto/</link>
		<comments>http://www.gilluminate.com/2007/02/21/google-sitemap-for-mephisto/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 13:00:00 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Mephisto]]></category>
		<category><![CDATA[This Blog]]></category>

		<guid isPermaLink="false">http://blog.gillumiante.com/2007/02/21/google-sitemap-for-mephisto</guid>
		<description><![CDATA[I was getting frustrated with the idea of updating my sitemap.xml every time I created a new article on this blog. So I started mulling through the Mephisto Wiki and found a Mephisto Google Sitemap Plugin from Stephen Caudill which works great! I would have left a comment on his site, but it appears that [...]]]></description>
			<content:encoded><![CDATA[<p>I was getting frustrated with the idea of updating my <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=40318&amp;topic=8514">sitemap.xml</a> every time I created a new article on this blog. So I started mulling through the <a href="http://mephisto.stikipad.com/help/">Mephisto Wiki</a> and found a <a href="http://exdolo.com/2006/9/2/mephisto-google-sitemap-plugin">Mephisto Google Sitemap Plugin</a> from Stephen Caudill which works <a href="http://blog.gilluminate.com/sitemap.xml">great</a>! I would have left a comment on his site, but it appears that comments have been turned off. So I&#8217;m leaving an endorsement here. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2007/02/21/google-sitemap-for-mephisto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mephisto&#8217;s Lucid theme displaying incorrect timestamp</title>
		<link>http://www.gilluminate.com/2007/02/13/mephisto-s-lucid-theme-displaying-incorrect-timestamp/</link>
		<comments>http://www.gilluminate.com/2007/02/13/mephisto-s-lucid-theme-displaying-incorrect-timestamp/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 16:43:00 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Mephisto]]></category>
		<category><![CDATA[This Blog]]></category>

		<guid isPermaLink="false">http://blog.gillumiante.com/2007/02/13/mephisto-s-lucid-theme-displaying-incorrect-timestamp</guid>
		<description><![CDATA[I don&#8217;t know if it&#8217;s because the Lucid theme for Mephisto was ported from Typo, but it was displaying the timestamp on my entries as UTC instead of MST, which is what I told Mephisto my time zone is in the Settings. Apparently Lucid uses JavaScript to convert the timestamp into a more descriptive time [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know if it&#8217;s because the Lucid theme for Mephisto was ported from Typo, but it was displaying the timestamp on my entries as UTC instead of MST, which is what I told Mephisto my time zone is in the Settings. Apparently Lucid uses JavaScript to convert the timestamp into a more descriptive time (&#8220;about an hour ago&#8221;) if the timestamp is less than a week old and otherwise displays the date.</p>
<p>Without having enough time to really look into it, I believe Mephisto is using TZinfo Gem to convert the database timestamp to whatever you set your timezone to be in the Settings and Lucid is reading that as UTC anyway and attempting to convert it to the users current time.</p>
<p>So rather that fudging the JavaScript, I decided to reformat the date that Lucid sees and let it do it&#8217;s thing. In other words, I plugged the following into the home.liquid, index.liquid, and single.liquid templates:</p>
<p><em>from</em></p>
<pre>&lt;p class="auth"&gt;Posted
&lt;span class="typo_date" title="{{ article.published_at }}"&gt;
{{ article.published_at }}
&lt;/span&gt;&lt;/p&gt;</pre>
<p><em>to</em></p>
<pre>&lt;p class="auth"&gt;Posted
&lt;span class="typo_date" title="{{ article.published_at | date: "%a %b %d %H:%M:%S MST %Y" }}"&gt;
{{ article.published_at | date: "%a %b %d %H:%M:%S MST %Y" }}
&lt;/span&gt;&lt;/p&gt;</pre>
<p>where MST is my own time zone.</p>
<p>Hope this helps others, as I wasn&#8217;t able to find any other info about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2007/02/13/mephisto-s-lucid-theme-displaying-incorrect-timestamp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mephisto comments breaking in Apache</title>
		<link>http://www.gilluminate.com/2007/02/12/mephisto-comments-breaking-in-apache/</link>
		<comments>http://www.gilluminate.com/2007/02/12/mephisto-comments-breaking-in-apache/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 19:16:00 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mephisto]]></category>
		<category><![CDATA[This Blog]]></category>

		<guid isPermaLink="false">http://blog.gillumiante.com/2007/02/12/mephisto-comments-breaking-in-apache</guid>
		<description><![CDATA[For a minute, I thought my comments were not working or were being blocked on this site. I could post one comment, but anything after that didn&#8217;t work. I spent most of the morning trying to figure out why it was happening and thinking I&#8217;d broken something while tweaking my theme or something. I also [...]]]></description>
			<content:encoded><![CDATA[<p>For a minute, I thought my comments were not working or were being blocked on this site. I could post one comment, but anything after that didn&#8217;t work. I spent most of the morning trying to figure out why it was happening and thinking I&#8217;d broken something while tweaking my theme or something. I also wondered if it was some type of built in spam protection that I didn&#8217;t know about.</p>
<p>Then, as I was browsing through the <a href="http://mephisto.stikipad.com/">Mephisto Wiki</a> I stumbled upon the answer. The problem was stemming from the fact that I&#8217;m running Mephisto on Apache. According to the <a href="http://mephisto.stikipad.com/help/show/Developer+Tips">wiki entry</a> I found, it&#8217;s because Apache likes to add a trailing slash (/) to anything without an extension (stuff that follows the dot &#8220;.&#8221; in a filename) thinking that it must be a directory. Rails urls (and therefore Mephisto urls) use <a href="http://wiki.rubyonrails.org/rails/pages/PrettyURLs">Pretty Urls</a> instead of extensions and the like.</p>
<p>Apparently, however Mephisto is handling comments is being cached weird in Apache because of it. The easiest, and highly effective, solution is to plug the following in your public/.htaccess file somewhere (I put it at the bottom):<br />
<code>DirectorySlash Off</code><br />
Since it took me 4 hours to find that post with the answer, I thought I&#8217;d post it here as well and hopefully those looking for a solution can find it in one of the two places quicker.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2007/02/12/mephisto-comments-breaking-in-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>This blog now running Mephisto on Rails</title>
		<link>http://www.gilluminate.com/2007/02/09/this-blog-now-running-mephisto-on-rails/</link>
		<comments>http://www.gilluminate.com/2007/02/09/this-blog-now-running-mephisto-on-rails/#comments</comments>
		<pubDate>Sat, 10 Feb 2007 06:01:00 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[Akismet]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Mephisto]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[This Blog]]></category>

		<guid isPermaLink="false">http://blog.gillumiante.com/2007/02/10/this-blog-now-running-mephisto-on-rails</guid>
		<description><![CDATA[I finally made the switch! I&#8217;ve been working on migrating this old blog to Mephisto blogging system. Mephisto runs on Rails which I have blogged about before and still continue to love and swear by. The old blog I wrote in PHP a few years ago. I was just getting sick of re-inventing the wheel [...]]]></description>
			<content:encoded><![CDATA[<p>I finally made the switch!</p>
<p>I&#8217;ve been working on migrating this old blog to <a href="http://mephistoblog.com/">Mephisto</a> blogging system. Mephisto runs on <a href="http://www.rubyonrails.org/">Rails</a> which I have blogged about <a href="/tag/ruby-on-rails/">before</a> and still continue to love and swear by.</p>
<p>The old blog I wrote in PHP a few years ago. I was just getting sick of re-inventing the wheel every time I wanted to add and maintain a new feature. I wanted a new system that I didn&#8217;t have to build and maintain so that I could focus more on the actual content. Mephisto also allows you to use <a href="http://akismet.com/">Akismet</a> for spam defense. Akismet is typically used with <a href="http://wordpress.com/api-keys/">WordPress</a> and does a great job of keeping comment spam out of your blog. I was spending <em>way</em> too much time removing spam from the old blog, so Akismet is a welcome change!</p>
<p>Also, for the sake of time, I decided to download a <a href="http://themes.benlog.org/">theme for Mephisto</a> rather than design one myself. I chose the Lucid theme which is actually a port of the Lucid Typo theme (Typo is another Rails based blogging system). I have tweaked the default theme quite a bit to be better suited for <abbr title="Search Engine Optimization">SEO</abbr> as well as handle my google ads. I also changed the default color from Ruby to Mint. But if you like the Ruby better you can change it in the upper right corner. You can also change the layout from static to liquid. These options are a few of the reasons I chose the Lucid theme.</p>
<p>Last but not least, I&#8217;ve finally made the transition from using <a href="http://www.mrunix.net/webalizer/">Webalizer</a> as my tracking software, to using <a href="http://www.google.com/analytics/">Google Analytics</a> instead. Google Analytics is a robust tracking application that is comparable to expensive tracking apps like <a href="http://www.omniture.com/">Omniture</a> but is offered as a <em>free</em> service. I&#8217;m extremely impressed with Google Analytics&#8217; capabilities and how easy it is to implement. I&#8217;d recommend it for any website, big or small!</p>
<p>Let me know what you think of the new do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2007/02/09/this-blog-now-running-mephisto-on-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

