<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Ruby on Rails Diff Text to HTML &lt;ins&gt; and &lt;del&gt;</title>
	<atom:link href="http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/feed/" rel="self" type="application/rss+xml" />
	<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/</link>
	<description>Mark McBride of San Francisco</description>
	<lastBuildDate>Mon, 30 Jan 2012 15:31:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: B Candler</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-202</link>
		<dc:creator>B Candler</dc:creator>
		<pubDate>Mon, 01 Jun 2009 09:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-202</guid>
		<description>Simpler than i[1..i.length-1] is i[1..-1]

Also: it is safer to use the block form of File so that in the case of exceptions, the file is closed. Even better would be to use Tempfile, and/or to put File.delete in an &#039;ensure&#039; block. Tempfile would also reduce the possibility of the same name being used twice concurrently.</description>
		<content:encoded><![CDATA[<p>Simpler than i[1..i.length-1] is i[1..-1]</p>
<p>Also: it is safer to use the block form of File so that in the case of exceptions, the file is closed. Even better would be to use Tempfile, and/or to put File.delete in an &#8216;ensure&#8217; block. Tempfile would also reduce the possibility of the same name being used twice concurrently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-201</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 01 Jun 2009 01:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-201</guid>
		<description>hi, how do this differ from the differ gem on github?

http://github.com/pvande/differ</description>
		<content:encoded><![CDATA[<p>hi, how do this differ from the differ gem on github?</p>
<p><a href="http://github.com/pvande/differ" rel="nofollow">http://github.com/pvande/differ</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySchizoBuddy</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-200</link>
		<dc:creator>MySchizoBuddy</dc:creator>
		<pubDate>Sun, 31 May 2009 20:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-200</guid>
		<description>can it be modified to show visual diff like this image
http://tiny.cc/fnbiz</description>
		<content:encoded><![CDATA[<p>can it be modified to show visual diff like this image<br />
<a href="http://tiny.cc/fnbiz" rel="nofollow">http://tiny.cc/fnbiz</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabrice</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-187</link>
		<dc:creator>Fabrice</dc:creator>
		<pubDate>Mon, 16 Mar 2009 13:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-187</guid>
		<description>Hi Mark,

Just a message to say thanks! Works like a charm :-)

Fabrice.</description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>Just a message to say thanks! Works like a charm :-)</p>
<p>Fabrice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markmcb</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-178</link>
		<dc:creator>markmcb</dc:creator>
		<pubDate>Fri, 20 Feb 2009 05:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-178</guid>
		<description>@tkramar, thanks.  It is two hyphens ... that&#039;s just WordPress thinking for me and deciding that when I type two hyphens that I really want a really long hyphen.  I corrected it.

And yeah, the file name could be anything.  I&#039;m just a random sort of guy.  And I generally avoid time-stamping files that don&#039;t need to be moved around, archived, etc., as the OS does that for me, i.e., it&#039;s redundant info.</description>
		<content:encoded><![CDATA[<p>@tkramar, thanks.  It is two hyphens &#8230; that&#8217;s just WordPress thinking for me and deciding that when I type two hyphens that I really want a really long hyphen.  I corrected it.</p>
<p>And yeah, the file name could be anything.  I&#8217;m just a random sort of guy.  And I generally avoid time-stamping files that don&#8217;t need to be moved around, archived, etc., as the OS does that for me, i.e., it&#8217;s redundant info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tkramar</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-177</link>
		<dc:creator>tkramar</dc:creator>
		<pubDate>Thu, 19 Feb 2009 21:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-177</guid>
		<description>Good idea. It might be better to append hash of the file name + current date time than to rely on randomly generated file names. Plus, on my system, a unified diff requires two hyphens

diff --unified instead of diff -unified</description>
		<content:encoded><![CDATA[<p>Good idea. It might be better to append hash of the file name + current date time than to rely on randomly generated file names. Plus, on my system, a unified diff requires two hyphens</p>
<p>diff &#8211;unified instead of diff -unified</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: markmcb</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-163</link>
		<dc:creator>markmcb</dc:creator>
		<pubDate>Wed, 26 Nov 2008 07:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-163</guid>
		<description>No, I&#039;ve not made it a plugin.  Please drop a link to yours though if you make it publicly available.  Glad this helped!</description>
		<content:encoded><![CDATA[<p>No, I&#8217;ve not made it a plugin.  Please drop a link to yours though if you make it publicly available.  Glad this helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melvin R.</title>
		<link>http://markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/#comment-162</link>
		<dc:creator>Melvin R.</dc:creator>
		<pubDate>Wed, 26 Nov 2008 06:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=243#comment-162</guid>
		<description>Looks pretty cool. If it works as advertised, this is will fantastic. In combination with the plugin that lets you save multiple variations, it will be very useful. Thank you. I&#039;ll turn it into a plugin when I get to using it in my plugin, unless you&#039;ve already done that... have you?</description>
		<content:encoded><![CDATA[<p>Looks pretty cool. If it works as advertised, this is will fantastic. In combination with the plugin that lets you save multiple variations, it will be very useful. Thank you. I&#8217;ll turn it into a plugin when I get to using it in my plugin, unless you&#8217;ve already done that&#8230; have you?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  markmcb.com/2008/11/04/ruby-on-rails-diff-text-to-html-ins-and-del/feed/ ) in 0.11410 seconds, on Feb 6th, 2012 at 10:26 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 11:26 pm UTC -->
