Jerry Preeper wrote:
>
> I was thinking of writing each of the stories to temp files, running diff
> on the two, replacing the > and < with old and new and then doing the
> updates to the tables. But this seems awfully complicated for what should
> be easy. Anyone have any suggestions for a routine to compare the new
> input to the old text blob, then update the story table and the changelog
> table.
>
You can use the Algorithm::Diff module from CPAN if you're using perl.
--
Dan Koch
Webmaster
American City Business Journals
http://www.amcity.com/