Skip to content

Commit

Permalink
Item8420: historical plugin for educational purposes
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/DbXmlPlugin@6143 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OliverKrueger authored and OliverKrueger committed Jan 25, 2010
0 parents commit cbd2b9b
Show file tree
Hide file tree
Showing 6 changed files with 1,086 additions and 0 deletions.
36 changes: 36 additions & 0 deletions data/System/DbXmlPlugin.txt
@@ -0,0 +1,36 @@
%META:TOPICINFO{author="OliverKrueger" date="1136366900" format="1.1" version="1.3"}%
---+!! <nop>DbXml Plugin
%TOC%

%RED% _This plugin is not ready for productive systems_ (and will probably never be).
It is for educational usage only. %ENDCOLOR%

---++ <nop>%TOPIC% Settings
* Short Description of the <nop>DbXml Plugin
* Set SHORTDESCRIPTION = Offers an interface to the Sleepycat Berkeleys DBXML.

---++ Syntax Rules
=%<nop>DBXMLQUERY{ query="valid XQuery term" container="container file to be queried" }%=

Example: (Last modification timestamp of [[Main.WebHome]]:

%DBXMLQUERY{ query="collection('twiki.dbxml')/data[@topic='WebHome'][@web='Main']/metadata/topicinfo/xs:string(@date)" container="twiki.dbxml" }%


---++ Plugin Installation Instructions

__Note:__ You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where Foswiki is running.
* copy all files into the appropriate locations
* edit / save any topic in order to create the =data/twiki.dbxml= file

---++ Plugin Info

| Plugin Author: | Foswiki:Main.OliverKrueger, Foswiki:Main.AndreUlrich, TWiki:Main.PatrickDiamond |
| Plugin Version: | 27th Dec 2005 (V1.001) |
| Change History: | |
| 27 Dec 2005: | Initial version, prototype |
| CPAN Dependencies: | XML::Simple, Text::ParseWords, Sleepycat::DbXml |
| Other Dependencies: | |
| Perl Version: | 5.6 |
| Plugin Home: | http://foswiki.org/Extensions/%TOPIC% |

0 comments on commit cbd2b9b

Please sign in to comment.