<?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>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>Host Your Own Custom WordPress Plugin Auto-Updater</title>
		<link>http://www.gilluminate.com/2011/12/23/host-your-own-custom-wordpress-plugin-updater/</link>
		<comments>http://www.gilluminate.com/2011/12/23/host-your-own-custom-wordpress-plugin-updater/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 22:53:51 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.gilluminate.com/?p=6361</guid>
		<description><![CDATA[The Problem The biggest appeal WordPress has is it&#8217;s extensibility via plugins. But if you create a plugin for personal use or for a corporation with a very specific purpose, you may not want to go through the process of having it submitted, approved, and available for the world on the WordPress Plugin repository. So [...]]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p><a href="http://www.gilluminate.com/wp-content/uploads/wordpress_plugins_screenshot.jpg"><img class="alignright size-thumbnail wp-image-6364" src="http://www.gilluminate.com/wp-content/uploads/wordpress_plugins_screenshot-150x114.jpg" alt="WordPress Plugins" width="150" height="114" /></a>The biggest appeal WordPress has is it&#8217;s extensibility via plugins. But if you create a plugin for personal use or for a corporation with a very specific purpose, you may not want to go through the process of having it submitted, approved, and available for the world on the <a href="http://wordpress.org/extend/plugins/">WordPress Plugin repository</a>. So what&#8217;s wrong with just hosting your plugin .zip file and providing a link for convenient access? One answer: updates.</p>
<p>When a plugin is installed via the official repository, it will automatically make a call back periodically and check for updates. If updates are available, it will alert the user and provide a link to &#8220;update automatically.&#8221; With a home-grown private plugin, or a plugin kept out of the official repo. for whatever reason, there is no such lookup and link available. Until now!</p>
<h2>Don&#8217;t You Just Love Open Source?</h2>
<p>The wonderful thing about Open Source products like WordPress, is that you can see how things are working, and make your own solutions for issues like the scenario described above. After a lot of tinkering and investigation I came up with a really easy and simple solution with just 3 easy steps.</p>
<h5><strong>Step 1:</strong> Host an update file.</h5>
<p>Create a plain-text file that contains 2 parts. The first part contains the current version number of your plugin, the second part contains the URL of where your plugin .zip file can be downloaded from. Separate these parts from each other using a simple pipe. Like this:</p>
<p><code>1.2.3|http://www.mycustomrepository.com/plugins/myplugin-1.2.3.zip</code></p>
<p>Now you need to host this file somewhere accessible by WordPress. My recomendation is to include this file right within your plugin folder prior to compressing it, and host the folder along side your .zip file. So the URL for the update file in our example above might be:</p>
<p><code>http://www.mycustomrepository.com/plugins/myplugin/myplugin.chk</code></p>
<p>Notice that I added a .chk extension on the filename. The extension does not matter here, just as long as the file is saved out as plain text. Using .chk just makes it easy to distinguish. It could just as well be .txt or whatever you want.</p>
<h5><strong>Step 2:</strong> Include update checker</h5>
<p>I have developed a php file that contains all of the code necessary to make this work. You can either copy/paste its contents unchanged into your plugin&#8217;s main .php file, or I recommend just adding this file to your plugin folder and require it in your code.</p>
<a href='https://github.com/downloads/gilluminate/wp-custom-defaults/gill-updates.php' class='icon-button download-icon'><span class='et-icon'><span>Download gill-updates.php</span></span></a>
<p class="clear">You will also add some code to your plugin referencing the update check file discussed in step 1, and set a quick variable referencing your plugin.</p>
<p>To accomplish all of this, follow this example at the bottom of your plugin php:<br />
<code>//custom updates/upgrades<br />
$this_file = __FILE__;<br />
$update_check = "http://www.mycustomrepository.com/plugins/myplugin/myplugin.chk";<br />
require_once('gill-updates.php');</code></p>
<h5><strong>Step 3:</strong> Host your plugin .zip file in the location you specified above</h5>
<p>In our case, you would add the myplugin.zip file to the web host so that it will be accessible at the exact location specified in your update check file. For example:</p>
<p><code>http://www.mycustomrepository.com/plugins/myplugin-1.2.3.zip</code></p>
<h2>What now?</h2>
<p>Once you have completed the steps above you are set to allow your plugin to automatically check for updates of itself. All you need to do when you update your plugin, is edit the update file to a new version. Also, make sure the .zip file it points to contains your new version.For example:</p>
<p><code>2.0|http://www.mycustomrepository.com/plugins/myplugin-2.0.zip</code></p>
<p>That&#8217;s it! The plugin will now compare it&#8217;s current version (specified in the meta information of your plugin) to the version listed in the check file. If the check file number is greater than the number in your plugin, it will provide an &#8220;update automatically&#8221; link as though it were being hosted in the official repository, and when clicked it will update the plugin automatically with the file specified.</p>
<h2>Credit</h2>
<p>Ainun Nazieb who wrote a similar post on <a href="http://nazieb.com/797/how-to-make-your-own-plugins-themes-updating-service">How to Make Your Own Plugins/Themes Updating Service</a>. Ainun&#8217;s post claims it will work for plugins, but there wasn&#8217;t any specific information to support that claim. It was specifically related to Themes. This post certainly saved me a lot of work and started me on the right path, however.</p>
<p>The image used above was stolen from <a href="http://wp.smashingmagazine.com/2011/03/08/ten-things-every-wordpress-plugin-developer-should-know/">Smashingmagazine.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2011/12/23/host-your-own-custom-wordpress-plugin-updater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CForms CAPTCHA Not Working</title>
		<link>http://www.gilluminate.com/2011/08/09/cforms-captcha-not-working/</link>
		<comments>http://www.gilluminate.com/2011/08/09/cforms-captcha-not-working/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 16:15:41 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[CForms]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.gilluminate.com/?p=5954</guid>
		<description><![CDATA[Using Cforms II, when I select font17.ttf as the captcha font (the one that looks comic book style) it will not validate…ever. I continue to get the message &#8220;Please double-check your verification code.&#8221; If I switch fonts, it validates just fine. This has nothing to do with disabling other plugins and using default theme, as [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 205px"><a href="http://www.deliciousdays.com/wp-content/themes/dd/images/cforms/admin1sm.jpg"><img class="  " src="http://www.deliciousdays.com/wp-content/themes/dd/images/cforms/admin1sm.jpg" alt="CForms II" width="195" height="173" /></a><p class="wp-caption-text">CForms II WordPress Plugin</p></div>
<p>Using <a href="http://www.deliciousdays.com/cforms-plugin/">Cforms II</a>, when I select font17.ttf as the captcha font (the one that looks comic book style) it will not validate…ever. I continue to get the message &#8220;Please double-check your verification code.&#8221; If I switch fonts, it validates just fine.</p>
<p>This has nothing to do with disabling other plugins and using default theme, as I have attempted all of that in order to track down what was causing this issue.</p>
<p>I&#8217;m now using font4.ttf instead, so I don&#8217;t really have an issue anymore, but I&#8217;m sure there are many others out there encountering this problem not realizing it is simply a font choice causing their headaches.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2011/08/09/cforms-captcha-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using JQuery to enable optgroup in CForms</title>
		<link>http://www.gilluminate.com/2011/08/08/using-jquery-to-enable-optgroup-in-cforms/</link>
		<comments>http://www.gilluminate.com/2011/08/08/using-jquery-to-enable-optgroup-in-cforms/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 14:30:26 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[CForms]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.gilluminate.com/?p=5941</guid>
		<description><![CDATA[CForms II is an extremely robust and useful plugin for WordPress. One of the main frustrations I&#8217;ve noticed people have with it is the lack of optgroup support with select boxes. I wrote this little piece of JQuery code that will allow you to enable optgroup: if($(".cform").length!=0){ $(".cform select option").each(function(){ if($(this).val() == "groupstart"){ var label [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.deliciousdays.com/cforms-plugin/">CForms II</a> is an extremely robust and useful plugin for WordPress. One of the main frustrations I&#8217;ve noticed people have with it is the lack of optgroup support with select boxes. I wrote this little piece of JQuery code that will allow you to enable optgroup:</p>
<pre>if($(".cform").length!=0){
  $(".cform select option").each(function(){
    if($(this).val() == "groupstart"){
      var label = $(this).text();
      $(this).nextUntil('option[value|="groupend"]')
        .wrapAll("&amp;lt;optgroup label='"+label+"' /&amp;gt;");
      $(this).detach();
    }
  });
  $('option[value|="groupend"]').detach();
}</pre>
<p>Once you have that code in place, all you need to do is add <em>groupstart</em> and <em>groupend</em> codes to your cforms settings for your select box. For the <em>groupstart</em> you will add it as though it were just another option, with the label being the label you want for your group, and the value being the literal string &#8220;groupstart.&#8221; For the groupend, it doesn&#8217;t matter what the label is, as long as the value is &#8220;groupend.&#8221; It&#8217;s easiest just to use groupend as the label, and leaving the value empty so that CForms will automatically use the label as the value.</p>
<p>Here&#8217;s an example of how to form your CForms settings in conjunction with the JQuery code above:</p>
<p>Color#Choose|#Warm Colors|groupstart#red#orange#yellow#groupend#Cool Colors|groupstart#blue#green#purple#groupend#brown#black#white</p>
<p>Which will result in the following:<br />
<img class="size-full wp-image-5948" src="http://www.gilluminate.com/wp-content/uploads/optgroup-cforms.png" alt="" width="457" height="192" /></p>
<p>Let me know if this works as well for you as it did for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2011/08/08/using-jquery-to-enable-optgroup-in-cforms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wp-admin issues with Hosting a Primary Domain From a Subfolder on Bluehost</title>
		<link>http://www.gilluminate.com/2011/03/10/wp-admin-issues-with-hosting-a-primary-domain-from-a-subfolder-on-bluehost/</link>
		<comments>http://www.gilluminate.com/2011/03/10/wp-admin-issues-with-hosting-a-primary-domain-from-a-subfolder-on-bluehost/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 18:17:17 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[BlueHost]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.gilluminate.com/?p=5918</guid>
		<description><![CDATA[If you are using the instructions found on Bluehost&#8217;s Knowledgebase about How to host the Primary Domain from a subfolder for a wordpress site, you may notice that when you add wp-admin to the end of your URL it seems that can&#8217;t log in. The issue is that there are so much redirect magic going [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using the instructions found on Bluehost&#8217;s Knowledgebase about <a href="https://www.bluehost.com/cgi/help/347">How to host the Primary Domain from a subfolder</a> for a wordpress site, you may notice that when you add wp-admin to the end of your URL it seems that can&#8217;t log in. The issue is that there are so much redirect magic going on, that the correct handling of redirecting /wp-admin without a slash to /wp-admin/ with a slash doesn&#8217;t happen correctly. You can fix this by either always typing the trailing slash, bookmarking it with the slash and not typing at all, or using the following addition to the bluehost .htaccess file they provide. Add it just below the line containing &#8220;RewriteEngine on&#8221;:</p>
<pre># add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ /wp-admin/ [R=301,L]</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2011/03/10/wp-admin-issues-with-hosting-a-primary-domain-from-a-subfolder-on-bluehost/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CForms II, Bluehost and the From: address</title>
		<link>http://www.gilluminate.com/2011/02/17/cforms-ii-bluehost-and-the-from-address/</link>
		<comments>http://www.gilluminate.com/2011/02/17/cforms-ii-bluehost-and-the-from-address/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 21:14:47 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[BlueHost]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.gilluminate.com/?p=5908</guid>
		<description><![CDATA[There are several forum posts, articles, and help from bluehost attempting to explain how to get the default address on Bluehost to send to something besides user@***.bluehost.com when using CForms II plugin for WordPress. However, I had no success with following them. They all seem pretty out of date and are lacking in specific instructions. [...]]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://www.bluehostforum.com/showthread.php?15481-Addon-Domain-GoogleApps-WordPress-cForms-impossible">several</a> <a href="http://www.deliciousdays.com/cforms-forum/troubleshooting/bluehost-email-from-adddress/">forum</a> <a href="http://www.bluehostforum.com/archive/index.php/t-20181.html">posts</a>, <a href="http://www.nyayapati.com/srao/2010/02/how-to-change-admin-email-address-boxxxx-bluehost-com-to-mydomain-com-on-a-bluehost-hosted-wordpress/">articles</a>, and <a href="http://helpdesk.bluehost.com/index.php/kb/article/000206">help</a> from <a href="http://helpdesk.bluehost.com/index.php/kb/article/000214">bluehost</a> attempting to explain how to get the default address on Bluehost to send to something besides user@***.bluehost.com when using CForms II plugin for WordPress. However, I had no success with following them. They all seem pretty out of date and are lacking in specific instructions. So, I&#8217;m not trying to beat a dead horse here, I&#8217;m just trying to sum up exactly what I did that gave me success (after 3 days of trying). My method focuses on using the php.ini approach. Further, I&#8217;m using an approach that allows a different email address to be specified for various multiple domains on the same Bluehost account.</p>
<ol>
<ol>
<li>Using cPanel, go to PHP Configuration under the &#8220;software/services&#8221; section. There you will see 3 options: PHP5, PHP5 (Single php.ini), and PHP5 (FastCGI). If you are going to be using multiple domains in a single Bluehost account, make sure the first option is selected. If you are only using one domain on Bluehost or you want to use one setting to handle all of your domains, select the second option.</li>
<li>In the same PHP Configuration panel, under the install default php.ini section, select to include IonCube &amp; SourceGuardian</li>
<li>Click on install php.ini master file. If the file already exists, it will give you an error. That&#8217;s fine, we can use the newly generated file or an existing file.</li>
<li>Using either the file manager, your ftp program, or SSH, navigate to the root of public_html and make a copy of php.ini.default named php.ini</li>
<li>If you selected the first option in #1 above, copy that php.ini file into <strong>the root of your cforms plugin directory</strong>. If you selected the second option, leave that file where it is.</li>
<li>Edit the newly created php.ini file by doing a text search for sendmail_path and replacing the entire line with something similar to the following:</li>
</ol>
</ol>
<pre>sendmail_path = /usr/sbin/sendmail -t -i -f '"User Frienldy Name" &lt;friendly@yourdomain.com&gt;'</pre>
<p>(note: you are allowed to use a Friendly Name, which isn&#8217;t something I could find in any other documentation. I was just experimenting and found out it worked for me.)</p>
<ol>
<ol>
<li>Create a file named info.php and place it at the same directory as your php.ini file. In the info.php file, simply include the following php:</li>
</ol>
</ol>
<pre>&lt;?php phpinfo(); ?&gt;</pre>
<ol>
<li>View that page by visiting the correct path in your browser, whether it be yourdomain.com/info.php or if it be yourdomain.com/wp-content/plugins/cforms/info.php</li>
<li>Verify that the &#8220;Loaded Configuration File&#8221; option is showing the directory you placed your php.ini file in. If it shows /etc as part of your location, something is not right. Repeat steps 1-8 until that shows up.</li>
<li>Also using cPanel, go into the Email Accounts settings under the &#8220;Mail&#8221; section. Add friendly@yourdomain.com as a valid Bluehost email address.<br />
(note: this does NOT have to be wordpress@yourdomain.com, it can be anything as long as this matches what you placed in your php.ini file and you use the domain associated with Bluehost. <strong>Without this account, none of the settings above will work</strong>.)</li>
<li>Test your CForm to make sure it gets emailed correctly.</li>
</ol>
<p>That&#8217;s about it. I hope this helps you. If so, leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2011/02/17/cforms-ii-bluehost-and-the-from-address/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<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>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 title="WordPress" href="http://wordpress.org/">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>
<pre>&lt;Directory /var/www/html/wordpress&gt;
    Options FollowSymLinks
    AllowOverride all
&lt;/Directory&gt;</pre>
]]></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>

