View Single Post
Old 09-04-2011, 07:11 PM   #225
carmenchu
Groupie
carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.carmenchu ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 266070
Join Date: Dec 2010
Device: Win7,Win10,Lubuntu,smartphone
Wink On already esisting tools...

Foolow copy of my new post in epub Forum: Moderator may delete and/or substitute for limk, but I think it si quite relevant to the topic:
After some searching for references/playing with under-used tools:
  1. 7-zip has a feature View --> 2 panels allowing to browse separately to 2 different compressed files, and look at them as folders: and it recognizes .epub! (file header versus extension).
    Thus, open each ePub on a different pane, open META-INF, OEBPS and subfolders, and do a first comparison.
    Each single file can be double-clicked to default associated program ... or sent to default editor (notepad, SciTe...)
    DRAWBACK: have tried to call either WinDiff or WinMerge (option configure Diff program) and both rejected the path to the temp files -- maybe some further configuring needed?
  2. WinMerge, after some configuration (exportable, can be provided as example) did the job as well ... through 7-zip plugin (can be downloaded and installed from the program, if absent from the distribution).
    ADVANTAGE: Automatic call to compare files present in both ePubs, with quite sophisticated comparison options -- also a Merge ... but use at own risk!
    DRAWBACK: nothing to do with files in only one folder, even if you suspect foo.xhtml to be an alias for bar.htm, or the lacking fragment in one of two files just compared...
    MORE: WinMerge has plugins (.dll) for MSOffice and OpenOffice documents: why not for ePub??

Would priogramming guru take the thing in hand?

Anyway, some level of comparison is available...
Now, the question being to compare two bokks already in Calibre library(-ies), or one in to one ready to be added -- can, for example, OpenWith be congured to send them both to 7-zip or WinMerge -- for instance, sking for only the second path?
That would be useful, and a step in the right direction, methinks!
And it can be used as well for ,zip, .htmz and .textz...
carmenchu is offline   Reply With Quote