Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2011, 03:41 PM   #1
shinew
Addict
shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.
 
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
Attached Thumbnails
Click image for larger version

Name:	screenshot_2011-12-19T15_40_04-0500.gif
Views:	3246
Size:	18.5 KB
ID:	80159   Click image for larger version

Name:	screenshot_2011-12-19T15_40_12-0500.gif
Views:	2567
Size:	20.9 KB
ID:	80160   Click image for larger version

Name:	screenshot_2011-12-19T15_40_30-0500.gif
Views:	2349
Size:	26.5 KB
ID:	80161   Click image for larger version

Name:	screenshot_2011-12-19T15_40_37-0500.gif
Views:	2562
Size:	19.6 KB
ID:	80162  
Attached Files
File Type: zip xray_source_v0.23.zip (97.3 KB, 1167 views)

Last edited by shinew; 01-31-2012 at 02:55 PM.
shinew is offline   Reply With Quote
Old 11-19-2011, 05:27 PM   #2
thebestjeter
Addict
thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.thebestjeter ought to be getting tired of karma fortunes by now.
 
Posts: 204
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.
thebestjeter is offline   Reply With Quote
Old 11-19-2011, 06:31 PM   #3
Stingo
Evangelist
Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.
 
Stingo's Avatar
 
Posts: 450
Karma: 1009553
Join Date: Nov 2006
Location: Miami
Device: KPW, KT, K3, KDXG, KDX, prs505(silver) and prs500(my first e-reader)
Can you publish the script and source so others can help improve it?
Stingo is offline   Reply With Quote
Old 11-19-2011, 10:44 PM   #4
shinew
Addict
shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.
 
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.
shinew is offline   Reply With Quote
Old 11-20-2011, 12:00 PM   #5
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,130
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
will this work on the k3 or only on the touch?
BeccaPrice is offline   Reply With Quote
Old 11-20-2011, 12:18 PM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,780
Karma: 40397151
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Quote:
Originally Posted by BeccaPrice View Post
will this work on the k3 or only on the touch?
"X-Ray" is not currently supported on the Kindle 3.
HarryT is offline   Reply With Quote
Old 11-20-2011, 12:46 PM   #7
shinew
Addict
shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.
 
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
Quote:
Originally Posted by BeccaPrice View Post
will this work on the k3 or only on the touch?
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
shinew is offline   Reply With Quote
Old 11-20-2011, 05:48 PM   #8
Rizla
Wizard
Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.Rizla ought to be getting tired of karma fortunes by now.
 
Rizla's Avatar
 
Posts: 1,685
Karma: 3889899
Join Date: Nov 2010
Device: PRS-650 / Cybook Opus / Nook STR (rooted)
The character list and info on x-ray would be handy if reading the Silmarillion
Rizla is offline   Reply With Quote
Old 11-20-2011, 07:27 PM   #9
sucah
Connoisseur
sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.
 
Posts: 84
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.
sucah is offline   Reply With Quote
Old 11-20-2011, 07:39 PM   #10
shinew
Addict
shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.
 
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
Quote:
Originally Posted by sucah View Post
X-Ray generator for Kindle Touch for Mac OS only, wait for PC.
Huh? It's OS independent, works as long as you have a browser.
shinew is offline   Reply With Quote
Old 11-20-2011, 08:10 PM   #11
sucah
Connoisseur
sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.sucah ought to be getting tired of karma fortunes by now.
 
Posts: 84
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.
sucah is offline   Reply With Quote
Old 11-21-2011, 12:45 AM   #12
shinew
Addict
shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.
 
Posts: 309
Karma: 1008082
Join Date: Feb 2009
Location: NYC
Device: Kindle PW, K4 Touch, iPad2, Samsung Galaxy S II
Quote:
Originally Posted by sucah View Post
OK, double click 'index.html' under subdir xray, thank you shinew.
actually that's not how it works. To use it, just go to my site and fill in the proper info and click on "Get X-RAY" button, it'll prompt you to download the x-ray file. All you have to do then is to drop it onto your kindle.

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.
shinew is offline   Reply With Quote
Old 11-21-2011, 02:31 AM   #13
jinrowang
Junior Member
jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.
 
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
jinrowang is offline   Reply With Quote
Old 11-21-2011, 02:37 AM   #14
shinew
Addict
shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.shinew ought to be getting tired of karma fortunes by now.
 
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 02:49 AM.
shinew is offline   Reply With Quote
Old 11-21-2011, 02:55 AM   #15
jinrowang
Junior Member
jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.jinrowang ought to be getting tired of karma fortunes by now.
 
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!
jinrowang is offline   Reply With Quote
Reply

Tags
application, k5 tools, kindle, kindle tools, x-ray

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware Update AKC! - Automatic Kindle Collection Generator thermopyle Amazon Kindle 71 01-05-2012 08:24 PM
Koll3ctions - Free Kindle Collection generator (from folders) erwinke Amazon Kindle 4 09-09-2011 09:31 AM
NCX file generator (and html ToC and opf) GiorgioC Workshop 0 07-12-2011 06:55 AM
Automatic Kindle Collection Generator thermopyle Amazon Kindle 0 11-28-2010 08:07 PM
transfer android kindle file to ipod touch kindle mnicholas Amazon Kindle 2 10-17-2010 02:36 PM


All times are GMT -4. The time now is 12:33 PM.


MobileRead.com is a privately owned, operated and funded community.