DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dataloop

This is an old revision of the document!


dataloop plugin

Compatible with DokuWiki

Devel only

plugin Adds new output options to work with "Structured Data Plugin"

Last updated on
2009-08-06
Provides
Syntax, Helper, Action
Requires
data

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

Similar to datatemplate, structtemplate

Tagged with data, database, experimental, sqlite, tags

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

Usage Example

The properties are the same as those used by Structured Data Plugin, then a replacement system based on @@FIELDNAME@@ using _ to modify things

<dataloop
cols    : Title, Link, Author, description, date_dt
sort    : Rating
filter  : %pageid% ~ links:*
>
===== @@Link_url_Title@@ =====

//@@Author@@// - @@description@@
</dataloop>

Which could give html like this for 1 matching entry.

<html> <h2><a href=“http://www.access-space.org/”>Access Space</a></h2><div class=“level2”>

<p> <em>Martyn Eggleton</em> - The Access Space web site is being redeveloped using DokuWiki

</p> </div>

</html>

Other Modes

Other modes are included but not documented as they haven't got a practical use yet. Specifically datatextloop which ignores all wiki mark up and is intended for possible use for generating graphviz dot markup from collections of data tagged pages.

plugin/dataloop.1249568121.txt.gz · Last modified: 2009-08-06 16:15 by 195.10.233.101

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki