View Single Post
Old 06-12-2007, 12:50 PM   #28
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by rlauzon View Post
This is untrue.

You are correct that HTML may not provide all the information you need, but you are incorrect when you say that XML cannot. XML is often used as the "flattened" form of a database.



Which XML can provide.
Yes and we're going to use XML for this. But most XML-based formats are purely based on presentation and nothing else (that's what I was pointing to, using XML in my previous post). In the future we'll use as an input xml that will be divided into 2 different types of tags:
- metadata and structure
- presentation

Metadata will be for the name of the book, the title, the isbn, the tags, short description etc...
Structure will divide the the book into parts/chapters/sections and might be extended for other type of texts (plays ?).
Presentation will keep some basic XHTML tags (b, i, br, center, hr...) but we'll also add a few book specific tags (<fb:footnotes>, <fb:verse> for example).

With such an XML file we'll have exactly the same stuff than in our database.

Out of this structure, we'll create files on the fly like we already do (PDF right now, XML based formats in the future, we already tested TTS too).

In our admin, we already have a feature to export our book in XML form, but very basic support right now, we'll work on extending this during the summer.

Last edited by Hadrien; 06-12-2007 at 12:53 PM.
Hadrien is offline   Reply With Quote