DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dataloop

DataLoop Plugin

Compatible with DokuWiki

Lemming

plugin Adds new output options to work with “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.

Similar to datatemplate, structtemplate

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: 2023-12-21 16:24 by Aleksandr

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