DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:strata

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:strata [2023-04-21 20:01] Aleksandrplugin:strata [2023-10-31 01:03] (current) Klap-in
Line 3: Line 3:
 ---- plugin ---- ---- plugin ----
 description: Add and query semi-structured data in your wiki description: Add and query semi-structured data in your wiki
-author     : Brend Wanders  +author     : François Kaag  
-email      : brend+strata@13w.nl +email      : francois.kaag@cardynal.fr
 type       : syntax, action, helper type       : syntax, action, helper
-lastupdate : 2021-12-17 +lastupdate : 2023-10-10 
-compatible : 2020-07-29 "Hogfather"+compatible : Jack Jackrum
 depends    :  depends    : 
 conflicts  : caption conflicts  : caption
 similar    : data, fields, struct similar    : data, fields, struct
-tags       : !discontinued, database, sqlite, data, tables, listing, mysql, postgresql+tags       : database, sqlite, data, tables, listing, mysql, postgresql
  
-downloadurl: https://github.com/bwanders/dokuwiki-strata/zipball/master +downloadurl: https://github.com/fkaag71/dokuwiki-strata/zipball/master 
-bugtracker : https://github.com/bwanders/dokuwiki-strata/issues +bugtracker : https://github.com/fkaag71/dokuwiki-strata/issues 
-sourcerepo : https://github.com/bwanders/dokuwiki-strata/+sourcerepo : https://github.com/fkaag71/dokuwiki-strata/
 donationurl:  donationurl: 
  
Line 21: Line 21:
 ---- ----
  
-:!: **This plugin is no longer maintained. You might want to check the [[struct|struct plugin]], or one of the other similar plugins noted above.**+This plugin was originally created by [[brend+strata@13w.nl|Brend Wanders]]. Although he could not maintain it any longer after 2021it is still useful, since no other data plugin seems to propose graph based queries that fit extremely well with the Wiki structure.
  
 The Strata plugin allows you to add data to your pages, just like the [[data]] plugin. You can think of this data either as named values attached to the page, or as describing things on the page in a more structured way. The Strata plugin allows you to add data to your pages, just like the [[data]] plugin. You can think of this data either as named values attached to the page, or as describing things on the page in a more structured way.
Line 36: Line 36:
 Search and install the plugin using the [[extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-After installation, it might be useful to copy the contents [[https://github.com/bwanders/dokuwiki-strata/blob/master/manual.txt|manual.txt]] on Github to a wiki page on your installation. This will put the [[~:reference guide]] on your own wiki installation, complete with listing of available types and aggregates.+After installation, it might be useful to copy the contents [[https://github.com/fkaag71/dokuwiki-strata/blob/main/manual.txt|manual.txt]] on Github to a wiki page on your installation. This will put the [[~:reference guide]] on your own wiki installation, complete with listing of available types and aggregates.
  
 Strata followes DokuWiki's [[config:useheading]] configuration when displaying links. Changing that setting will also adjust how Strata displays links, which might help with making a lot of the automatically generated listings and links look better. Strata followes DokuWiki's [[config:useheading]] configuration when displaying links. Changing that setting will also adjust how Strata displays links, which might help with making a lot of the automatically generated listings and links look better.
Line 221: Line 221:
   * **ref** (type hint: namespace)\\ References another piece of data or wiki page, and creates a link. An optional hint can be given to change how links are interepreted when saving them: if present, the hint is used as namespace for the link. If the hint ends with a #, all values will be treated as fragments.   * **ref** (type hint: namespace)\\ References another piece of data or wiki page, and creates a link. An optional hint can be given to change how links are interepreted when saving them: if present, the hint is used as namespace for the link. If the hint ends with a #, all values will be treated as fragments.
   * **wiki**\\ Allows the use of dokuwiki syntax; only non-block syntax is allowed (only links, formatting, etc.; no tables, headers, and other large stuff). The hint is ignored.   * **wiki**\\ Allows the use of dokuwiki syntax; only non-block syntax is allowed (only links, formatting, etc.; no tables, headers, and other large stuff). The hint is ignored.
 +  * ** enum** (type hint: value set name)\\ Searches the entry in the value set, a ''<data>'' block where rows are in the form ''label: entry'', and displays the label corresponding to the entry, or #NA if no correspondence was found.
  
  
Line 243: Line 244:
   * **Default database source name** (//Default:// ''sqlite:@METADIR@/strata.sqlite''): The [[phpfn>PDO]] data source name used to connect to the database. The ''@METADIR@'' token will be replaced with the path of DokuWiki's meta data directory.   * **Default database source name** (//Default:// ''sqlite:@METADIR@/strata.sqlite''): The [[phpfn>PDO]] data source name used to connect to the database. The ''@METADIR@'' token will be replaced with the path of DokuWiki's meta data directory.
   * **The name of the 'is a' relation** (//Default:// ''is a''): The predicate that should be used to indicate the 'is a' relation. This is used when you enter a data block with one or more classes.   * **The name of the 'is a' relation** (//Default:// ''is a''): The predicate that should be used to indicate the 'is a' relation. This is used when you enter a data block with one or more classes.
 +  * ** Data scope reduced to the current namespace ** (//Default:// ''inactive''): When set, only the triples within the current namespace are considered in expressions.
   * **The name of the 'entry title' relation** (//Default:// ''entry title''): The predicate that should be used to indicate the 'entry title' relation. The 'entry title' relation links a human readable label to the data entry. Normally, this is done automatically by the data block syntax, this setting only changes the relation used to attach the title to the data.   * **The name of the 'entry title' relation** (//Default:// ''entry title''): The predicate that should be used to indicate the 'entry title' relation. The 'entry title' relation links a human readable label to the data entry. Normally, this is done automatically by the data block syntax, this setting only changes the relation used to attach the title to the data.
   * **Enable debug information?** (//Default:// no): Tick this box if you want to have more extensive information on what's going wrong. For example, use it when the connection to the database fails.   * **Enable debug information?** (//Default:// no): Tick this box if you want to have more extensive information on what's going wrong. For example, use it when the connection to the database fails.
Line 324: Line 326:
  
 === Change Log === === Change Log ===
 +After adoption: 
 +{{rss>https://github.com/fkaag71/dokuwiki-strata/commits.atom date}} 
 +Before adoption:
 {{rss>https://github.com/bwanders/dokuwiki-strata/commits/master.atom date}} {{rss>https://github.com/bwanders/dokuwiki-strata/commits/master.atom date}}
  
Line 334: Line 338:
 ===== Bugs, Feature Requests and Patches ===== ===== Bugs, Feature Requests and Patches =====
  
-Please submit bugs and feature requests in the [[https://github.com/bwanders/dokuwiki-strata/issues|issue tracker on github]]. The easiest way to submit patches is through forking on github and opening a pull request. Alternatively, patches can be sent in unified diff format or as git patches against the master branch.+Please submit bugs and feature requests in the [[https://github.com/fkaag71/dokuwiki-strata/issues|issue tracker on github]]. The easiest way to submit patches is through forking on github and opening a pull request. Alternatively, patches can be sent in unified diff format or as git patches against the master branch.
  
plugin/strata.1682100081.txt.gz · Last modified: 2023-04-21 20:01 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