<?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: A simple diff algorithm in PHP</title>
	<atom:link href="http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 16:01:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: print_r() function returns result as simple &#34;Array&#34; for diff algorithm</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-57509</link>
		<dc:creator>print_r() function returns result as simple &#34;Array&#34; for diff algorithm</dc:creator>
		<pubDate>Thu, 09 Feb 2012 16:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-57509</guid>
		<description>[...] using a diff algorithm (the Paul Butler one), which I now got working somewhat. I&#8217;ve discovered that I needed mysql_fetch_array() rather [...]</description>
		<content:encoded><![CDATA[<p>[...] using a diff algorithm (the Paul Butler one), which I now got working somewhat. I&#8217;ve discovered that I needed mysql_fetch_array() rather [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JSG</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-54062</link>
		<dc:creator>JSG</dc:creator>
		<pubDate>Sat, 14 Jan 2012 15:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-54062</guid>
		<description>Great work! BEst working of those I could find!!

One question, maybe someone more experienced can tell me how to do it? I need to exclude html-tags from comparision, so that is everything between , because there are little differences in the ID that should not be padded with &lt;del&gt;&lt;/del&gt; as they break the code....

Tnaks a lot!</description>
		<content:encoded><![CDATA[<p>Great work! BEst working of those I could find!!</p>
<p>One question, maybe someone more experienced can tell me how to do it? I need to exclude html-tags from comparision, so that is everything between , because there are little differences in the ID that should not be padded with <del></del> as they break the code&#8230;.</p>
<p>Tnaks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojciech</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-50005</link>
		<dc:creator>Wojciech</dc:creator>
		<pubDate>Tue, 20 Dec 2011 10:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-50005</guid>
		<description>Great script, thanks a lot!</description>
		<content:encoded><![CDATA[<p>Great script, thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-46848</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 02 Dec 2011 19:02:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-46848</guid>
		<description>Great job, Paul!

I found another version that choked when it got up to around 100 lines, but your algorithm chewed it up and spit it out very nicely!

Thanks!</description>
		<content:encoded><![CDATA[<p>Great job, Paul!</p>
<p>I found another version that choked when it got up to around 100 lines, but your algorithm chewed it up and spit it out very nicely!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mangal Kumar</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-43205</link>
		<dc:creator>Mangal Kumar</dc:creator>
		<pubDate>Sun, 06 Nov 2011 08:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-43205</guid>
		<description>Great job Paul!</description>
		<content:encoded><![CDATA[<p>Great job Paul!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aviram</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-40085</link>
		<dc:creator>Aviram</dc:creator>
		<pubDate>Tue, 11 Oct 2011 15:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-40085</guid>
		<description>Great job Paul! you really made my life easier.
One question, I&#039;ve been trying to change your code in a way that if someone changes the location of some text in the new version (cuts and pasts) it will not count as a change. but I&#039;m having trouble to understand who this can be done using your current implementation of diff.

could you please help me?

Thanks!</description>
		<content:encoded><![CDATA[<p>Great job Paul! you really made my life easier.<br />
One question, I&#8217;ve been trying to change your code in a way that if someone changes the location of some text in the new version (cuts and pasts) it will not count as a change. but I&#8217;m having trouble to understand who this can be done using your current implementation of diff.</p>
<p>could you please help me?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-39493</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Fri, 07 Oct 2011 11:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-39493</guid>
		<description>Nice code, thanks for this part, especially the htmlDiff is nice!

@Jeff: You need to split the text using another algorithm than explode(), f.e. preg_split(), but it&#039;s not that simple to implode those words again, because you need the &quot;word-split&quot; character again. Maybe you could use a word iterator, but this would produce a huge amount of additional code.

Cheers from Germany,
Chris</description>
		<content:encoded><![CDATA[<p>Nice code, thanks for this part, especially the htmlDiff is nice!</p>
<p>@Jeff: You need to split the text using another algorithm than explode(), f.e. preg_split(), but it&#8217;s not that simple to implode those words again, because you need the &#8220;word-split&#8221; character again. Maybe you could use a word iterator, but this would produce a huge amount of additional code.</p>
<p>Cheers from Germany,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-37605</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Tue, 13 Sep 2011 09:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-37605</guid>
		<description>Hi Paul.

First, I would like to thank you for publishing this.  I have not been able to make this work and your solution is very helpful to me.

However, I am having performance issues with this on very large strings, and I cannot figure out how to address them.  In the code comments, you said that there are ways to address these issues, and I was wondering, would you would mind sharing them?</description>
		<content:encoded><![CDATA[<p>Hi Paul.</p>
<p>First, I would like to thank you for publishing this.  I have not been able to make this work and your solution is very helpful to me.</p>
<p>However, I am having performance issues with this on very large strings, and I cannot figure out how to address them.  In the code comments, you said that there are ways to address these issues, and I was wondering, would you would mind sharing them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yarco</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-35937</link>
		<dc:creator>yarco</dc:creator>
		<pubDate>Tue, 23 Aug 2011 01:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-35937</guid>
		<description>oh, my version is line diff</description>
		<content:encoded><![CDATA[<p>oh, my version is line diff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yarco</title>
		<link>http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-35935</link>
		<dc:creator>yarco</dc:creator>
		<pubDate>Tue, 23 Aug 2011 01:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbutler.org/archives/a-simple-diff-algorithm-in-php/#comment-35935</guid>
		<description>I cant use it...dont why, continue saying $maxlen doest define. So i make one by myself, 
here it is:
http://bbish.net/05toolsproducts/66/php-simple-diff
I dont even know it is ok or not, but seems good.</description>
		<content:encoded><![CDATA[<p>I cant use it&#8230;dont why, continue saying $maxlen doest define. So i make one by myself,<br />
here it is:<br />
<a href="http://bbish.net/05toolsproducts/66/php-simple-diff" rel="nofollow">http://bbish.net/05toolsproducts/66/php-simple-diff</a><br />
I dont even know it is ok or not, but seems good.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

