Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2020, 04:28 PM   #1
Evil Overlord
Enthusiast
Evil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-books
 
Posts: 39
Karma: 972
Join Date: Jul 2011
Device: Kindle 3
Question Cross-reference/index/quote/metadata

I have a simple issue I'm sure has been solved, but I don't seem to be phrasing my searches right.

In short, I want to enter data once, and then quote/refer to it in the visible text of a page. Specifically, I want to enter ISBN numbers once and refer to them in two different places. One ISBN number will be for the e-book edition (and thus is in the opf metadata), and the other is for the paperback edition (and thus is not in the metadata).

It seems like I could create a custom metadata field to use for the paperback ISBN, but in any case, I can't figure out how to echo that data back in my selected location.

Suggestions welcome, inc. pointers to threads that solve this.
Evil Overlord is offline   Reply With Quote
Old 05-09-2020, 09:03 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
As far as I know you can't 'reference' metadata within the document. Metadata is for the device/app to read.

What's wrong with a simple copy/paste?? K.I.S.S. philosophy is the best philosophy as far as ePubs are concerned.
Turtle91 is offline   Reply With Quote
Advert
Old 05-09-2020, 09:47 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Evil Overlord View Post
It seems like I could create a custom metadata field to use for the paperback ISBN, but in any case, I can't figure out how to echo that data back in my selected location.
Theoretically, it might be possible to use JavaScript in epub3 books to extract metadata information, but, IMHO, that'd be overkill.
Doitsu is offline   Reply With Quote
Old 05-10-2020, 07:23 AM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
There can easily be several to many paperback ISBNs.
Same edition in different formats (sizes such as Trade, Mass market).
Same edition with a different publisher. Can occur serially (author changes publisher) or simultaneously (Publishers with restricted regions).
Slight changes that you'd think of as a full edition issue (even if just typos, commas) can result in a new ISBN.
The ebook might not exactly match ANY paperback or hardback edition!

Last edited by Quoth; 05-10-2020 at 07:25 AM.
Quoth is offline   Reply With Quote
Old 05-10-2020, 04:56 PM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Turtle91 View Post
As far as I know you can't 'reference' metadata within the document. Metadata is for the device/app to read.

What's wrong with a simple copy/paste?? K.I.S.S. philosophy is the best philosophy as far as ePubs are concerned.
Yup, as Turtle says, I've never seen or stumbled across or been able to code any way to "get" or fetch metadata and display it inside an eBook.

Believe me, I wish I could. I waste more damn time, with customers, giving me the wrong freaking ISBNs and then having to go fix them in 3+ places. I wish there was a simple, one-step solution, but there isn't any way, even inside an eBook, really (never mind in the meta) to enter something once (other than an image) and then have it fetched and displayed.

(Yes, as Doits says, there might be a way in ePUB3, but as he also says, it's overkill.)

Sorry.

Hitch
Hitch is offline   Reply With Quote
Advert
Old 05-12-2020, 09:35 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Doitsu View Post
Theoretically, it might be possible to use JavaScript in epub3 books to extract metadata information, but, IMHO, that'd be overkill.
And it might not work in a number of cases plus it would not be backwards compatible.
JSWolf is online now   Reply With Quote
Old 05-12-2020, 01:30 PM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
While this is not the requested solution I do like this metadata tool EPub Metadata Editor for viewing a fixing the metadata itself.

Dale
DaleDe is offline   Reply With Quote
Old 05-12-2020, 06:16 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Evil Overlord - have a look at the Function mode for Search & replace in the Calibre Editor.

Quote:
The metadata argument

This represents the metadata of the current book, such as title, authors, language, etc. It is an object of class calibre.ebooks.metadata.book.base.Metadata. Useful attributes include, title, authors (a list of authors) and language (the language code).
BR
BetterRed is offline   Reply With Quote
Old 05-15-2020, 12:10 PM   #9
Evil Overlord
Enthusiast
Evil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-books
 
Posts: 39
Karma: 972
Join Date: Jul 2011
Device: Kindle 3
Thanks for the input, all.
As many have noted, none of these really solves the issue without substantial overkill, so I'll just write this off as 'there is no good solution'. That's an answer, so that's helpful.

For those who questioned the need - I produced a book/month, and presently refer to the ISBN in two places in each. An automated system would reduce the risk of not entering the ISBN as required, which currently requires pasting in several places - the metadata, a title page reference (potentially to other ISBNs as well - e-book, paperback, hardcover), and a copyright page reference. These aren't all required, of course, but fit my preferences. It would have been easiest to just enter the data once and let it replicate (as is possible in my ODT document), but if it can't be done, it can't be done (easily). The search and replace is the closest practicable answer, and the one I've been using.
Evil Overlord is offline   Reply With Quote
Old 05-16-2020, 01:35 AM   #10
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Evil Overlord View Post
For those who questioned the need - I produced a book/month, and presently refer to the ISBN in two places in each. An automated system would reduce the risk of not entering the ISBN as required, which currently requires pasting in several places [...]
If you have basic programming skills, you could also write a Sigil/Calibre Python plugin to automate this task.
Doitsu is offline   Reply With Quote
Reply

Tags
cross-reference, echo, index, metadata


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to link/cross-reference book entries in a bidirectional relationship? shayaknyc Library Management 2 07-01-2019 06:56 PM
Cross reference problem in .mobi franknun Conversion 0 01-22-2014 12:50 AM
Touch How to save an ePub passage/sentence/paragraph/quote for future reference. kobo_sucks Kobo Reader 4 11-06-2013 04:45 AM
How to save to Epub from InDesign CS6 and preserve the Cross-Reference links frikkif ePub 6 09-19-2012 09:44 AM
Dangling Quote or Footnote Reference Number Themus ePub 3 06-20-2012 07:27 AM


All times are GMT -4. The time now is 11:38 AM.


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