View Full Version : ePub Headers


Timoleon
07-27-2009, 01:00 PM
ePub Headers --- with the book title and/or author at the top of each page as it is displayed. Is this a possibility? I think Kovid said that it was not in the ePub specifications at the moment. Is there something inherent in ePub that would prevent this feature from being added as an option?

It's a good way for me to remember what the hell I'm reading... :o

pepak
07-27-2009, 01:14 PM
Is there something inherent in ePub that would prevent this feature from being added as an option?
Yes. It is not possible to create such a thing until EPUB specifications change.

pepak
07-27-2009, 01:15 PM
The only possible solution I can think of is creating an image with author/title in it and using it as a background. I am not so sure EPUB renderers would handle that correctly.

tompe
07-27-2009, 01:17 PM
Yes. It is not possible to create such a thing until EPUB specifications change.

Does the ePUb specification really says that a reader cannot add a header with author and title? To me it seems it is more a feature of a reader than a feature of the format.

Jellby
07-27-2009, 01:26 PM
ePub Headers --- with the book title and/or author at the top of each page as it is displayed. Is this a possibility? I think Kovid said that it was not in the ePub specifications at the moment. Is there something inherent in ePub that would prevent this feature from being added as an option?

I don't think Kovid said that. He said that it is in the specification, but that no ePUB reader currently supports it.

The closest thing to a working header is ADE's page templates, but that's an Adobe-exclusive extension.

Other than that, adding book-wide information like title and author in some visible place is something that any ebook viewer could do, no need of the ePUB specification to allow it. We only need someone to design a user-friendly, fully-configurable, specs-compliant ePUB reader... so easy :D

JSWolf
07-27-2009, 02:51 PM
And besides, we don't need headers t waste page space. Plus they don't really look good.

zelda_pinwheel
07-27-2009, 03:06 PM
And besides, we don't need headers t waste page space. Plus they don't really look good.

*ahem* "in your opinion". ;) personally, i like headers very much. i think they do look good and they serve a useful purpose as well. and clearly some other people also like them. i do hope that support for displaying them will be added very soon, whether it's the reading software or the spec which needs to be updated.

Timoleon
07-27-2009, 03:27 PM
And besides, we don't need headers t waste page space. Plus they don't really look good.

The way that the Sony Reader PRS-505 displays headers in lrf files looks great, in my opinion, and takes up very little space! :)

Jellby
07-27-2009, 03:41 PM
The way I use the headers in my custom PDFs is perfect, and I'm a modest man :D

zelda_pinwheel
07-27-2009, 03:45 PM
The way that the Sony Reader PRS-505 displays headers in lrf files looks great, in my opinion, and takes up very little space! :)
the eb1150 does a pretty great job of it too. ;)

The way I use the headers in my custom PDFs is perfect, and I'm a modest man :D
it's just one of your many charms. :D

Kostas
07-27-2009, 03:59 PM
The way that the Sony Reader PRS-505 displays headers in lrf files looks great, in my opinion, and takes up very little space!

OK, so, does anyone know how to generate a header in lrf with the chapter title???
By default (selecting the header option), Calibre adds title and author (%t and %a respectively).
How could anyone pass the chapter title argument??
(Sorry, I just realize that I'm slighlty :offtopic:. Is this an ePub thread!?!?)

pepak
07-27-2009, 04:02 PM
Well, I thought you meant universal headers. Of course a renderer could display them, but that would be a proprietary extension.

Jellby
07-28-2009, 05:37 AM
Well, I thought you meant universal headers. Of course a renderer could display them, but that would be a proprietary extension.

If it needs something done in the book, then it's a propietary extension (e.g. ADE page templates).

If it can be done with every book, it is a reader feature. The Cybook can display headers for mobipocket files, I don't see why any reader couldn't do the same with ePUB (or any other format).

pepak
07-28-2009, 06:15 AM
Jellby: Well, a "reader feature" is the same thing as "proprietary extension" - EPUB does specify how a book should be rendered, and any different rendition is proprietary. It doesn't matter where the additional rendition comes from (it could just as well come from the filename, for example, and wouldn't be any less proprietary because of that, even though the book file itself would remain unchanged).

JSWolf
07-28-2009, 03:09 PM
The way that the Sony Reader PRS-505 displays headers in lrf files looks great, in my opinion, and takes up very little space! :)
At 10 point I can get 27 lines per screen in LRF. A 400 page book will take about 14 or 15 extra page turns. Plus, I prefer to have as much text on the screen as I can. And to be honest, I should already know what book I am reading. If you had a book with a lot of chapters, then I can understand wanting a footer showing that chapter you are on. But as for a header, it's not all that useful.

What would be perfect in ePub is the ability to turn headers and footers on or off. Of course we need to have headers and footers in the first place.

tompe
07-28-2009, 03:16 PM
Jellby: Well, a "reader feature" is the same thing as "proprietary extension" - EPUB does specify how a book should be rendered, and any different rendition is proprietary. It doesn't matter where the additional rendition comes from (it could just as well come from the filename, for example, and wouldn't be any less proprietary because of that, even though the book file itself would remain unchanged).

If the data comes from standardised information in the book like the author and title then i do not see how it can be a proprietary extension of the format. That is like saying that a device the read the book out aloud is a proprietary extension even if it only use the standardised information in the ePub file.

tompe
07-28-2009, 03:20 PM
And to be honest, I should already know what book I am reading. If you had a book with a lot of chapters, then I can understand wanting a footer showing that chapter you are on. But as for a header, it's not all that useful.


Well, this depends on how your memory works. And when you read the next book from an author that you have a lot of books of it is not easy to remember which one you are reading since you often just takes the next one in the series and do not care for the title when you start reading the book.

Having to modify en ePub file to switch on or off a header seems like a very bad thing. These kind of thing belongs to the presentation layer and should be controllable from the reader.

JSWolf
07-28-2009, 03:30 PM
What I would is the book to have the header & footer and have a per-book option to display them or not. Having to modify the code is not what I meant. I want ADE to allow me to control it from within ADE.

Jellby
07-28-2009, 03:54 PM
At 10 point I can get 27 lines per screen in LRF. A 400 page book will take about 14 or 15 extra page turns. Plus, I prefer to have as much text on the screen as I can. And to be honest, I should already know what book I am reading. If you had a book with a lot of chapters, then I can understand wanting a footer showing that chapter you are on. But as for a header, it's not all that useful.

It could be on the header too, no need for a footer ;)

And yes, you usually know what you are reading, but sometimes you have many short books in a series, or by an author, and you don't always remember exactly which one you are reading. Other times you know you are reading "that book about pyramids by a Swiss guy", but how was the author named?, what's the exact title? Many people are ready to sacrifice 15 page turns for that info.

What would be perfect in ePub is the ability to turn headers and footers on or off. Of course we need to have headers and footers in the first place.

That goes without saying. Everything should be configurable, from font size to margins and headers.

Timoleon
07-28-2009, 08:43 PM
It's only been in the last couple of months that I've been making my ebooks with headers --- never bothered to do it before, and never thought I'd want to do it. But once I started doing so, it began to really grow on me.

I find adding the headers aesthetically pleasing, and it truly helps "burn" or "reinforce" into my brain that I'm reading such and such by so and so. It's like having 400 or so subliminal reminders per book --- and, all in all, I think it makes the experience more memorable, enriching, and rewarding (or something like that!). :)

Of course, if you have an eidetic memory or a certain mental vigor --- I supposed this is all a series of moot points...:smack:

DaleDe
07-29-2009, 01:04 PM
It could be on the header too, no need for a footer ;)

And yes, you usually know what you are reading, but sometimes you have many short books in a series, or by an author, and you don't always remember exactly which one you are reading. Other times you know you are reading "that book about pyramids by a Swiss guy", but how was the author named?, what's the exact title? Many people are ready to sacrifice 15 page turns for that info.



That goes without saying. Everything should be configurable, from font size to margins and headers.

If you only need the name of the book and the author then most readers provide an info button that provides this information. For me a header needs to provide the chapter title to be useful. I agree that headers, if present, should be able to be turned off along with other customizations.

Dale