![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 972
Join Date: Jul 2011
Device: Kobo Aura One, Kobo Libra Colour
|
![]()
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. |
![]() |
![]() |
![]() |
#2 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,295
Karma: 20171067
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Theoretically, it might be possible to use JavaScript in epub3 books to extract metadata information, but, IMHO, that'd be overkill.
|
![]() |
![]() |
![]() |
#4 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,651
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
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. |
![]() |
![]() |
![]() |
#5 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
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 |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,947
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#8 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,600
Karma: 29709834
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:
|
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 972
Join Date: Jul 2011
Device: Kobo Aura One, Kobo Libra Colour
|
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. |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
If you have basic programming skills, you could also write a Sigil/Calibre Python plugin to automate this task.
|
![]() |
![]() |
![]() |
Tags |
cross-reference, echo, index, metadata |
|
![]() |
||||
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 |