Using DynaDocDynaDoc is PHP program that is executed by entering its URL in a browser. It reads "raw" document source files and generates the final document as set of linked HTML pages. Documents to be created using DynaDoc are written as "content blocks" in HTML (one file per page). DynaDoc also requires a page layout template and text "script" to define the sequence of the pages. Document Creation ProcessCreating a document requires some set up steps.
Once the set up is complete, the only remaining step is to run DynaDoc. This is accomplished by providing the URL to DynaDoc in a browser. DynaDoc requires the Project Name and Project Directory. The project directory must include the trailing slash. Example:
When working on multiple projects, DynaDoc is also set up to work with project lists as input. See the Advanced Techniques section. DynaDoc will do the following:
A graphic representation of this process is provided below: DynaDoc will actually create two sets of output. One for viewing, and two print versions. Typically, the viewing version will be complete (it is easy to navigate and disk space is cheap), and the print version will be a subset (think green). The print versions will consolidate all pages to single files for printing purposes. One print version will include only those pages specified to be included in the print version. The second print version will include all pages from the viewing version. Document Viewing ProcessThe final document will be contained in a folder structure defined by the user. The root folder of this set can be posted on a domain or a local file system. Any HTML file within the output can be opened in a browser for viewing, either by specifying the URL, or dragging and dropping the file on a browser window. Typically, the first page of the document will be named index.html for ease of use. Advanced FeaturesThere are other advanced features and capabilities of DynaDoc that are described later in this document. |
|
|