/swish/lib/page.pl
AllApplicationManualNameSummaryHelp

  • swish
    • lib
      • messages.pl
      • paths.pl -- Setup SWISH search paths
      • config.pl -- Make HTTP locations known to JSON code
      • page.pl -- Provide the SWISH application as Prolog HTML component
        • logo//1
        • swish_reply/2
        • swish_reply_resource/1
        • swish_page//1
        • swish_navbar//1
        • pengine_logo//1
        • swish_logo//1
        • swish_content//1
        • swish_resources//0
      • help.pl -- SWISH help system
      • search.pl -- SWISH search from the navigation bar
      • chat.pl -- The SWISH collaboration backbone
      • storage.pl -- Store files on behalve of web clients
      • gitty.pl -- Single-file GIT like version system
      • gitty_driver_bdb.pl -- Gitty BDB driver
      • gitty_driver_files.pl -- Gitty plain files driver
      • patch.pl -- Run patch program
      • authenticate.pl -- Authentication access for SWISH
      • pep.pl -- SWISH PEP (Policy Enforcement Point)
      • avatar.pl -- Avatar management
      • noble_avatar.pl -- Noble Avatar generator
      • chatstore.pl -- Store chat messages
      • content_filter.pl -- Ban list content filter
      • include.pl -- Support :- include(File) from SWISH
      • swish_csv.pl -- Support CSV output from a Pengines server
      • examples.pl -- Serve example files
      • md_eval.pl -- Provide evaluable markdown
      • profiles.pl
      • highlight.pl -- Highlight token server
      • markdown.pl -- SWISH Notebook markdown support
      • template_hint.pl -- Generate template hints for CondeMirror
      • render.pl -- SWISH term-rendering support
      • web.pl -- Serve /plugin
      • version.pl -- Manage software versions
      • oauth2.pl -- Oauth2 based login
      • form.pl -- Form handling utilities
      • bootstrap.pl -- Bootstrap form generator
      • session.pl -- Setup SWISH sessions
      • trace.pl --
      • projection.pl -- Define the projection
      • attvar.pl
      • jquery.pl -- Call jQuery on the SWISH interface
      • dashboard.pl -- Provide non-programmer query execution
      • html_output.pl -- SWISH HTML Output
      • swish_debug.pl
      • procps.pl
      • flags.pl
      • swish_chr.pl -- Make CHR available in SWISH
 swish_reply(+Options, +Request)
HTTP handler to reply the default SWISH page. Processes the following parameters:
code(Code)
Use Code as initial code. Code is either an HTTP url or
url(URL)
Download code from URL. As code(URL), but makes the browser download the source rather than the server.
background(Code)
Similar to Code, but not displayed in the editor.
examples(Code)
Provide examples. Each example starts with ?- at the beginning of a line.
q(Query)
Use Query as the initial query.
show_beware(Boolean)
Control showing the beware limited edition warning.
preserve_state(Boolean)
If true, save state on unload and restore old state on load.