Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:56 PM   #1
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,571
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Property linear="no" on epub2

Hi;

Maybe some of you had this problem and were able to solve it. For my part, I haven't been successful so far and I would like to know how those who were successful handled the issue.

It turns out that I have a couple of .xhtml files that I don't want to be seen in the epub (epub2); I want them to only be accessed through a link. I tried to achieve this via the linear="no" property in the <spine> section of the .opf file. But nothing to do; at least in ADE 2.x/3.x the .xhtml files can be accessed like any of the others. Interestingly, under epub3 everything works fine, as expected, but under epub2, nothing seems to take effect.

Thank you very much in advance for any advice that allows me to solve this problem.
RbnJrg is offline   Reply With Quote
Old Yesterday, 06:15 PM   #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: 74,892
Karma: 131375774
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 RbnJrg View Post
Hi;

Maybe some of you had this problem and were able to solve it. For my part, I haven't been successful so far and I would like to know how those who were successful handled the issue.

It turns out that I have a couple of .xhtml files that I don't want to be seen in the epub (epub2); I want them to only be accessed through a link. I tried to achieve this via the linear="no" property in the <spine> section of the .opf file. But nothing to do; at least in ADE 2.x/3.x the .xhtml files can be accessed like any of the others. Interestingly, under epub3 everything works fine, as expected, but under epub2, nothing seems to take effect.

Thank you very much in advance for any advice that allows me to solve this problem.
linear="no" does not work in ADE 2/3. It's ignored. I don't know abut ADE 4.
JSWolf is offline   Reply With Quote
Old Yesterday, 07:10 PM   #3
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,571
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
linear="no" does not work in ADE 2/3. It's ignored. I don't know abut ADE 4.
Ok, thank you very much! Do you know any other way to hide a .xhtml file? I don't want it to show in the epub spine. I'm speaking about epub2.
RbnJrg is offline   Reply With Quote
Old Yesterday, 07:16 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 37,456
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by RbnJrg View Post
Ok, thank you very much! Do you know any other way to hide a .xhtml file? I don't want it to show in the epub spine. I'm speaking about epub2.
The only way to hide a xhtml file in an ePub2 that I am aware of is removing it from the spine. This, of course, causes validation errors.
DNSB is offline   Reply With Quote
Old Yesterday, 10:57 PM   #5
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,571
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DNSB View Post
The only way to hide a xhtml file in an ePub2 that I am aware of is removing it from the spine. This, of course, causes validation errors.
Thanks. I will try it; if it works, a validation error is not important to me (in this case).
RbnJrg is offline   Reply With Quote
Old Today, 11:43 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,519
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You can put it at the end of the spine. It will still appear and be counted in the total pages, but you don't need to page through it when reading.

Or you can use a KOReader, which supports linear="no" (Hide non-linear flows), if it's just for your own use.
Jellby is offline   Reply With Quote
Old Today, 05:18 PM   #7
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,571
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Jellby View Post
You can put it at the end of the spine. It will still appear and be counted in the total pages, but you don't need to page through it when reading.

Or you can use a KOReader, which supports linear="no" (Hide non-linear flows), if it's just for your own use.
Hi;

I tried KOReader without success; linear="no" seems not to be supported there either. Yes, I put the .xhtml files at the end of the epub, so the reading is not disturbed. But I wanted to hide those files if had been possible. By suppressing those files inside the spine section in the .opf file, the .xhtml are not showed at all, but they can not be accessed by links to them either
RbnJrg is offline   Reply With Quote
Old Today, 05:39 PM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,843
Karma: 5449464
Join Date: Nov 2009
Device: many
Could you make images of each extra xhtml page that could be loaded on demand? Perhaps an svg image with actual text?

And if I remember the epub2 spec had something about "xml islands" that might be a way to hide a page but still load it. Or maybe use frames or iframes in some way or the object tag to fall back to what you want?

Last edited by KevinH; Today at 05:46 PM.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd behavior CSS "content" property in kobo devices DrChiper Kobo Reader 3 07-17-2023 02:54 PM
"Hide Non-linear Fragments" not shown in menu sHiN3 KOReader 2 04-24-2023 12:27 PM
"Error while parsing file 'Multiple occurrences of the 'cover-image' property " BKh ePub 11 10-19-2018 01:19 PM
Auxiliary content? (with linear="no" in <spine>) un_pogaz Sigil 2 06-13-2018 06:25 AM
New "Intellectual Property Protection" law enacted. NatCh News 23 10-18-2008 09:58 AM


All times are GMT -4. The time now is 06:30 PM.


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