01-22-2013, 04:30 PM | #121 |
Connoisseur
Posts: 96
Karma: 511127
Join Date: May 2012
Device: Kindle Keyboard
|
Must be my lucky week.
|
02-01-2013, 10:51 PM | #122 |
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
Hello,
I'm not sure if you're still supporting the use of the website but anyway, I tried using it earlier and I get this error message: Warning: file_get_contents(en.wikipedia.org/wiki/The_Girl_Who_Could_Fly) [function.file-get-contents]: failed to open stream: No such file or directory in /home/shinew/public_html/xray/simple_html_dom.php on line 70 Fatal error: Call to a member function find() on a non-object in /home/shinew/public_html/xray/parse_page.php on line 66 Thank you |
02-02-2013, 03:57 AM | #123 |
Connoisseur
Posts: 96
Karma: 511127
Join Date: May 2012
Device: Kindle Keyboard
|
Make sure you put "http://" at the start of each URL.
|
02-02-2013, 04:04 AM | #124 |
Junior Member
Posts: 9
Karma: 474226
Join Date: Sep 2012
Device: none
|
|
02-02-2013, 04:10 AM | #125 | ||
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
I'm not sure. I put "http" and Firefox just reloaded the page with "www" instead of "http://www" so I went ahead and just proceeded by clicking the "Get X-ray button". I got the same error message:
Quote:
I tried adding "http" to the results page and got this instead: Quote:
Last edited by kaswistry; 02-02-2013 at 04:17 AM. |
||
02-02-2013, 04:16 AM | #126 |
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
Okay. I'm having trouble getting the plugin to work.
So here's what I did: I downloaded the plugin and installed it as part of Calibre. So now "X-ray" appears as one of the items on the menu. I click create X-ray and enter details from Shelfari and Wikipedia and it creates the file. I proceeded to copy the file to the SDR folder of the ebook. This is where it gets tricky. I tried this on TWO different books: "The Girl Who Can Fly" and "The Hypnotist" . "The Girl Who Can Fly" says X-ray is unavailable for the book while "The Hypnotist" says 'This book does not contain X-ray concepts". I'm pretty sure it has ASIN and GUID as I used MobiMetaEditor to check if the books do. If it helps, I am running a jailbroken Kindle Touch at 5.3.2 with Unified Application Launcher and Custom Screensaver installed. I'm not sure if those files can affect the X-ray but I'd like to mention it anyway. What do you think did I do wrong? Last edited by kaswistry; 02-02-2013 at 04:21 AM. |
02-02-2013, 04:17 AM | #127 | ||
Connoisseur
Posts: 96
Karma: 511127
Join Date: May 2012
Device: Kindle Keyboard
|
Quote:
Quote:
|
||
02-02-2013, 04:18 AM | #128 | |
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
Quote:
Update: I used the online tool to generate X-RAY file for "The Girl Who Can Fly" and copied it back to my device. Clicked on X-ray and still got the same error message. So both the online tool and calibre is giving me the same, "X-ray is not available" error on the same book. Last edited by kaswistry; 02-02-2013 at 04:22 AM. |
|
02-02-2013, 10:33 AM | #129 |
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
My bad. I just saw that according to the book's sales page on Amazon, the book "The Girl Who Could Fly" did not have X-Ray Enabled (People should really take note of this).
However, "The Hypnotist" has it enabled. Now, I did the process again. Went to the website, keyed in the URLS with "HTTP" this time from Shelfari and Wikipedia, loaded up MobiMetaEditor to get the Unique ID (GUID), the Database Name (which appears as "name") and the ASIN. Keyed the info into the website and uploaded the X-ray file to the folder on the device. I opened the book adn clicked X-ray and look at what I got (Please see screenshot). Why doesn't it work for me? I will try other books but it's so sad that I couldn't get it to work. |
02-08-2013, 05:00 PM | #130 | |
Addict
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
Quote:
Also, a book does not have to have X-Ray enabled on the Amazon page for it to work with this. That just tells you whether or not Amazon provides an X-Ray file with the book. |
|
02-09-2013, 03:41 AM | #131 | |
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
Quote:
Kindly tell me if you would like me to try the Web version of the generator. Thank you for your help. |
|
02-09-2013, 01:23 PM | #132 | ||
Addict
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
Quote:
The format is fairly simple, each loc points to a point in the book and defines the excerpts you see on that character's page. The locations are positions within the raw html file (I've been unpacking the mobis with mobi_unpack using the -r flag to get the raw markup). The default loc that the X-Ray builder here gives is [100,100,100,6], so say that is [A,B,C,D]. A is the start position of the excerpt. B is is the length of the excerpt. C is the position within the excerpt that starts being bolded. D is the length of the bolded section. Chapters are basically the same. For example, the last part of the .asc file: "chapters":[{"name":"Chapter 1","start":1020,"end":6423},{"name":"Chapter 2","start":6423,"end":11294}],"srl":1020,"erl":11294} Same thing, just the starting and ending positions in the file. The only trick here is that srl and erl have to be there as well to have the chapters show up; srl being the start of chapters and erl being the end of course. With those defined, plus the locs for each character, you also get to see the "progress bar" that the Amazon X-Rays have. Quote:
I would definitely try the site and a totally different book instead just to see if it makes a difference, I haven't even used the Calibre plugin so I don't know how well it works... Edit: I did notice a code at the bottom of the error page which might help a bit as well. SX = X-Ray file not valid VS/VN/VO = Version number is anything but "1" WA = Issue with ASIN WG = Issue with GUID Edit #2: I hadn't thought about it, but since the Calibre version already has access to the book it could definitely be modified to add the locs. My version is a separate program done in C# so it's not nearly as convenient... Last edited by Ephemerality; 02-09-2013 at 04:49 PM. |
||
02-10-2013, 10:51 AM | #133 | |
Junior Member
Posts: 1
Karma: 470296
Join Date: Feb 2013
Device: Kindle Paperwhite
|
Quote:
It then also occurred to me that this might be much more sensible to do in Calibre, however once I started working on it, I got discouraged by the effort... I'm looking forward to seeing your implementation in action! |
|
02-10-2013, 12:13 PM | #134 | |
Member
Posts: 19
Karma: 472044
Join Date: Jan 2013
Device: Kindle Touch
|
Quote:
|
|
02-10-2013, 03:36 PM | #135 |
Addict
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
There shouldn't be anything preventing you from getting some books to work. The Hypnotist file works, for example, but you need to modify the Shelfari page to include some characters before you can create the file for it. Not sure what's going on with the Steve Jobs one, what error code did it give you?
|
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 08:02 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 |