View Single Post
Old 05-19-2009, 08:37 AM   #19
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
So, minor update after discussion above:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>A Princess of Mars</title>

<!-- BEGIN: DOCUMENT HISTORY -->

<!-- Created on 20/May/2004 -->
<!-- Revision # 0.10 on 30/Jun/2004 -->
<!-- Revision # 0.20 on 28/Dec/2004 -->
<!-- Revision # 0.40 on 13/Apr/2005 -->
<!-- Revision # 0.70 on 30/Sep/2006 -->
<!-- Current Revision # 0.80 on 18/May/2009 -->

<!-- END: DOCUMENT HISTORY -->

<!-- BEGIN: REVISION GUIDELINE -->

<!--
   0.10 Initial Conversion
   0.20 Cover and Frontispiece
   0.30 Sections, Chapters and TOC
   0.40 Endnotes and/or Blockquotes
   0.50 Initial Spellcheck
   0.60 M-dashes and Hyphens and Ellipses
   0.70 Italics, Bold, and Pre-Formatted Text
   0.80 Reading Proof
   0.90 Checked Against Canonical Source
   1.00 Final Version -- Optimal
 1.00+ Minor Error Corrections
-->

<!-- END: REVISION GUIDELINE -->

<!-- BEGIN: EBOOK META INFORMATION -->

<meta name="filename" content="APrincessOfMars" />
<meta name="fileid" content="FoundText0085" />
<meta name="filecreationdate" content="20/May/2004" />
<meta name="fileversion" content="0.80" />
<meta name="filerevisiondate" content="18/May/2009" />
<meta name="filesource" content="University of Virginia Electronic Text Center" />
<meta name="filescanner" content="Judy Boss" />
<meta name="fileproofer" content="Kelly Tetterton" />
<meta name="fileproofer" content="Peter-John Byrnes" />
<meta name="fileproofer" content="Found Text (foundtext@gmail.com)" />

<meta name="title" content="A Princess of Mars" />
<meta name="subtitle" content="Barsoom #01" />
<meta name="series" content="Barsoom" />
<meta name="seriesnumber" content="01" />
<meta name="genre" content="Science Fiction::General" />

<meta name="author" content="Edgar Rice Burroughs" />
<meta name="authorlast" content="Burroughs" />
<meta name="authorfirst" content="Edgar" />
<meta name="authormiddle" content="Rice" />
<meta name="authoralpha" content="Burroughs, Edgar Rice" />

<meta name="illustrator" content="Frank Frazetta" />
<meta name="illustratorlast" content="Frazetta" />
<meta name="illustratorfirst" content="Frank" />
<meta name="illustratormiddle" content="" />
<meta name="illustratoralpha" content="Frazetta, Frank" />

<meta name="publisher" content="Found Text" />
<meta name="publicationdate" content="08/July/2010" />
<meta name="publicationcity" content="Honolulu" />
<meta name="publicationcity" content="Bangkok" />

<meta name="copyrightholder" content="" />
<meta name="copyrightdate" content="" />

<meta name="isbn" content="" />

<!-- END: EBOOK META INFORMATION -->

<!-- BEGIN: STRUCTURE HINTS -->

<!--
Title: h1 class="title"
Subtitle: h3 class="subtitle"
Chapter: h3 class="chapter"
Paragraph: p class="normal"
Epigram: p class="epigram"
Psionic: em class="psionic"
etc. etc.
-->

<!-- END: STRUCTURE HINTS -->

</head>
I'm sort of liking this; I think it achieves two things -- it is parseable for utilities/macros and it is human-readable and human-editable. Oh, and completely invisible to a person just reading the book. Hopefully it puts everything that you need to know about the following file right at the top, where you can use it to re-write CSS, or pick a version number, or whatever.

If for some reason a person only had this file, would it be easy to recreate the rest?

I guess the final thing it could need is a manifest of image/sounds that it references.

m a r
rogue_ronin is offline   Reply With Quote