Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2023, 07:50 AM   #1
AchimHahn
Junior Member
AchimHahn began at the beginning.
 
AchimHahn's Avatar
 
Posts: 4
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
using manifest data within epub

Hi,
is it possible to use data from the manifest
(e.g. <dc:identifier>urn:isbn:9783757818333</dc:identifier>)
as a kind of variable within the content of the ebook?
Example:
"The ISBN of this eBook is [manifest.identifier.urn.isbn]." showing
"The ISBN of this eBook is 9783757818333."
Not important but nice.
Thanks and regards
Achim
AchimHahn is offline   Reply With Quote
Old 06-18-2023, 04:37 AM   #2
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: 75,422
Karma: 133807966
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 AchimHahn View Post
Hi,
is it possible to use data from the manifest
(e.g. <dc:identifier>urn:isbn:9783757818333</dc:identifier>)
as a kind of variable within the content of the ebook?
Example:
"The ISBN of this eBook is [manifest.identifier.urn.isbn]." showing
"The ISBN of this eBook is 9783757818333."
Not important but nice.
Thanks and regards
Achim
Why when the ISBN is in the copyright page? And the answer is no you cannot.
JSWolf is offline   Reply With Quote
Old 06-18-2023, 07:04 AM   #3
AchimHahn
Junior Member
AchimHahn began at the beginning.
 
AchimHahn's Avatar
 
Posts: 4
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
Hi Jon,
thanks a lot for the answer.
The ISBN was just an example!
Achim
AchimHahn is offline   Reply With Quote
Old 06-18-2023, 08:53 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,747
Karma: 197700000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Any kind of epub variable substitution is going to need to be done with javascript. And even then, I don't know of any easy way to pull stuff from the opf. Regardless ... Sigil can't really help you with any of it. This would all need to be coded manually.
DiapDealer is offline   Reply With Quote
Old 06-18-2023, 09:14 AM   #5
AchimHahn
Junior Member
AchimHahn began at the beginning.
 
AchimHahn's Avatar
 
Posts: 4
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
Thank you for your answer and your time, @DiapDealer!
Achim
AchimHahn is offline   Reply With Quote
Old 06-19-2023, 01:58 PM   #6
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,142
Karma: 18843349
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
Welcome to MR Achim!
Turtle91 is offline   Reply With Quote
Old 06-21-2023, 06:50 AM   #7
AchimHahn
Junior Member
AchimHahn began at the beginning.
 
AchimHahn's Avatar
 
Posts: 4
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
:-) Thank you, @Turtle91!
AchimHahn is offline   Reply With Quote
Reply

Tags
manifest, variables


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPub -> Mobi seems to drop style file from manifest kensmosis Conversion 7 12-08-2021 10:14 AM
Files exist in epub that are not listed in the manifest, vijer Sigil 2 03-07-2021 06:17 AM
Broken EPUB (missing files): JPEG Image not listed in manifest JGrubb ePub 11 10-15-2020 02:14 PM
File 'META-INF/encryption.xml' in EPUB not listed in manifest! Bowcat ePub 2 10-14-2019 08:02 PM
How to change epub manifest with Scrivener? Stefanie12345678 ePub 1 08-29-2018 10:51 AM


All times are GMT -4. The time now is 08:27 PM.


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