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

Similar to datatemplate

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

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.

<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: 2010/10/10 14:36 by lupo49
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate