![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 | |
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
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
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.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
|
Thank you for your answer and your time, @DiapDealer!
Achim |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
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
|
Welcome to MR Achim!
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
|
:-) Thank you, @Turtle91!
|
![]() |
![]() |
![]() |
Tags |
manifest, variables |
|
![]() |
||||
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 |