![]() |
#16 | ||||
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#17 | ||
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kindle PaperWhite
|
Quote:
I don't know if links are allowed, just in case ... https://kindlegen.s3.amazonaws.com/A...Guidelines.pdf Quote:
I am in front of a Himalayan climb with the wrong tools. I did C coding years ago, not enough practice to save time. Anyway, it was an enjoyable exercise, I appreciated your help and that of other readers. I am more and more comfortable with Regex to correct and free up reading time, which is ultimately the ultimate goal. Best regards |
||
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,238
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
And then if it's substandard, learn how to do iOS and Android apps using framework. The majority of people reading ebooks do it on a phone or tablet. Also most people with an eink ereader have a smartphone. My dad is the only person I know that uses eink (a Kindle Paperwhite) and has NO mobile. |
|
![]() |
![]() |
![]() |
#19 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
There are also countless other JavaScript quiz templates on the Internet. If it has to be KDP, you could simply add two separate endnote HTML files, e.g. correct.xhtml and incorrect.xhtml, at the end of the book and add links to them. If you format footnote links and footnote definitions correctly, they'll show up as popup footnotes. If you have a lot of time on your hands, you could also look into creating a fixed layout Kindle book. Last edited by Doitsu; 03-26-2021 at 01:33 PM. |
|
![]() |
![]() |
![]() |
#20 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Sorry, I mean: your final ebook is only for kindle or ePub?
Quote:
Code:
<div class="question" id="one"> <p>Who is the french king during the french revolution?</p> <ul> <li><a href="#due">correct answer</a></li> <li><a href="#wrong_uno">wrong answer</a></li> <li><a href="#wrong_uno">another answer</a></li> <li><a href="#wrong_uno">last answer</a></li> </ul> </div> <div class="question" id="two"> <p>Is Lady Oscar a real or fiction character?</p> <ul> <li><a href="#tre">correct answer</a></li> <li><a href="#wrong_due">wrong answer</a></li> <li><a href="#wrong_due">another answer</a></li> <li><a href="#wrong_due">last answer</a></li> </ul> </div> Code:
one two three four ... Code:
FIND: (.+) REPLACE: <div class="answer" id="wrong_$1"> <p>Sorry, this was not the correct answer.</p> <p><a href="#$1">Try it again</a><p> </div> Now you have a file with all the questions with correct and wrong links, as internal links. The last passage I suggest is to split this big file before every <div>, so you are sure to have a page break for each answer/question. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kindle PaperWhite
|
I never imagined doing a standard epub for all devices. Which is stupid. Thank you for this major point.
My first poor little idea was to create an epub because the code is lighter and then convert it to azw3 with Caliber. Assuming that my epub holds up to support a conversion. I feel very close to your dad despite the age difference as I don't have a cell phone and use a PPW kindle . He's got to be a good man... |
![]() |
![]() |
![]() |
#22 | |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kindle PaperWhite
|
Quote:
It's far beyond my expectations. I come back to the game. At my own pace to discover the codes as a kind of reverse engineering. The java scripts are included, at first glance it seems to have it all. It's Christmas before Easter. This demo epub is a killer. Yes I did a conversion from my wobbly epub2 demo to epub3 but I was far from having a clean epub worthy of the name. |
|
![]() |
![]() |
![]() |
#23 | |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Dec 2016
Location: France
Device: Kindle PaperWhite
|
Quote:
Quoth raised the vagueness as well. Do not miss the MCQ demo whose link was given by Doitsu. It is the dream to start this small project on solid foundations. We find in it your architectural suggestions. And JS code. I'm on track even though I suspect there will be puzzles. Thank you again to all the readers and to you for your interest in this story. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub code question | dynabook | ePub | 1 | 05-09-2017 02:42 PM |
Smashwords and ePub format question | yarndog | ePub | 31 | 01-04-2012 11:57 AM |
Untitled.ePub-Sigil and Code question | soulartist | Sigil | 3 | 12-09-2010 05:06 PM |
question about move to epub format | kelly1010 | Sony Reader | 1 | 12-22-2009 01:52 AM |
Question about lrx vs epub format | jfinli | Sony Reader | 2 | 05-27-2009 08:15 AM |