All predicatesShow sourcewiki.pl -- ClioPatria wiki-page server

This module serves wiki-pages from (by default) cliopatria(web/help). If the user requests an X.html page, it runs SWI-Prolog's PlDoc wiki-engine over the associated X.txt file.

See also
- The file load.pl binds this functionality to cliopatria(web/help).
Source find_file(+Spec, -File) is semidet[private]
Translate Spec into a File in the document-root tree. If the given extension is .html, also look for .txt files that can be translated into HTML.
Source serve_file(+File, +Request) is det[private]
Source serve_file(+Extension, +File, +Request) is det[private]
Serve the requested file.
Source serve_index_file(+Dir, +Request) is semidet[private]
Serve index.txt or index.html, etc. if it exists.
Source serve_wiki(+String, +File, +Request) is det[private]
Emit page from wiki content in String.
Source include(+Object, +Type, +Options)//[private]
Source file(+Path, Options)//[private]
Trap translation of \file(+Path, Options). The first clause reduces the label of the file to the plain file-name if the file is inside the help-system.
Source plfile_href(+Path, -HREF) is det[private]
Create a link for a file to see the (pretty) source if the file is inside the help system. Otherwise create a normal PlDoc link.
Source current_alias_root(-Root)[private]
Root is the root of the current file-alias we are served from.
Source serve_file(+File, +Request) is det[private]
Source serve_file(+Extension, +File, +Request) is det[private]
Serve the requested file.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source serve_page(Arg1, Arg2)