Creating a Distribution CD
In the specification, it is required to have file system that allows long file names (more than 8+3 characters). For CD-ROM, use of the "Joliet" file system is required. It is strongly recommended to use the mode 1 or CD-ROM TOC type.
There are two ways to create a distribution CD.
- Creating a distribution CD containing only one DAISY DTB
- Creating a distribution CD containing more than one DAISY DTB
Creating a distribution CD containing only one DAISY DTB
When distributing the DAISY projects, the "ncc.html" file in the case of a DAISY 2.02 book or the "*.opf" file in the case of a DAISY 3 book should be on the root of the media and SMIL files and audio files should be on the same place.
It means that all the files in the distribution folder of the project should be on the root of the CD.
Creating a distribution CD containing more than one DAISY DTB
When creating a distribution CD containing more than one DAISY DTB, a file named "discinfo.html" should be added along with the different folders of DAISY DTBs. Follow the steps listed below for creating such CD which will play on all hardware & software DAISY DTB Players.
1. Make sure that the folder name containing the DAISY Book only uses letter ([A-Z a-z]), digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".") and does "NOT" use any spaces.
2. Make sure that all the files are directly inside the main folder which to be on the media. They should not be in any subfolders.
3. Check the size of the folders. The total size of all the folders should not exceed the capacity of the CD.
4. Prepare the file "discinfo.html" carefully. You can modify an existing "discinfo.html" file. This may be convenient. Copy such "discinfo.html" file to the folder which contains DTB project folders. If you do not have a sample file with you, you can easily create one by using the code given at the end of this article.
5. The "discinfo.html" file contains a line similar to the following line in the body.
<a href="./FOLDER_NAME/ncc.html">BOOK NAME</a>
In the above line replace "FOLDER_NAME" with the project folder name and "BOOK NAME" with the Title of the book which you are writing on the CD. In the case of a DAISY 3 version book, replace "ncc.html" with the name of the OPF file inside the DAISY book folder.
If you are copying three folders or books then there should be three such statements in the "discinfo.html" file.
Note that for editing the "discinfo.html" file you can open it in NOTEPAD by bringing up the CONTEXT MENU using the APPLICATIONS KEY and chosing OPEN WITH...
6. If you are preparing a CD which contains only DAISY 2.02 books, you can also validate the discinfo.html file using the DAISY 2.02 Validator before writing the folders on to the CD. Accumalate all the book folders and the "discinfo.html" file inside one folder and open the VALIDATOR. Go into the CANDIDATES MENU and select ADD SINGLE FILES.. and then "discinfo".
Select your "discinfo.html" file ant then RUN the VALIDATOR by pressing CONTROL + R. If there are no errors, you can proceed to writing the files to the CD. If the VALIDATOR displays some errors, review and correct them.
7. Finally all the folders alongwith the "discinfo.html" file should be copied onto the CD.
Example of discinfo document
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content='text/html; charset="iso-8859-1"' />
<title>CD Information</title>
</head'>
<body>
<a href="./book1/ncc.html">Economics</a>
<a href="./book2/speechgen.opf">Ecology</a>
</body>
</html>
Text is available under the terms of the DAISY Consortium Intellectual Property Policy, Licensing, and Working Group Process.
- © 2012 DAISY Consortium. All Rights Reserved.