Re: Good way to compare/diff somewhat similar html pages? Especially, how to ignore the tag attributes.

"Matt Scilipoti" <MattS-JhxNwc093cBWk0Htik3J/[email protected]>
Newsgroups gmane.comp.programming.language-of-the-year
Message-ID <[email protected]>
>> remove from source file, then compare.Thanks.  This is helpful.  I should
be able to use Hpricot to remove them from the DOM before compare.

Also, just in case this helps, technically this is not html, it is xhtml.

Thanks again,
Matt

On Wed, May 14, 2008 at 3:31 PM, Chris Morris <[email protected]> wrote:

>   Perhaps a simple-ish custom .rb script to gsub out the bits you don't
> want for the sake of the compare, dump that to a separate file, then diff?
>
> Is there anyway to diff the DOMs?
>
> --
> Chris
> http://clabs.org/blog
>
>  
>



-- 
Matt Scilipoti | Possiamo Consulting LLC | 443-538-8656 | Coaching, Training
& Development
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.