Creating a Distribution CD

Original Author(s): Prashant Ranjan Verma

In the specification, a file system that allows long file names (more than 8+3 characters) is required. For CD-ROM, use of the "Joliet" file system is needed. It is strongly recommended to use 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 in the root of the media and SMIL files and audio files should be placed in the same place.

This means that all the files in the distribution folder of the project should be at 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 the DAISY DTBs. Follow the steps listed below for creating such a 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 of 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 may want to modify an existing "discinfo.html" file. Copy this "discinfo.html" file into the folder which contains the 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 in the body section.

    <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 choosing 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 onto the CD. Accumulate 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.html".

    Select your "discinfo.html" file and 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 along with the "discinfo.html" file should be copied onto the CD.

Example of discinfo document



<?xml version='1.0' encoding='windows-1252'?>
<!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' lang='en' xml:lang='en'>
<head>
<meta http-equiv='Content-type' content='text/html; charset=windows-1252' />
    <title>CD Information </title>
  </head>
  <body>
    <a href="./book1/ncc.html">Economics</a>
    <a href="./book2/speechgen.opf">Ecology</a>
  </body>
</html>

DAISYpedia Categories: 


This page was last edited by PVerma on Thursday, July 3, 2014 04:22
Text is available under the terms of the DAISY Consortium Intellectual Property Policy, Licensing, and Working Group Process.