![]() |
#1 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Nov 2009
Device: Kindle
|
![]()
OK, I'm creating an ePub in Sigil, a collection of short stories.
Every story is in it's own .xhtml file rather than creating the one big file that everyone complains about. When I create a new .xhtml file and I look at the code (before sticking anything in the file), this is what I see: Code:
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <p> </p> </body> </html> If I put the name of the short story (or chapter or whatever) between the tags, do they do anything? Will it change the title bar of the eReader to reflect the name of the current short shory or chapter? What's the story? ![]() |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,881
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Not all readers do anything with these. Some smaller screens have char count limits. Stay Terse ![]() I think they don't cause problems if they exist. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
As far as I know, there's nothing defined to be done with the <title> of each XHTML file, and all implementations I've seen just ignore it. It could conceivably be used in a status bar or something, but more it's likely that would be taken from the ncx file or from "oeb-page-head" elements.
There is some use, however. If you convert the file to PDF with prince, you can define what to do with the <title>, and use it as a running header, for instance, but that's very specialised. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 79
Karma: 42
Join Date: Sep 2009
Device: sony reader touch (prs-600)
|
I think the <title> tag in the xhtml is ignored most of the time in epub reader implementations. If you're worried about it, stick the book's name in, but leaving it blank is probably fine too.
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Nov 2009
Device: Kindle
|
So basically it's useless overhead. Oh well. I was hoping that it did something useful.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 296
Karma: 955301
Join Date: Oct 2008
Device: Sony PRS-300, Sony PRS-T2, Kindle (7th Gen)
|
I stick in whatever I would expect to see in a standard browser title bar, so that if I ever need to quick-convert the ePub to HTML, it'll be already set up.
Yeah, I'm crazy. What of it? ![]() |
![]() |
![]() |
![]() |
Tags |
<title> tag |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing from Title-Author to Author - Title | Amalthia | Calibre | 17 | 01-22-2017 11:20 PM |
Problem with the HR tag | KNotTed | ePub | 17 | 03-06-2010 10:48 AM |
Creating a Library file w/Author, Title, Summary and tag info | asktheeightball | Calibre | 2 | 01-18-2010 10:28 AM |
'Keep' tag? | AnemicOak | Amazon Kindle | 13 | 03-17-2009 04:19 PM |
Pulp or Pulp fiction title tag | mtravellerh | Feedback | 2 | 11-09-2008 06:49 PM |