View Full Version : Master page in epub ?


yeuquaido
06-26-2012, 01:47 AM
Hi everyone,

I have a problem with my epub file. I want to set a color bar at the left side for every page in epub file when we read it on ipad. I wonder if we can have a master page or something can solve this problem?

Please tell me your idea if you know about this.

Thank you so much.

Toxaris
06-26-2012, 02:59 AM
You might be able to set a border style in the html class of your stylesheet. If you make all the borders, except the left one, to thickness 0, you must be able to see a left bar on all pages.

yeuquaido
06-26-2012, 03:27 AM
You might be able to set a border style in the html class of your stylesheet. If you make all the borders, except the left one, to thickness 0, you must be able to see a left bar on all pages.

It works perfectly this way. Thank you so much.
One more question, is there any way to add some texts along with the color bar or a link to the beginning of chapter when we click to the color bar. It would be great if we have text and link too

Toxaris
06-26-2012, 02:43 PM
Not with normal XHTML and CSS, which is the core of ePUB2. It is possible in ePUB3 with Javascript but the majority of readers do not support that.

StoryEnthusiast
06-26-2012, 07:17 PM
It is possible in ePUB3 with Javascript but the majority of readers do not support that.Does it mean I should stick with ePub2 when publishing? When do you think ePub3 will be widely supported?

Toxaris
06-27-2012, 03:49 AM
Personally? I hope never. I hope that ePUB4 will really solve the outstanding issues and kick out javascript and audio/video. Oh well, one can only hope. I think in about a years time there will be more. But, don't forget that all older readers will still not support it. Most people will not replace their reader is it is not broken, so it will be quite some years before it is common.

The issue is, that the current generation of readers are using the engine from Adobe (the mobile version of ADE) and that engine is currently the best ePUB engine there is with respect to the standards. Also, the e-ink screens don't really are fit for video and animation in general.

There are a few ePUB3 reading devices. One of them is iBooks, although that is Apple's flavor of ePUB3 of course, not the real ePUB3. There are some more.

StoryEnthusiast
06-27-2012, 04:38 AM
I want to target ebooks for mobile phones only. As I'm starting out fresh in the ebook area, I thought I would just study ePub3 and start from there, but now it looks like it's gonna be a tough direction.

JSWolf
06-27-2012, 11:20 PM
I want to target ebooks for mobile phones only. As I'm starting out fresh in the ebook area, I thought I would just study ePub3 and start from there, but now it looks like it's gonna be a tough direction.

Don't target iPhones using iBooks. iBooks is awful on an iPhone. The screen is really small and the margins iBooks forces on the user are too big. That makes iBooks a poor choice for reading on an iPhone.

DiapDealer
06-28-2012, 10:38 AM
I want to target ebooks for mobile phones only. As I'm starting out fresh in the ebook area, I thought I would just study ePub3 and start from there, but now it looks like it's gonna be a tough direction.
I think it's a bad idea to "target" any kind of hardware/app with an ebook. Target a format if you must target anything, but even then ... I'd still recommend trying to make sure it at least works on any device that supports that format. Besides, unless you're starting your own ebook store, I don't think there's going to be an easy way to inform people that your ebook is intended for app X on hardware Y.

There's nothing wrong with testing/experimenting and otherwise getting ready for the "Beyond ePub2 Market" but if your content doesn't specifically require any of the features ePub3 (or its proprietary variants) brings to the table ... why limit your exposure to a tiny portion of the market—the tiny portion that your specialty ebook is going to work for—by including it?

StoryEnthusiast
06-29-2012, 01:57 AM
why limit your exposure to a tiny portion of the marketóthe tiny portion that your specialty ebook is going to work foróby including it?I just want to produce ebooks that can work on most smart phones and tablets. I already have many stories formatted in HTML5-ish style and picture sizes with width of 240 pixels. I'm a newbie when it comes to ebook. So the question is: what is the most popular format of ebooks for mobile phones and tablets?

DiapDealer
06-29-2012, 08:10 AM
So the question is: what is the most popular format of ebooks for mobile phones and tablets?
The same formats that are most popular for all eReading devices/apps... ePub and MOBI (Amazon). If they're not specialty books (pdf-like fixed-format containing math/scientific formulas, comic books/graphic novels, childrens' picture books, video/audio, etc...) there's usually no reason why an ebook can't be pretty much platform agnostic: meaning it can be used with similar results on almost any platform.

EDIT: If it's your desire to only sell/publish books using the iBooks platform, then I believe Apple's iBook Author app is capable of certain HTML5 stuff.

Freeshadow
07-02-2012, 08:08 AM
Well he said smartphone not iPhone so I d say better respect epub limits since the Android reading apps do epub and not "what apple thinks of epub"

DiapDealer
07-02-2012, 09:46 AM
Well he said smartphone not iPhone so I d say better respect epub limits since the Android reading apps do epub and not "what apple thinks of epub"
I agree. But I didn't want to sound too bossy. If someone wants to create ebooks for smartphones capable of reading ePubs built from HTML5 sources... I'm not going to stand in their way. :)

StoryEnthusiast
07-11-2012, 12:48 AM
Thanks for the advice. Much appreciated. Currently I have close to 300 stories released on my portal site, all designed in the iPhone-like style CSS and HTML5 code. I recently watched an interview with Eric Schmidt talking about few billions of people probably not being to connect to the Internet for quite a while. However, smartphones will be dirt cheap in just a few years and communities may develop mesh networks where information can be passed around from phone to phone (via BlueTooth or direct WiFi). This inspires me to develop a program to automatically convert stories (they are mainly texts and pictures -- simple structure) into a form that can be passed around from phone to phone. After all, 40% of visitors to my site are from India so I imagine if my Indian visitors download the stories they can share with the less fortunate ones who have no Internet access.

As a story enthusiast not chasing after money, I want a format that can be used widely and easily. That's why I look at ePub. As ePub3 is essentially HTML5, I thought ePub3 would be the best place to start my study. How does it sound?

Toxaris
07-11-2012, 03:45 AM
Well, ePUB3 is based on HTML5. On smartphones it should work alright I guess. I personally will never read anything on my phone. The screen is much too small to read comfortably for me. I have a Galaxy Nexus, so the screen is already on the big size compared to most smartphones.
If you don't really need the functionality of ePUB3, I would go for ePUB2. That is much more generally accepted at this point.

Freeshadow
07-11-2012, 01:47 PM
Maybe we reader users are not trendy enough.
After all we are just gadget collectors.
People who read seriously get phones for that. After all they have read tons of SMS on them...

DiapDealer
07-11-2012, 04:47 PM
As a story enthusiast not chasing after money, I want a format that can be used widely and easily. That's why I look at ePub. As ePub3 is essentially HTML5, I thought ePub3 would be the best place to start my study. How does it sound?
HTML5 and ePub3 vs XHMTL and ePub2 really has very little bearing on your "widely and easily" distributed premise. If anything, ePub3/HTML5 might actually restrict you a little more in that department as opposed to other options (based on technologies currently available). And it's not like the older standards are going to be unsupported any time in the foreseeable future.