Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2013, 01:02 PM   #301
mjwilson
Connoisseur
mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.
 
Posts: 96
Karma: 511127
Join Date: May 2012
Device: Kindle Keyboard
Quote:
Originally Posted by Belenos View Post
It worked, thanks
Great, thanks for letting me know.

Quote:
Originally Posted by doremifaso View Post
I am thinking if it is possible to generate an X-ray file using you own text file. Meaning, not getting any data from Shelfari or Wikipedia, just a user defined text file.
For the plug-in at least, I'm guessing you could create an HTML file which had the same structure as a Shelfari/Wikipedia page, and point the plug-in at that.
mjwilson is offline   Reply With Quote
Old 10-21-2013, 01:30 PM   #302
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by mjwilson View Post
Hopefully this resolves the 'mobi8' issue.
New version of the stand-alone application available here: https://xray-builder.googlecode.com/...1.40-win32.rar

Let me know if this doesn't fix the issue.

Thanks for the report

Last edited by Ephemerality; 10-21-2013 at 04:21 PM.
Ephemerality is offline   Reply With Quote
Advert
Old 11-09-2013, 09:51 PM   #303
jmerhar
Junior Member
jmerhar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite
Hi,

I have a very strange problem with my generated x-ray files. Most of the time it doesn't work, i.e. it shows a "No X-Ray found" message. It looks like it only works when the complete term is printed out where you click on it. For instance, it finds the term if you click on "Osmund" or "Kettleback" when both words are used together in a sentence: "...Osmund Kettleback...". However, if only the word "Osmund" or "Kettleback" appears by itself, it shows a "No X-Ray found" message. This is very frustrating, since most of the time, the characters' names don't appear in full. It's either just the first or last name.

Furthermore, I have no X-Ray button in the toolbar. In the rare instances where looking up a word works, I can click on "Open X-Ray" to see all the terms on the current page/chapter/book. However, since it doesn't work most of the time and there's no X-Ray button at the top, I have no way of getting to this screen. If only there was a button I could click to open this screen on any page, it would not be such a big deal that the word lookup doesn't work as expected, since I could easily see all the terms on the current page.

Have I missed something obvious? Is there a way to make partial terms work, or display the X-Ray button in the toolbar? Any help would be greatly appreciated.

Last edited by jmerhar; 11-09-2013 at 10:20 PM.
jmerhar is offline   Reply With Quote
Old 11-10-2013, 03:32 AM   #304
mjwilson
Connoisseur
mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.
 
Posts: 96
Karma: 511127
Join Date: May 2012
Device: Kindle Keyboard
Quote:
Originally Posted by jmerhar View Post
Hi,

I have a very strange problem with my generated x-ray files. Most of the time it doesn't work, i.e. it shows a "No X-Ray found" message. It looks like it only works when the complete term is printed out where you click on it. For instance, it finds the term if you click on "Osmund" or "Kettleback" when both words are used together in a sentence: "...Osmund Kettleback...". However, if only the word "Osmund" or "Kettleback" appears by itself, it shows a "No X-Ray found" message. This is very frustrating, since most of the time, the characters' names don't appear in full. It's either just the first or last name.
You can use an "aliases" file for this. You'd need to create a text file as described at https://www.mobileread.com/forums/sho...&postcount=175
mjwilson is offline   Reply With Quote
Old 11-10-2013, 08:50 AM   #305
jmerhar
Junior Member
jmerhar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by mjwilson View Post
You can use an "aliases" file for this. You'd need to create a text file as described at https://www.mobileread.com/forums/sho...&postcount=175
I see, thanks.

I recreated the x-ray file, but this time I put "aliases.txt" in the Aliases file box. The aliases file was created as expected. So, now I need to edit this file, but what do I do with it afterwards? The post you linked to mentions an /ext/ folder, but I see no such folder on my kindle. Do I need to rerun the plugin again and it will integrate the aliases into the x-ray file?

Also, what happens if two or more names have the same alias? Will the x-ray feature show all the matching names when I click on it in the book? If it works like that, is there a simple way to automatically create an aliases file that lists all the words in each term as aliases, or do I need to enter all 600+ names manually?
jmerhar is offline   Reply With Quote
Advert
Old 11-10-2013, 08:54 AM   #306
mjwilson
Connoisseur
mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.mjwilson ought to be getting tired of karma fortunes by now.
 
Posts: 96
Karma: 511127
Join Date: May 2012
Device: Kindle Keyboard
Quote:
Originally Posted by jmerhar View Post
I see, thanks.

I recreated the x-ray file, but this time I put "aliases.txt" in the Aliases file box. The aliases file was created as expected. So, now I need to edit this file, but what do I do with it afterwards? The post you linked to mentions an /ext/ folder, but I see no such folder on my kindle. Do I need to rerun the plugin again and it will integrate the aliases into the x-ray file?
Sorry, there's a bit of confusion caused by the fact that there are different versions of software used for generating XRay files. The post I linked to is describing a command-line version and I guess you're using the Calibre plug-in.

For the Calibre plug-in, yes, you can just edit the file manually, then re-run the X-Ray creation using the edited file, and you'll get a new X-Ray file using the aliases.


Quote:
Originally Posted by jmerhar View Post
Also, what happens if two or more names have the same alias? Will the x-ray feature show all the matching names when I click on it in the book? If it works like that, is there a simple way to automatically create an aliases file that lists all the words in each term as aliases, or do I need to enter all 600+ names manually?
I don't know what'll happen here, I don't imagine it'll work terribly well.
mjwilson is offline   Reply With Quote
Old 11-10-2013, 09:02 AM   #307
jmerhar
Junior Member
jmerhar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by mjwilson View Post
Sorry, there's a bit of confusion caused by the fact that there are different versions of software used for generating XRay files. The post I linked to is describing a command-line version and I guess you're using the Calibre plug-in.

For the Calibre plug-in, yes, you can just edit the file manually, then re-run the X-Ray creation using the edited file, and you'll get a new X-Ray file using the aliases.

I don't know what'll happen here, I don't imagine it'll work terribly well.
OK, thanks. I'll try what happens with duplicated aliases, and if it doesn't work well, I'll create a file with unique aliases only.

And thank you for creating this great plugin, it works very well.
jmerhar is offline   Reply With Quote
Old 11-10-2013, 09:37 AM   #308
jmerhar
Junior Member
jmerhar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by mjwilson View Post
I don't know what'll happen here, I don't imagine it'll work terribly well.
So, I've tried it and it works fairly well. It seems to only show the last term it finds with the matching alias, but that's ok as long as it doesn't break anything.

I've noticed though that the shelfari page already includes lots of aliases, for example:
Quote:
Arya Stark: "Princess Arya" - "Arya Underfoot" - "Arya Horseface" - "Arry" - "Weasel" - "Nan" - "Squab" - "Salty" - 10 years old; Youngest daughter of Eddard Stark and Catelyn Tully; Looks like her father and has brown hair and grey eyes; Is missing and presumed dead; Recently caught a ship sailing for Braavos; Meanwhile an impostor Arya has been betrothed to Ramsay Snow
What would be great is if the plugin could use these to create the initial aliases file. For the example above, it would look something like this:
Arya Stark|Princess Arya,Arya Underfoot,Arya Horseface,Arry,Weasel,Nan,Squab,Salty

Would it be possible to add such a feature in a future version?
jmerhar is offline   Reply With Quote
Old 11-10-2013, 09:49 AM   #309
jmerhar
Junior Member
jmerhar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jmerhar View Post
So, I've tried it and it works fairly well. It seems to only show the last term it finds with the matching alias, but that's ok as long as it doesn't break anything.
I spoke too soon. It worked fine when I tried it with just two aliases. Now that I've created the whole file, it seems to have crashed my kindle and I had to restart it.

I guess the problem is that the generated file is now suddenly more that 5MB, which is probably too large for kindle to handle.

(I attached the generated files)
Attached Files
File Type: zip x-ray.zip (1.59 MB, 176 views)
jmerhar is offline   Reply With Quote
Old 11-10-2013, 11:57 AM   #310
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by jmerhar View Post
I've noticed though that the shelfari page already includes lots of aliases, for example:

What would be great is if the plugin could use these to create the initial aliases file.
The main issue there is that Shelfari is user-created content, so there would be a lot of entry-editing necessary as well as a consensus on the format they should be in.
In some cases the aliases aren't worth having in a Wiki entry either and are only good for competitionist-sake, so it would be difficult to entirely bypass the alias process. Either way you're editing and doing some digging through book content.
Certainly possible by any means, though.
Ephemerality is offline   Reply With Quote
Old 11-10-2013, 05:13 PM   #311
jmerhar
Junior Member
jmerhar began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by Ephemerality View Post
The main issue there is that Shelfari is user-created content, so there would be a lot of entry-editing necessary as well as a consensus on the format they should be in.
In some cases the aliases aren't worth having in a Wiki entry either and are only good for competitionist-sake, so it would be difficult to entirely bypass the alias process. Either way you're editing and doing some digging through book content.
Certainly possible by any means, though.
Well, if it is possible, I'm sure many would appreciate such a feature. It could even be optional, e.g. with a checkbox.


Meanwhile, I wrote a small PHP script (attached) to generate the aliases file. It ignores duplicates and an array of stopwords. The stopwords are defined in the script itself, and are of course book-specific, so they need to be adjusted for a different book. For duplicate words, only the first character to have the word in their name gets the alias assigned. The logic behind this is that the first character found in the aliases file is the most important one.

The script can be used like this:
./aliases.php aliases.txt > new_aliases.txt

I tried it on my book and it works fairly well. Maybe someone else will find it useful too.
Attached Files
File Type: gz aliases.php.gz (511 Bytes, 232 views)
jmerhar is offline   Reply With Quote
Old 11-20-2013, 12:29 PM   #312
Spencer23323
Junior Member
Spencer23323 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2013
Device: None
Is this possible with Kindle for iOS?
Spencer23323 is offline   Reply With Quote
Old 11-21-2013, 06:39 AM   #313
Pascalwb
Junior Member
Pascalwb began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2013
Device: kindle paperwhite 2
I can't get it working.

I create folder in documents (F:\documents\Calculated in death), than I put *.mobi file there. Turn on kindle, than plug it back to PC. Now I have this folder
F:\documents\Calculated in death\Calculated in death.sdr I put x-ray file there and it looks like this
http://i.imgur.com/kOZBGiJ.jpg or this http://i.imgur.com/nSbkqGi.jpg.

I tried website, calibre plugin and x-ray generator. I just have greyed x-ray button.

My x-ray file http://pastebin.com/VbrERT57 for HG.
Pascalwb is offline   Reply With Quote
Old 11-21-2013, 11:40 AM   #314
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by Spencer23323 View Post
Is this possible with Kindle for iOS?
I was able to get it working fine on my iPhone, there was a set of posts somewhere earlier in this thread where someone else was trying to get it working as well if you can find them.

Quote:
Originally Posted by Pascalwb View Post
I tried website, calibre plugin and x-ray generator. I just have greyed x-ray button.
Unfortunately I haven't used my Kindle or the xrays in quite a while so I forget how they're supposed to be setup... hopefully someone else has some suggestions.

Last edited by Ephemerality; 11-21-2013 at 11:45 AM.
Ephemerality is offline   Reply With Quote
Old 11-21-2013, 04:58 PM   #315
Spencer23323
Junior Member
Spencer23323 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2013
Device: None
Quote:
Originally Posted by Ephemerality View Post
I was able to get it working fine on my iPhone, there was a set of posts somewhere earlier in this thread where someone else was trying to get it working as well if you can find them.


Unfortunately I haven't used my Kindle or the xrays in quite a while so I forget how they're supposed to be setup... hopefully someone else has some suggestions.
I have figured it out, kindle shows that the book has X-RAY but when I click it says, No concepts/people/terms on this page/book.

Edit: I am using your tool.
Spencer23323 is offline   Reply With Quote
Reply

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


Forum Jump

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


All times are GMT -4. The time now is 01:40 AM.


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