|07-27-2010, 12:01 AM||#1|
Join Date: Nov 2009
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:
<?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?
|07-27-2010, 01:22 AM||#2|
Well trained by Cats
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
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.
|07-27-2010, 05:35 AM||#3|
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.
|07-29-2010, 02:10 AM||#4|
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.
|07-30-2010, 08:48 PM||#6|
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?
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Changing from Title-Author to Author - Title||Amalthia||Calibre||17||Today 12:20 AM|
|Problem with the HR tag||KNotTed||ePub||17||03-06-2010 11:48 AM|
|Creating a Library file w/Author, Title, Summary and tag info||asktheeightball||Calibre||2||01-18-2010 11:28 AM|
|'Keep' tag?||AnemicOak||Amazon Kindle||13||03-17-2009 05:19 PM|
|Pulp or Pulp fiction title tag||mtravellerh||Feedback||2||11-09-2008 07:49 PM|