nowise/slimbook
Composer 安装命令:
composer require nowise/slimbook
包简介
Simple XML schema for web page markup and type setting of books.
README 文档
README
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:
-
Either install by unpacking the source somewhere outside the web root. You need to require the relevant files in your PHP scripts.
-
Install using composer:
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$> cd $appdir bash$> cp config/apache.conf.in config/apache.conf
Edit apache.conf and include it in your Apache configuration file.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-01-29