User Tools

Site Tools


Sidebar

Hello!

Start here!

Download

Loki Semantic Wiki

BiFröST Framework

Semantic Business Platform

BPWiki

SBVRwiki

Other Projects



docs:plwiki1ex
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.

PlWiki 1.0 - Plugin API examples

Simple use case

kate

IMPORTANT: This knowledge is not saved in cache !!

Adding knowledge to the page

IMPORTANT: cache=“true” so knowledge will be saved.

Goal and scope

jack
jim

Prolog interface

  • list all predicates in selected scope:


'$member'
'$pack':pack_dir
->atomic_list_concat
;atomic_list_concat
atom_concat
current_prolog_flag
file_search_path
library_directory
man
pcehome_
prolog_file_type
system:'$xdg_prolog_directory'
system:current_prolog_flag
wiki_header

  • list info about selected predicate:

man(jack).
man(jim).

Additional functionality

Plugin automatically saves information about page structure. In each scope several predicates are available:

  • header(Name, Level).
  • internallink(Scope, Url).
  • externallink(Name, Url).


docs/plwiki1ex.txt · Last modified: 2022/03/23 16:59 (external edit)