Difference between revisions of "XmlWiki"
From Organic Design wiki
Line 1: | Line 1: | ||
− | ''' | + | '''xmlWiki is an object-oriented Wiki''' |
[[Image:xmlwiki.jpg]] | [[Image:xmlwiki.jpg]] | ||
Line 5: | Line 5: | ||
xmlWiki is a hack not done the proper way: it is a modification of the index.php page offering new features which are all maintained from editing normal wiki articles. | xmlWiki is a hack not done the proper way: it is a modification of the index.php page offering new features which are all maintained from editing normal wiki articles. | ||
− | *All articles are XML | + | *All articles are objects stored in XML |
*An additional xml page allows editing the data aspect of an article as a tree. | *An additional xml page allows editing the data aspect of an article as a tree. | ||
*A permissions structure offering basic read/write control over articles with users and groups. | *A permissions structure offering basic read/write control over articles with users and groups. |
Revision as of 10:51, 26 May 2005
xmlWiki is an object-oriented Wiki
xmlWiki is a hack not done the proper way: it is a modification of the index.php page offering new features which are all maintained from editing normal wiki articles.
- All articles are objects stored in XML
- An additional xml page allows editing the data aspect of an article as a tree.
- A permissions structure offering basic read/write control over articles with users and groups.
- PHP Functions can be created and maintained by developers and can be dynamically applied to articles before rendering.
- Articles can made to automatically publish remotely over HTTP or FTP when edits are saved.
The general model of the xmlWiki layer are as follows:
INIT
- get wiki/request env
- get article
- permissions
INPUT
- if valid xml posted, update article-dom
- put into POST as text for MediaWiki
OUTPUT
- trap MediaWiki output
- extract content and links
- add xml link
- render transform article if view/preview
- render description-textarea if editing
- render xml-textarea(xw.xml) if $action=xwXML
- render wiki content if special
- publish article if saving
FUNCTION
- get article as dom
- etxract hrefs from text
- message
ADMIN
- enable patch
- disable patch
Implimenting the Hack
Use the xmlwiki.php script to enable or disable the xml parsing of MediaWiki content.