An ultra-light PHP/JS micro-wiki tool for those who wish to embed a wiki into an existing page and only need a limited feature set.
Note: At the moment this is more an experiment to discover what's the least amount of code to implement such a feature, but your suggestions/pull requests are welcome!
ezyang/HTMLPurifier for the input/output santising.contentEditable for editing.Completely untested on several browsers :)
Requires SQLite support for versioning. (Hopefully make this extensible for other formats in the future)
Install the composer package.
/writeable/path/to/sqlitedbs to a path that your web-server can read/write from.receiver.php$page_name = "some identifier";
require __DIR__ . '/vendor/autoload.php';
$wiki = new Embeddedwiki($page_name, "/writeable/path/to/sqlitedbs");
print $wiki->render();
All input/output is passed via ezyang/HTMLPurifier
3 commits
PHP
100.0%
An ultra-light PHP/JS micro-wiki tool for those who wish to embed a wiki into an existing page and only need a limited feature set.
Note: At the moment this is more an experiment to discover what's the least amount of code to implement such a feature, but your suggestions/pull requests are welcome!
ezyang/HTMLPurifier for the input/output santising.contentEditable for editing.Completely untested on several browsers :)
Requires SQLite support for versioning. (Hopefully make this extensible for other formats in the future)
Install the composer package.
/writeable/path/to/sqlitedbs to a path that your web-server can read/write from.receiver.php$page_name = "some identifier";
require __DIR__ . '/vendor/autoload.php';
$wiki = new Embeddedwiki($page_name, "/writeable/path/to/sqlitedbs");
print $wiki->render();
All input/output is passed via ezyang/HTMLPurifier
3 commits
PHP
100.0%