DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dataloop

DataLoop Plugin

Compatible with DokuWiki

2009-12-25c

plugin Adds new output options to work with “Structured Data Plugin”

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

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with !experimental, data, database, listing, sqlite, tags

Warning

Not compatible with data plugin later than 2010-03-22 (I am working on it).

Download and Installation

Search and install the plugin using the Extension Manager. 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.

<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>

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.txt · Last modified: 2018-05-30 21:43 by Klap-in