|
DITA Storm
browser-based DITA XML Editor
by Inmedius Inc.
|
||
|
PHP Integration Example
Description: This page contains sample code snippets to facilitate DITA Storm editor integration. Source code provided on free and unrestricted basis.
In-place Editing Example (PHP)
Expected configuration:
This example contains simple prototype of web application utilizing DITA Storm to provide in-place editing for simple set of topics. Entire application is very small, it essentially contains one PHP file (index.php - 3Kb) and DITA Storm editor. It uses file system to store DITA topics. See application live here File index.php contains both XML-to-HTML conversion and DITA Storm rendering logic switching between view and edit mode depending on the context:
Download source code here: InlineEditingPHP.zip Installation: Make sure PHP is configured to support XSL ( more...). Unpack contents of the archive into web server directory. Then open index.php file in your browser. |
|
|
Copyright © 2007
Inmedius Inc. |
||