![]() |
#1 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Using Bootstrap with Epubs
A quick search of the forums suggests that Bootstrap is compatible with Epubs. But can anyone explain the basics to me? Do you implement it the same way you do with a website? And do most viewing devices support Bootstrap, or is it touch and go?
Thanks. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Don't count on it. Especially readers will not support it, but I guess that reading apps on tablets/pc's might be able to handle it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
So it sounds like it might at least work on SOME devices, and it probably wouldn't cause any problems on other devices (they simply won't support it). It seems like it might be a nice touch for those who do have "better" viewing devices.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I can most definitely cause problems on the other devices, as they may not be able to use the fallback and ignoring bootstrap does not always give good results. I would be very careful and perhaps ensure that the ePUB can only be opened on a device that supports it. An ePUB is not a webpage.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
I haven't used Bootstrap, but as far as I know it's jQuery based. I.e., you can only use it in ePub3 books, and, AFAIK, pretty much the only major eInk device manufacturer that supports ePub3 is Rakuten Kobo Inc.
If you're wondering how to properly embed JavaScript libraries without getting epubcheck errors, check out my very simple jQuery based epub3 test file. Note that the test file won't work with Sigil, you'll have to open it with ADE 4.5 or other epub3 apps. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server - Bootstrap Theme | sudiphed | Development | 3 | 08-16-2016 10:45 PM |
trouble when converting many epubs to epubs | comet | Conversion | 13 | 03-21-2012 01:57 AM |
epubs | Hedaya | Which one should I buy? | 17 | 03-19-2012 01:43 PM |
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) | plague006 | Kobo Reader | 14 | 12-02-2011 11:32 PM |
iplinux-bootstrap failure | Nocturnal | OpenInkpot | 1 | 04-26-2010 03:57 AM |