Rev. 2.10 - 2011-08-06 (Release Candidate 1)
* Fixed: Error when building a book without adding an Identifier.

* Fixed: setCoverImage: The default assumption that file names were absolute as seen from the document root was ... ill advised.

* Fixed: If the HTML added is not utf-8 the class could produce books which would fail with invalid encoding.

* Fixed: Cover page were added to the Navigation Map, it shouldn't.

* Fixed: The Coverpage HTML generated by addCoverImage was not compliant with the XHTML 1.1 specification.

* Fixed: New Zip.php which should solve problems with Mac's, if the reader software were using the default and quite brain-dead Apple zip library. It requires a very strict conformance so a specific set of OLD Unix based Zip parameters that no Windows based Zip tool uses.

* Fixed: Book description, Publisher name, Author name, Rights text, Subject, Coverage and Relations texts will be stripped of HTML tags and entities. These are not valid in the index files anyway, and some readers refuse to open the books if they are found. Most common is probbaly the &nbsp; entity.

* Changed: EPub will now use the ePub specification's recommended OEBPS sub directory for book items.

* Changed: Code cleanup.

* Changed: referenced media now attempts to include audio and video. (WARNING, AV content is NOT compatible with the notion of "SMALL").

* Added: Public variable $encodeHTML, default is FALSE. This will cause EPub to parse the HTML files added and replace special characters with entities.

* Added: Function addLargeFile. This is for adding files directly from the server harddrive, without having to load the data into memory first.

* Added: External reference processing directives "EXTERNAL_REF_ADD_IMAGES", "EXTERNAL_REF_ADD_ALL_MEDIA", "EXTERNAL_REF_REMOVE_ALL_MEDIA", "EXTERNAL_REF_REPLACE_ALL_MEDIA"

* Added: function createTOC, to generate and add a Table of Contents to the book.

* Added: public variable $referencesOrder. This is used by createTOC to order the reference pages in the book. It is also used to name these in the TOC, so you have to update this if you are making non-English books. It is an array of key/name pairs, the keys must remain the same, the order of the keys are the order in which the reference pages will appear in the book TOC generated by createTOC. Your best option is to just copy the entire array creation to your own code, and reorder and translate it from there. Note that there are two entries not included in the REFERENCE_* list, "cover" and "text", these mark the location in the TOC of the Cover page and the Book chapters respectively.

* Added: function addReferencePage. Reference pages is usually one or two pages for items such as Table of Contents, reference lists, Author notes or Acknowledgements. These do not show up in the regular navigation list. Added references are added to the books <guide> section in the opf index file.

* Added: Constants REFERENCE_* for use with the new addReferencePage. Valid REFERENCES are documented in the source:
    Acknowledgements page:
		EPub::REFERENCE_ACKNOWLEDGEMENTS
    Bibliography page:
		EPub::REFERENCE_BIBLIOGRAPHY
    Colophon page:
		EPub::REFERENCE_COLOPHON
    Copyright page:
		EPub::REFERENCE_COPYRIGHT_PAGE
    Dedication:
		EPub::REFERENCE_DEDICATION
    Epigraph:
		EPub::REFERENCE_EPIGRAPH
    Foreword:
		EPub::REFERENCE_FOREWORD
    Glossary page:
		EPub::REFERENCE_GLOSSARY
    back-of-book style index:
		EPub::REFERENCE_INDEX
    List of illustrations:
		EPub::REFERENCE_LIST_OF_ILLUSTRATIONS
    List of tables:
		EPub::REFERENCE_LIST_OF_TABLES
    Notes page:
		EPub::REFERENCE_NOTES
    Preface page:
		EPub::REFERENCE_PREFACE
    Table of contents:
		EPub::REFERENCE_TABLE_OF_CONTENTS
    Page with possibly title, author, publisher, and other meta data:
		EPub::REFERENCE_TITLE_PAGE

* Note: The complexity of the EPub class have gotten to the point where a manual is required. Anyone wanting to help writing that are more than welcome. Basic features are the same as the first version of EPub, and a book can be build easily, but advanced features added since can be less than obvious.
---------------------------------------------------------------------
Rev. 2.04 - 2011-03-13
* Fixed: The relPath function in previous versions had a bug where paths with elements containing non alphanumeric characters were not handled correctly. Function has now been rewritten and moved to the Zip class.

* Changed: function relPath is now deprecated, please use Zip::getRelativePath($relPath) instead.

* Added: Version check for the used Zip class.
---------------------------------------------------------------------
Rev. 2.03 - 2011-03-05
* Fixed: Cover was not showing on Stanza, the Cover image had not been referenced correctly in the book meta data.

* Added: Support of ePub meta tags Subject, Relation and Coverage.

* Added: Descriptions for ePub metadata tags, taken from the specification at http://dublincore.org/2010/10/11/dcelements.rdf#
---------------------------------------------------------------------
Rev. 2.02 - 2011-02-23
* Fixed: Failed in PHP 5.2 due to the way arrays were queries about the existence of a key.

* Addded const VERSION and REQ_ZIP_VERSION for future use to enable version check on dependencies.
---------------------------------------------------------------------
Rev. 2.01 - 2011-02-20
* Fixed: Sending failed when the Output buffer had been initialized with ob_start, but was empty.

* Changed: setIgnoreEmptyBuffer deprecated, function is now a default feature in Zip. (Zip.php v. 1.21)
---------------------------------------------------------------------
Rev. 2.00 - 2011-02-19
EPub Class:
* Important: Requires Zip.php version 1.2 or newer from http://www.phpclasses.org/package/6110

* Fix: EPub was loading the entire generated book into memory when finalized, it will now remain in the temp file if such have been used (typically for Books over 1 MB in size)

* Added: Constants for Identifier types: IDENTIFIER_UUID, IDENTIFIER_URI and IDENTIFIER_ISBN

* Added: Constants for External reference handling in addChapter and AddCSSFile: EXTERNAL_REF_IGNORE, EXTERNAL_REF_ADD, EXTERNAL_REF_REMOVE_IMAGES and EXTERNAL_REF_REPLACE_IMAGES.

* Added: Function setCoverImage(image path) to add a cover image to the book. Only one cover image can be added, and it will also create a XHTML entry called CoverPage.html

* Added: Protected function processChapterExternalReferences to process a HTML file and add referenced images and links, such as CSS files, and rewrite links to point to these inside the book. The function will not add the rewritten HTML, but will return it to the calling function as a DOMDocument or String depending on the input value.

* Added: Protected function processCSSExternalReferences to process a CSS file and add referenced images to the book, and rewrite these url's to point to these inside the book. The function does not add the rewritten CSS, but will return it as a string to the calling function.

* Changed: Function addChapter to include additional parameters $externalReferences (default EPub::EXTERNAL_REF_IGNORE) and $baseDir, these will cause the function to call processChapterExternalReferences before adding the html file.

* Changed: Function addCSSFile to include additional parameters $externalReferences (default EPub::EXTERNAL_REF_IGNORE) and $baseDir, these will cause the function to call processCSSExternalReferences before adding the CSS file.

* Added: Function getFileList() to get an array with the files added to the book, key will be the file path and name in the archive, and the value is the corrosponding path added, almost always identical, except in files added via the addChapterExternalReferences and addCSSExternalReferences functions.

* Added: Boolean return values to most functions to signal if the function succeeded. Others will return their normal value if successful, and false if it failed, such as when the book has been finalized.

* Added: "Getter" functions for most parameters to which there were "setter" functions. It is done deliberately as very few values can be modified directly without breaking the generated book, in the worst case resulting in an invalid or corrupt archive.

* Fix: The old UUID generation were faulty, and EPub now uses J. King's (http://jkingweb.ca/) DrUUID class for UUID generation as it is RFC4122 compliant. This WILL require an update of code which were using the old createUUID function, as the arguments have changed. See documentation for the method inside the EPub class.

* Fix: If no Identifier have been set before finalize, a random UUID will be generated.

* Fix: If no SourceURL have been set before finalize, the current URL is used.

* Fix: If no Publisher URL have been set before finalize, the current Server address is used.

* Added: Function getBookSize() to return the size of the generated book.

* Changed: Function sendBook, will automatically append .epub to the filename if this is missing.

* Added: Function getImage(filename), which will retrieve the image, determine it's size and mime type and return thie information in an array with the keys "width", "height", "mime" and "image". If GD is available the image will be resized to the limits set by the $maxImageWidth and $maxImageHeight variables in the EPub class if it exceeds these limits. Aspect ratio will be retained.

* Added: Utility functions  getCurrentPageURL() and getCurrentServerURL()

* Added setSplitSize and getSplitSize for setting the books autoSplit target size.

EPubChapterSplitter Class:
* Added: Split HTML files by search string, for instance chapters. Note, chapter search disables size checks. Returned chapter have the matched line from the HTML returned as the key of the returned array. This can be used to generate the correct chapter name entry in the book, see the updated EPub.Example1.php.
---------------------------------------------------------------------
Rev. 1.00
Initial release