<?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 development.log &#187; plugins</title>
	<atom:link href="http://craigjolicoeur.com/blog/category/plugins/feed" rel="self" type="application/rss+xml" />
	<link>http://craigjolicoeur.com/blog</link>
	<description>code with a purpose</description>
	<lastBuildDate>Sun, 19 Jun 2011 13:25:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Rails plugin install from specific git branch</title>
		<link>http://craigjolicoeur.com/blog/rails-plugin-install-from-specific-git-branch</link>
		<comments>http://craigjolicoeur.com/blog/rails-plugin-install-from-specific-git-branch#comments</comments>
		<pubDate>Tue, 19 May 2009 18:07:55 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=100</guid>
		<description><![CDATA[How to install a rails plugin from a specific tag or branch in a git repository]]></description>
			<content:encoded><![CDATA[<p>Recently while working on a Ruby on Rails plugin, I came across the need to install the plugin from a specific git branch instead of the default master branch.</p>
<pre class="brush: bash; light: true;">
./script/plugin install -h
</pre>
<p>yielded the helpful information I needed.  Last July, <a href="http://github.com/rails/rails/commit/5c086070824bf7dd2bc4c9ce97956d82ac3fa206">a patch was committed</a> to Rails that added the -r ( or &#8211;revision ) parameter.</p>
<p>The -r parameter will take either the name of a git branch or a tag string to checkout instead of the default master branch.</p>
<p>So issuing the following command:</p>
<pre class="brush: bash; light: true;">
./script/plugin install git://github.com/cpjolicoeur/my_plugin.git -r BRANCH_NAME
</pre>
<p>will checkout the BRANCH_NAME branch of the git repository.</p>
<p>Very helpful when testing and debugging new features and bugfixes in a plugin. </p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/rails-plugin-install-from-specific-git-branch/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Major FeedCache Plugin Updates</title>
		<link>http://craigjolicoeur.com/blog/major-feedcache-plugin-updates</link>
		<comments>http://craigjolicoeur.com/blog/major-feedcache-plugin-updates#comments</comments>
		<pubDate>Thu, 10 Jul 2008 18:27:28 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2008/07/10/major-feedcache-plugin-updates/</guid>
		<description><![CDATA[Over the past two days I have made several pretty significant updates to the FeedCache plugin for WordPress. Version 1.0.4 is now available at wordpress.org for you to download. The most significant changes are related to the plugin configuration and Ruby CRON script processing. FeedCache no longer accesses the file system for storing configuration and [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past two days I have made several pretty significant updates to the <a href="http://www.craigjolicoeur.com/feedcache/">FeedCache</a> plugin for WordPress.</p>
<p><a href="http://wordpress.org/extend/plugins/feedcache/">Version 1.0.4 is now available</a> at wordpress.org for you to download.</p>
<p>The most significant changes are related to the plugin configuration and Ruby CRON script processing.  FeedCache no longer accesses the file system for storing configuration and RSS feed caches.  There is now a single master configuration file and a <a href="http://www.yaml.org/">YAML</a> file with all the feed group listings.  I&#8217;m using <a href="http://spyc.sourceforge.net/">the spyc php yaml class library</a> for the YAML processing and it works as promised.</p>
<p>The Ruby CRON script now uses the more standard <a href="http://sporkmonger.com/projects/feedtools/">FeedTools gem</a> instead of the old feedparser library I was using.  FeedTools seems to be much more stable and memory-friendly then feedparser and I&#8217;m pretty happy with it.</p>
<p>Another <strong>HUGE</strong> improvement for the Ruby CRON script is the fact that all RSS feeds are now cached directly into your WordPress database instead of in plaintext cache files like previous versions.  You will need the <a href="http://rubyforge.org/frs/?group_id=182">ActiveRecord gem</a> available on your server (along with <a href="http://www.rubygems.org/">Rubygems</a>, of course).</p>
<p>If you are hosted on <a href="http://www.dreamhost.com/r.cgi?225041">Dreamhost</a>, you already have all the necessary gems installed automatically so you won&#8217;t need to install them yourself.  If you are like man and host on your own dedicated server or even a VPS, just install the gems with the usual commands:</p>
<pre class="code">
sudo gem install
</pre>
<p>I also have <a href="http://github.com/cpjolicoeur/feedcache/">FeedCache hosted up on GitHub</a> now if you are interested and are a GitHub user.  If you want to help work on FeedCache or expand/enhance the plugin, fork the code on GitHub and submit any patches to me there.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/major-feedcache-plugin-updates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small Tweak to atom_feed_helper Plugin</title>
		<link>http://craigjolicoeur.com/blog/small-tweak-to-atom_feed_helper-plugin</link>
		<comments>http://craigjolicoeur.com/blog/small-tweak-to-atom_feed_helper-plugin#comments</comments>
		<pubDate>Fri, 07 Dec 2007 14:26:23 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[atom_feed_helper]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[polymorphic]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2007/12/07/small-tweak-to-atom_feed_helper-plugin/</guid>
		<description><![CDATA[I ran into an interesting &#8220;issue&#8221; this past week while using the atom_feed_helper plugin for Rails. The plugin is designed to be a quick, easy-to-use way to generate ATOM feeds for your controllers. An interesting issue with the plugin is that it doesn&#8217;t allow you to manually set each ATOM entries link URL. The plugin [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an interesting &#8220;issue&#8221; this past week while using the atom_feed_helper plugin for Rails.</p>
<p>The plugin is designed to be a quick, easy-to-use way to generate ATOM feeds for your controllers.  An interesting issue with the plugin is that it doesn&#8217;t allow you to manually set each ATOM entries link URL.  The plugin sets the link field manually using the _polymorphic_url()_ method.</p>
<pre class="brush: ruby;">
@xml.link(:rel =&gt; 'alternate', :type =&gt; 'text/html', :href =&gt; @view.polymorphic_url(record))
</pre>
<p>My problem with this arose when trying to generate a feed for a nested resource. I wanted to generate an ATOM feed for all Comments left on a certain Question in my Rails application.  Comments are not viewed individually, but rather as a threaded list in the Show method of the Question to which they belong.  The URL generated by the _polymorphic_url()_ call didn&#8217;t quite handle this properly.</p>
<p>The more I thought about this, I can see other instances as well where you might want to manually specify a certain URL for each entry link.  So I went about making the following change to the plugin and am going to be submitting the patch to the Rails team as an enhancement.</p>
<pre class="brush: ruby;">
def entry(record, link = nil)
  @xml.entry do
    @xml.id(&quot;tag:#{@view.request.host_with_port},2007:#{record.class}#{record.id}&quot;)
    @xml.published(record.created_at.xmlschema) if record.respond_to?(:created_at)
    @xml.updated(record.updated_at.xmlschema) if record.respond_to?(:updated_at)

    yield @xml

    entry_link = link.nil? ? @view.polymorphic_url(record) : link
    @xml.link(:rel =&gt; 'alternate', :type =&gt; 'text/html', :href =&gt; entry_link)
  end
end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/small-tweak-to-atom_feed_helper-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FeedCache Nearing 1.0 Release</title>
		<link>http://craigjolicoeur.com/blog/feedcache-nearing-10-release</link>
		<comments>http://craigjolicoeur.com/blog/feedcache-nearing-10-release#comments</comments>
		<pubDate>Mon, 03 Dec 2007 19:52:36 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[FeedCache]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2007/12/03/feedcache-nearing-10-release/</guid>
		<description><![CDATA[FeedCache is nearly the version 1.0 release. Currently, version 0.9.5 is available on wordpress.org. There are two new features that will be included in the 1.0 release which should be available before the end of the year. If you have been using FeedCache and have any features you would like to see included, please let [...]]]></description>
			<content:encoded><![CDATA[<p>FeedCache is nearly the version 1.0 release.  </p>
<p>Currently, version 0.9.5 is <a href="http://wordpress.org/extend/plugins/feedcache/">available on wordpress.org</a>.  There are two new features that will be included in the 1.0 release which should be available before the end of the year.</p>
<p>If you have been using FeedCache and have any features you would like to see included, please let me know.  Also, if you&#8217;ve found any bugs or issues with the plugin, let me know that as well so I can fix the problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/feedcache-nearing-10-release/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>FeedCache v0.7 BETA</title>
		<link>http://craigjolicoeur.com/blog/feedcache-v07-beta</link>
		<comments>http://craigjolicoeur.com/blog/feedcache-v07-beta#comments</comments>
		<pubDate>Fri, 16 Nov 2007 18:04:17 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[FeedCache]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2007/11/16/feedcache-v07-beta/</guid>
		<description><![CDATA[There is a new version of the FeedCache WordPress plugin available for BETA testing for all who are interested. http://wordpress.org/extend/plugins/feedcache/download/ To get the BETA version, instead of clicking the &#8220;Download Plugin&#8221; button, click the &#8220;Development Version&#8221; link that is listed under the &#8220;Other Versions&#8221; sections. I&#8217;ve been testing it out, and I would like some [...]]]></description>
			<content:encoded><![CDATA[<p>There is a new version of the FeedCache WordPress plugin available for BETA testing for all who are interested.</p>
<p><a href="http://wordpress.org/extend/plugins/feedcache/download/">http://wordpress.org/extend/plugins/feedcache/download/</a></p>
<p>To get the BETA version, instead of clicking the &#8220;Download Plugin&#8221; button, click the &#8220;Development Version&#8221; link that is listed under the &#8220;Other Versions&#8221; sections.  I&#8217;ve been testing it out, and I would like some folks to help me test before I update and make the new 0.7 version the newest stable version.</p>
<p>The whole setup of the plugin has changed now that there are multiple sections of feeds so your best bet is to just deactivate the existing plugin and delete the whole /feedcache directory from your /wp-content/plugins directory and just install the new 0.7 as if you had never used it before.</p>
<p>Let me know if you have any trouble installing and/or using it and if the installation instructions aren&#8217;t clear enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/feedcache-v07-beta/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FeedCache WordPress Plugin Now Available</title>
		<link>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-now-available</link>
		<comments>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-now-available#comments</comments>
		<pubDate>Thu, 13 Sep 2007 01:50:58 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2007/09/12/feedcache-wordpress-plugin-now-available/</guid>
		<description><![CDATA[The FeedCache plugin is now in the official WordPress directory and can be downloaded for public use. The plugin code is stable at this point, but I&#8217;m still tweaking some error checking in the Ruby CRON script. Right now there are a few issues with HTTP timeouts and XML feed parsing that can be improved [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://wordpress.org/extend/plugins/feedcache/">FeedCache plugin is now in the official WordPress directory</a> and can be downloaded for public use.</p>
<p>The plugin code is stable at this point, but I&#8217;m still tweaking some error checking in the Ruby CRON script.  Right now there are a few issues with HTTP timeouts and XML feed parsing that can be improved upon.</p>
<p>Look for the next version of the plugin to be released sometime by next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-now-available/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FeedCache WordPress Plugin v0.3</title>
		<link>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-v03</link>
		<comments>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-v03#comments</comments>
		<pubDate>Wed, 05 Sep 2007 02:46:59 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2007/09/04/feedcache-wordpress-plugin-v03/</guid>
		<description><![CDATA[OK, So there were a few issues with v0.2. I&#8217;ve updated some bugs and released v0.3 to those who are testing it for me. Hopefully I&#8217;ll have a public release soon.]]></description>
			<content:encoded><![CDATA[<p>OK,</p>
<p>So there were a few issues with v0.2.</p>
<p>I&#8217;ve updated some bugs and released v0.3 to those who are testing it for me.  Hopefully I&#8217;ll have a public release soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-v03/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FeedCache WordPress Plugin v0.2</title>
		<link>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-v02</link>
		<comments>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-v02#comments</comments>
		<pubDate>Tue, 04 Sep 2007 00:06:29 +0000</pubDate>
		<dc:creator>Craig</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.craigjolicoeur.com/2007/09/03/feedcache-wordpress-plugin-v02/</guid>
		<description><![CDATA[I&#8217;ve finished up version 0.2 of my FeedCache WordPress Plugin. The plugin still isn&#8217;t publically available for download yet, but I anticipate releasing it in the next few days. If you are interested in seeing v0.2 in action, you can visit MMA HQ. Currently MMA HQ is using FeedCache to cache 5 different RSS feeds [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finished up version 0.2 of my <a href="http://www.craigjolicoeur.com/feedcache">FeedCache WordPress Plugin</a>.  The plugin still isn&#8217;t publically available for download yet, but I anticipate releasing it in the next few days.</p>
<p>If you are interested in seeing v0.2 in action, you can visit <a href="http://www.mmahq.com">MMA HQ</a>.  Currently MMA HQ is using FeedCache to cache 5 different RSS feeds with the cached listing updated every 30 minutes.</p>
<p>Stay tuned for the public release of the plugin and feel free to email me with any questions or feature requests.</p>
]]></content:encoded>
			<wfw:commentRss>http://craigjolicoeur.com/blog/feedcache-wordpress-plugin-v02/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

