CodingText comparison (.NET)

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Ally  
 To:  ALL
33459.1 

I thought I'd posted this before, but I can't find it. Odd.

 

Does anyone have any bright ideas about how to go about comparing two blocks of text, in the same way that Wikipedia does when you look at two different versions of a page? I literally don't know where to start.

 

Oh, and I'm using C#, should it matter!

0/0
 Reply   Quote More 

 From:  Kenny J (WINGNUTKJ)  
 To:  Ally     
33459.2 In reply to 33459.1 
Actually coding it, or just one of the many tools that'll do it for you like WinDiff?

Kenny
The Wisdom of IMDB Messageboards:
One Night At McCool's

There's one thing I don't understand: Why would Randy and Jewel, for some reason, have sex right at the beginning of the movie?

-- Um, like, are you kidding? Randy sees the golden opportunity (like finding plutonium by accident) and takes it.
0/0
 Reply   Quote More 

 From:  sinkywinky  
 To:  Ally     
33459.3 In reply to 33459.1 
You could find the code mediawiki uses and rip it off use it as a reference.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  sinkywinky     
33459.4 In reply to 33459.3 
He could download the code MediaWiki uses and use it perfectly guiltlessly, because it's Open Source and the whole fucking point of OS is to share knowledge.

Although with him wanting to do it with C#/.NET, it might be more useful to look at the WinMerge source instead, since that's a Windows-based product rather than a PHP one, so probably requires less translation of the ideas.
0/0
 Reply   Quote More 

 From:  Ally  
 To:  Kenny J (WINGNUTKJ)     
33459.5 In reply to 33459.2 

Coded, unfortunately- I need to incorporate it into a web page deployment tool.

 

Apparently the source of both WinDiff and WinMerge are available, so I might take a peek in there and see how things are done.

 

Cheers, all!

0/0
 Reply   Quote More 

 From:  Ally  
 To:  ALL
33459.6 

Apparently this is a .NET component what'll do it:

 

http://www.palmbytes.de/content/dotnet/ndiff.htm

 

Where'd I leave that Babelfish...

0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Ally     
33459.7 In reply to 33459.6 
http://64.233.179.104/translate_c?hl=en&langpair=de%7Cen&u=http://www.palmbytes.de/content/dotnet/ndiff.htm :)
0/0
 Reply   Quote More 

 From:  Ben (BENLUMLEY)  
 To:  Ally     
33459.8 In reply to 33459.5 
has no one already invented a web page deployment tool? or do you have some requirements that no-one is likely to have covered.
0/0
 Reply   Quote More 

 From:  Ally  
 To:  Ben (BENLUMLEY)     
33459.9 In reply to 33459.8 
We have a lot of silly requirements, that no-one has covered in any software:

  • Must work with Contribute Publishing Service
  • Must be usable by people who don't have a clue
  • All sorts of gay stuff with meta data
  • Custom replacement of header text with images


All a shower of crap, essentially.
0/0
 Reply   Quote More 

Reply to All    
 

1–9

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats