Quote:
Originally Posted by rlauzon
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.