APM: RE: Colorized HTML Diff

David Bluestein II dbii at interaction.net
Tue Jan 11 11:05:49 PST 2005


I want it like cvsweb.cgi does it. e.g.:

Green is new
Red is deleted
Blue is changed

Along with brief context. Don't want to show the whole document, which 
are two text documents build from database fields. So they could be on 
disk, but they are already in the program in scalar variable.

David

On Jan 8, 2005, at 12:10 PM, Jeremy Brooks wrote:

> Do you want a diff style diff or a comparison of the parameters from 
> param?
> Also, are the two files stored on disk or are they built by the same 
> CGI
> process in memory?
>
>
>> -----Original Message-----
>> From: austin-bounces at pm.org [mailto:austin-bounces at pm.org] On
>> Behalf Of David Bluestein II
>> Sent: Saturday, January 08, 2005 9:32 AM
>> To: austin at mail.pm.org
>> Subject: APM: Colorized HTML Diff
>>
>> Here is my question. Users are constructing a document based
>> upon HTML forms. Creating separate sections. What I want to
>> do is save each version, but be able to show a colorized HTML
>> diff of the two (just the changes, or the whole document
>> highlighting changes).
>>
>> Anyone have suggestions on best way to do this easily in Perl (CGI)?
>>
>> David
>> --------------------------------------------------------------
>> ---------
>> David H. Bluestein II
>> President & Lead Developer         dbii at interaction.net
>> ii, inc.
>> http://www.interaction.net
>>      -- Specializing in Interactive, Database Driven Websites --
>>
>> _______________________________________________
>> Austin mailing list
>> Austin at pm.org
>> http://mail.pm.org/mailman/listinfo/austin
>
> _______________________________________________
> Austin mailing list
> Austin at pm.org
> http://mail.pm.org/mailman/listinfo/austin
>
-----------------------------------------------------------------------
David H. Bluestein II
President & Lead Developer         dbii at interaction.net
ii, inc.                                                  
http://www.interaction.net
     -- Specializing in Interactive, Database Driven Websites --



More information about the Austin mailing list