View Single Post
Old 05-22-2010, 03:37 AM   #6
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by jackie_w View Post
The fbreader paragraph styles "Verse", "Stanza", "Annotation" and "Epigraph" look as if they might be useful but I have no idea how I would write HTML to use them. If anyone has any ideas I'd love to hear them.
Have a look at the FB2 format.
http://en.wikipedia.org/wiki/FictionBook
https://wiki.mobileread.com/wiki/FB2

The main site for fb2 format is at
http://www.fictionbook.org/index.php/Eng:FictionBook
but most of the site is in Russian so you will have to use translate.google.com

This is THE format FBReader was made for.
FB2 has all the tags for all the styles.
FB2 is an XML file, so it is very similar to HTML, it is just more strict. (there always has to be a closing tag, the tags must be balanced, there are mandatory tags that have to be in every book, otherwise it won't be rendered)
kacir is offline   Reply With Quote