Extension:RDFEditor
From MediaWiki.org
This page is under construction
This extension is an applet-base alternate editor. It is used to edit a RDF/XML document.
|
RDF Editor Release status: beta |
|
|---|---|
| Implementation | Hook |
| Description | Edit, validate (syntax and schema) and submit a XML/RDF document. |
| Author(s) | Pierre Lindenbaum |
| Last version | 1.0 (2009-06-09) |
| MediaWiki | Tested on 1.13.3 |
| License | No license specified |
| Download | see below |
| Check usage and version matrix | |
Description [edit]
On opening, the java applet is opened, and the user write a XML/RDF document in a textarea.
The syntax of XML/RDF is checked. The document is also validated vs a schema localized in ${MW}/mwrdf/schema.rdf. If there is an error, a message is displayed and the 'Save Button' is disabled.
Once the document is saved, it is displayed as a <PRE> section. Categories are bound to "mwrdf/shema.rdf and are automatically added.
and the document can be retrieved with the Mediawiki API.
Installation [edit]
- Install the java JRE (version > 1.6)
- The MediaWiki API must be enabled for action=query
- append the following code at the end of
${MW}/LocalSettings.php
require_once("mwrdf/RDFEdit.php");
- download mwrdf.zip' from http://code.google.com/p/lindenb/downloads/list
- unzip the file mwrdf.zip in
${MW} - edit the schema
mwrdf/schema.rdf(TODO, describe the Schema for ... the schema... :-) )
References [edit]
- http://www.javaworld.com/javaworld/jw-08-2008/jw-08-java-wiki-extensions.html Add Java extensions to your wiki