Version Compare

Help us to improve OpenKM! Be part of the Open Source Community.
Forum rules
Please, before asking something see the documentation wiki or use the forum search function.
Post Reply
is99
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Feb 22, 2011 12:49 pm

Version Compare

Post by is99 » Tue Feb 22, 2011 12:50 pm

How about an option to see compare between different versions of the same document?
For example today in SVN I can compare even Word documents

jllort
Moderator
Moderator
Posts: 10834
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Version Compare

Post by jllort » Wed Feb 23, 2011 7:46 pm

I've added in our tracking system, it's really interesting and consider it's included in our roadmap.

You can take a look here http://issues.openkm.com/view.php?id=1558

Question, how do think must be presented to user the document comparation and which kind of document consider,might be compared ( microsoft and openoffice, text or more )

is99
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Feb 22, 2011 12:49 pm

Re: Version Compare

Post by is99 » Thu Feb 24, 2011 9:11 am

I think that the best way to do it will be like most of the program do - split the view windows to two and show old and new version and the changed text marked.
SVN, Word and many other programs I know does it the same way. I know that some programs that can't show compare at least open the correct program, for example when I try to compare two Word documents in SVN it opens Word on my PC with these two documents in compare more. I sow this post that may help:

Code: Select all

I simply use the TortoiseSVN diff scripts for this purpose. These are just .js-files, which support some formats (doc/docx, for instance) and open them, turning the application (MS Word) into compare mode. The syntax is pretty clear:
>diff-doc.js file1.doc file2.doc
About the documents type - the more the better, most important is Office documents I think.

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: Version Compare

Post by pavila » Thu Feb 24, 2011 11:39 am

But OpenKM is a web application and can't open a Word instance in the client... at least without some ActiveX or Applet work. Any idea?

is99
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Feb 22, 2011 12:49 pm

Re: Version Compare

Post by is99 » Thu Feb 24, 2011 12:08 pm

OpenKM does have pulgins for Office, I for example don't care to have ActiveX or software or anything else that I will need to install as long as I will earn Word comparing

For Simple TXT file comparing I guess it can be done without any program in the standard preview windows of OpenKM

pavila
Moderator
Moderator
Posts: 3072
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain
Contact:

Re: Version Compare

Post by pavila » Mon Feb 28, 2011 10:12 am

Yes, simple TXT comparison is easy. Office or OpenOffice file comparison is more complex. In any case ideas or source code are welcome.

Post Reply