View Single Post
Old 03-23-2010, 01:58 PM   #20
polly
Evangelist
polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.polly ought to be getting tired of karma fortunes by now.
 
polly's Avatar
 
Posts: 454
Karma: 270240
Join Date: Aug 2009
Device: Sony PRS 650, PocketBook 360, Astak PocketPro (RIP), Tungsten T3
Quote:
Originally Posted by Starson17 View Post

If you want to keep multiple copies of the same format, then you aren't really merging records. It might be nice to have some code to shuffle metadata and formats around, but that's not really what I'm trying to write.

If the EPUB's in your case aren't identical, and you still want to do a merge, then you're going to have to decide which version to keep. That means you're going to have to open them up, view them, etc. If you're going to do all that, you might as well just delete the EPUB format you don't want before you do the merge, and the issue of overlapping formats doesn't arise.

By the time the merge hits, I would have to have looked at what I already had versus the new version and decided that the new version was better. But call me a coward. I don't delete nuttin' until I know for sure that the other one is safely in the record. None of my new stuff is in ePub and all of my new stuff is, so I suppose I can be cowardly without losing anything.


I have no interest at all in having more than one record for the same book.

Quote:
Originally Posted by Starson17 View Post
The code is rough, but is basically working now to do this. No checkboxes are required. It does not overwrite any formats or metadata in the first selected record. It brings in all the formats and metadata it can from the second selected record and then from the third, etc. If a metadata field is empty in the 1st, but not the second, it brings in the data from the 2nd, etc. For the comments metadata field, it concatenates the second record onto the first unless they are identical.
So I'm assuming then that if record#1 has the metadata I want and record#2 has the book that I want, my metadata will stay put but the book from record#2 will come over? I have all of my authors as last name, first name in both author fields. If that field conflicts with record#2, would record#1's information remain? Will it be intuitively obvious which one is record #1? I could just see myself attempting the merge and having the wrong things go away.

I think this sounds like a great improvement and really appreciate you putting the time and effort into making it happen.
polly is offline   Reply With Quote