https://github.com/nowisesys/slimbook
Simple XML schema for web page markup and type setting of online books/manuals.
https://github.com/nowisesys/slimbook
books manuals php-library xml-document
Last synced: about 1 month ago
JSON representation
Simple XML schema for web page markup and type setting of online books/manuals.
- Host: GitHub
- URL: https://github.com/nowisesys/slimbook
- Owner: nowisesys
- License: apache-2.0
- Created: 2019-01-28T23:42:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T00:11:54.000Z (over 6 years ago)
- Last Synced: 2025-02-16T08:27:28.292Z (3 months ago)
- Topics: books, manuals, php-library, xml-document
- Language: PHP
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slimbook
## Simple XML schema for web page markup and type setting of online books/manuals.This package provides a simple XML schema targeted at writing technical manuals
in either book (multiple chapters) or page (single chapter) form.The XML schema can be used on its own or together with the PHP classes provided
by this package. Using the PHP classes, its possible to render the SlimBook XML
document in various formats (e.g. HTML, PDF, DVI, MS Word or LaTeX/TeX).Integrate handler.php with Apache to provide an XML based web site.
### Directories:
o) public:
This directory contains the XML schema, DTD and some examples. For core users
doing their own formatting, the slimbook.xsd is all you need.o) source:
This directory contains the PHP code for rendering SlimBook XML schema
constraint documents in various output formats.### Install:
1. Either install by unpacking the source somewhere outside the web root. You
need to require the relevant files in your PHP scripts.2. Install using composer:
```bash
bash$> composer require nowise/slimbook
```This command should take care of deploying slimbook along with its
dependencies.### Setup:
The SlimBook handler can be integrated with the Apache web server to dynamic
render all XML document. Create a config protected file and include in your
virtual host definition:```bash
bash$> cd $appdir
bash$> cp config/apache.conf.in config/apache.conf
```Edit apache.conf and include it in your Apache configuration file.