View Single Post
Old 01-23-2011, 05:38 PM   #84
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by Mackx View Post
Do you want to edit the real metadata inside the document or the title/author that the DR is showing? At this moment every time a document is displayed with UDS, the metadata is extracted and the title and author are updated in the global.db on the DR. The advantage of this is that you do not have to type the title/author yourself but that they are automatically extracted. However, when the metadata in the document is incorrect, it keeps displaying the incorrect data, even when you (manually) changed the data in the global.db file. (probably you new this already)
I made a change to metadb so that it checks for a specific value inside of the tag-attribute. Based on that it can prevent updates to title and author. So the first time the document is opened UDS extracts any metadata and stores it into global.db. I created a new menu entry that allows changing title, author and tag. So if the extracted value are not correct, they can be manually updated and protected by adding a special keyword to the tag. (I can imagine a future version that uses a checkbox and adds the keyword.)
(only available in the next update of MackxPatch :-)
Call me lazy, but to be completely honest I have to say that I think this is not a task for the DR. If file metadata is incorrect, go and fix it outside the ereader.
[In fact I started a .pdf metadata editor some time ago...]

Anyway, it would be a nice feature to have, but not on top of my ideas.

Quote:
Originally Posted by Mackx View Post
You also mention publisher, added date and pages, what are you planning to do with these on the DR?
Oh, nothing. Those are the fields UDS shows in the info window.

Iņigo
Iņigo is offline   Reply With Quote