View Single Post
Old 03-10-2008, 09:05 AM   #33
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,034
Karma: 3993884
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by Ortep View Post
It would also be nice if that one can be changed. But off course Tom should implement it in his tools first.

Hmmmm...there are also some entries for the 'abstract' of the book as far as I know.
It probably can be changed already. You can do
Code:
   mobi2mobi --exthtype subject --exthdata "New Subject" --outfile new.mobi in.mobi
And the type is the key in the hash:
Code:
my %typename_to_type = ("drm_server_id" => 1,
                        "drm_commerce_id" => 2,
                        "drm_ebookbase_book_id" => 3,
                        "author" => 100,
                        "publisher" => 101,
                        "imprint" => 102,
                        "description" => 103,
                        "isbn" => 104,
                        "subject" => 105,
                        "publishingdate" => 106,
                        "review" => 107,
                        "contributor" => 108,
                        "rights" => 109,    
                        "subjectcode" => 110,
                        "type" => 111,
                        "source" => 112,
                        "asin" => 113,
                        "versionnumber" => 114,
                        "sample" => 115,
                        "startreading" => 116,
                        "coveroffset" => 201,
                        "thumboffset" => 202,
                        "hasfakecover" => 203,
                        "204"          => 204,
                        "205"          => 205,
                        "206"          => 206,
                        "207"          => 207,
                        "clippinglimit" => 401,  # varies in size 1 or 4 
                        "publisherlimit" => 402,
                        "403"          => 403,
                        "cdetype"      => 501,
                        "lastupdatetime" => 502,
                        "updatedtitle"   => 503,
                        );
tompe is offline   Reply With Quote