This plugin provides several tools which allow for working with XML tiddlers.
<$xpath>
widget and[xpath[]]
operator allows iterating through your XML tiddlers using XPath queries.- Allows rendering of XML tiddlers, as well as the ability to directly render XML files using templates instead of showing their raw data.
- Provides importing and exporting tiddlers in XML
For a demonstration, and for documentation, see the tiddlywiki demo site.
Visit the demo site. It will have a simple drag-and-drop installation icon.
The following is an abridged version of the instructions found here.
First, check out the source code using git. Then copy the contents of the plugins
directory into a "flibbles" directory in a path where you'd like it to be available. Then add that path to the TIDDLYWIKI_PLUGIN_PATH environment variable.
For instance, copy the contents of the plugin directory to "~/.tiddlywiki/flibbles" directory. Then run echo "TIDDLYWIKI_PLUGIN_PATH=~/.tiddlywiki" >> .profile
If you've installed it correctly, the path to the plugin.info
file should look something like:
~/.tiddlywiki/flibbles/xml/plugin.info
Afterward, add the plugin inside your projects' tiddlywiki.info
file.
The plugins section will look something like:
{
...
"plugins": [
...
"flibbles/xml"
],
...
}
Alternatively, you can also copy the plugins
directly into your projects'
root directory. Though this makes the install local only to those specific
projects.
Note: If you're performing Node.js server operations using tw5-xml, you may need to install some dependencies first. See the documentation for more details.
Make sure you have tiddlywiki
available on your PATH. Then from the project root directory, type:
tiddlywiki --build test