11-19-2011, 04:41 PM | #1 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
X-Ray generator for Kindle Touch
well, not quite... but pretty close
I really like the X-Ray feature on the new Kindle Touch, but it's only limited to Amazon purchased books, and not all the books have it on Amazon(publisher permission required). Last night I decided to look into how X-Ray works and see what I could do to bring similar features to any book. So after working on it for few hours, I wrote a script to automatically grab the book info from Shelfari, parse it, then write to the X-RAY format. I then just drop it into the Kindle via USB and Bam there is X-RAY like feature for every book I own! Basically it shows: 1) Characters, Settings & Locations, Glossary, Themes & Symbolism sections from Shelfari.com; 2) Optionally shows the introduction paragraph from Wikipedia page and a direct link to the book's Wikipedia page. The info it gathers is little different from X-Ray in that it grabs all the terms(except the optional Wikipedia intro/link) from Shelfari as opposed to the real X-Ray which queries mostly from Wikipedia. For some books I actually find the results to be more relevant to the real thing! The only limitation is that it does not display the location of the words/terms. As you can see in the image bellow, the graphic bar is spoofed, not really functioning... Granted it doesn't really show the "bone" of the book, but all the handy references are there and easily accesible, which is what I mainly use X-Ray for anyway. Overall I'm pretty happy with the result! ::TO SUMMARIZE:: Link to the X-Ray generator -> http://www.xunwang.me/xray/ Features: - Get Character Info, Seting & Locations, Organization, Glossary, Themes & Symbolism from shelfari.com - Every character/term gathered above provides a direct wikipedia page link if it's a full match by clicking on "Full Wikipedia Article", otherwise you can browse the relevant wikipedia entries. - Optionally display the intro for the book's wikipedia page(if it's available), and provide a direct link to its wikipedia entry. - Works for both Personal Documents & USB side loaded ebooks(MOBI & AZW format). Limitation: - it does not provide the book's location info for the characters/terms ===========UPDATE 11/20/11 ================== I've tested several books without issues, but I can't guarantee it's bug free. I wrote it in PHP because this way I can access & use it from anywhere with just a browser. I also added a brief instruction on the page but if there're any questions, feel free to ask. You'll most likely need mobi2mobi or Java Mobi Metadata Editor to get the ASIN, GUID & DB name, especially for the GUID. I've also attached the script, feel free to modify it anyway you want because I'm sure it's kinda sloppy, it was a quick & dirty effort. Just please upload the revision in case anyone feels like making any improvement. Happy reading! ===========UPDATE 11/21/11 v0.2================ - added wikipedia character/term link - added terms from Organization section from shefari book page - updated instruction ===========UPDATE 11/22/11 v0.22================ - fixed bug for Calibre generated ASIN - updated Features - updated instruction ===========UPDATE 11/26/11 v0.23================ - added built-in decimal to hex converter for the GUID so there is no need to use an external converter. It takes both dec & hex values - updated REFERENCE to reflect the change Last edited by shinew; 01-31-2012 at 03:55 PM. |
11-19-2011, 06:27 PM | #2 |
Addict
Posts: 208
Karma: 757546
Join Date: Sep 2010
Device: Kindle 3 Wifi and Kindle DX Graphite
|
Awesome! Do you think do you is there any way to add the location? That would be great for reference.
|
Advert | |
|
11-19-2011, 07:31 PM | #3 |
Fanatic
Posts: 574
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
|
Can you publish the script and source so others can help improve it?
|
11-19-2011, 11:44 PM | #4 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
Link to my XRAY generator added to my original post.
|
11-20-2011, 01:00 PM | #5 |
Wizard
Posts: 2,145
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
|
will this work on the k3 or only on the touch?
|
Advert | |
|
11-20-2011, 01:18 PM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
11-20-2011, 01:46 PM | #7 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
It's K4 Touch only since it's the only model that is capable of loading the x-ray file. Just updated the page that includes a link to download Kindle Mobi2Mobi GUI for Windows
|
11-20-2011, 06:48 PM | #8 |
Member Retired
Posts: 3,183
Karma: 11721895
Join Date: Nov 2010
Device: Nook STR (rooted) & Sony T2
|
The character list and info on x-ray would be handy if reading the Silmarillion
|
11-20-2011, 08:27 PM | #9 |
Connoisseur
Posts: 89
Karma: 485235
Join Date: Aug 2011
Location: Asia
Device: KK 3G, KT 3G, KPW, Odyssey HD, T1, 350, Glo, Mini, Aura HD, KPW2 3G
|
X-Ray generator for Kindle Touch for Mac OS only, wait for PC.
|
11-20-2011, 08:39 PM | #10 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
|
11-20-2011, 09:10 PM | #11 |
Connoisseur
Posts: 89
Karma: 485235
Join Date: Aug 2011
Location: Asia
Device: KK 3G, KT 3G, KPW, Odyssey HD, T1, 350, Glo, Mini, Aura HD, KPW2 3G
|
OK, double click 'index.html' under subdir xray, thank you shinew.
|
11-21-2011, 01:45 AM | #12 | |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
Quote:
The attached file is really for people who are interested in improving it in anyway. If you really prefer run it locally, you'll need to have an Apache server running on your computer, open the the index.html through the browser and not by double clicking it. |
|
11-21-2011, 03:31 AM | #13 |
Junior Member
Posts: 2
Karma: 471336
Join Date: Nov 2011
Device: kindle
|
Don't know what i'm doing wrong...
I've been trying to get X-ray function with your method for last 3hrs...
Unfortunately, It's not working for me... I'm using mobi2mobi to get: ASIN, Database Name, and GUID (convert to hex following your provided link) ASIN: EXTH item: 113 - ASIN - 36 - 9f71ae3e-53e8-408a-96e5-3e8f3c323d25 (I delete "ASIN - 36 -" portion and delete "-" from 9f71ae3e-53e8-408a-96e5-3e8f3c323d25) Database Name: Database Name: Name_Appears_In_Mobi2mobi GUID: MOBIHEADER uniqid: 655219108 (I use decimal to hex converter and get this --> "270DD9A4") As for Shelfari and Wiki, I just google to link and use the URL. I get xray file as: (XRAY.entities.9F71AE3XXXXXXXXXXXXXXXXX...asc) and I place them on my document/Book_Title.sdr folder I'm not sure what I'm doing wrong, but I only see "Sync" button instead of "X-ray" button at Kindle touch Menu. Could you give me some direction to solve the issue? Thanks |
11-21-2011, 03:37 AM | #14 |
Addict
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
|
is that from you personal document or you side loaded from USB?
If you don't mind, you can send me your book file(mobi or azw) to my email, I can check it out. Just sent you a PM with my email address in it. Last edited by shinew; 11-21-2011 at 03:49 AM. |
11-21-2011, 03:55 AM | #15 |
Junior Member
Posts: 2
Karma: 471336
Join Date: Nov 2011
Device: kindle
|
Thanks Shinew
I just emailed you with attachment of .mobi file I've been working on.
Thanks for quick reply! you are the best! |
Tags |
application, k5 tools, kindle, kindle tools, x-ray |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update AKC! - Automatic Kindle Collection Generator | thermopyle | Amazon Kindle | 79 | 05-13-2017 09:02 PM |
Koll3ctions - Free Kindle Collection generator (from folders) | erwinke | Amazon Kindle | 4 | 09-09-2011 10:31 AM |
NCX file generator (and html ToC and opf) | GiorgioC | Workshop | 0 | 07-12-2011 07:55 AM |
Automatic Kindle Collection Generator | thermopyle | Amazon Kindle | 0 | 11-28-2010 09:07 PM |
transfer android kindle file to ipod touch kindle | mnicholas | Amazon Kindle | 2 | 10-17-2010 03:36 PM |