View Single Post
Old 03-20-2018, 07:59 AM   #341
Nicolas F
Groupie
Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.Nicolas F once ate a cherry pie in a record 7 seconds.
 
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
Quote:
Originally Posted by Alvgon View Post
I currently have a PDF with this "copyable" text:

ISBN 0 7506 4790 6

It is not detected as ISBN number, not 10 nor 13 digits format. I supse is because the text string does not have the right length for scan.py/_evaluate_isbn_match
function to detect it.
I'm not a python programmer though.
Could any knowledgeable fellow to comment on possible solutions?
Quote:
Originally Posted by Divingduck View Post
Because it isn't a valid ISBN-10 declaration.

Valid is ISBN:0750647906 and ISBN:0-7506-4790-6 not ISBN 0 7506 4790 6

https://en.wikipedia.org/wiki/Intern...rd_Book_Number
It may be an invalid way to write it down, but that's not really a problem here. The regex used by the plugin will recognize it, so the problem is elsewhere.
(just try to add "ISBN 0 7506 4790 6" anywhere in an epub and the plugin as no problem detecting it)

The plugin probably have difficulty accessing the text of the pdf.
Nicolas F is offline   Reply With Quote