Logiweb

Logiweb Help: Relay interface

Home. Help index. Up.

Introduction

A Logiweb relay is a user interface to a Logiweb server. A relay allows advanced users to play with the Logiweb protocol.

A user can send a particular request to a particular Logiweb relay by looking up a particular http url using a http browser. The relay responds by returning an html page. Go to a relay and click 'Ping' to try this.

A Logiweb relay also provides the service to translate Logiweb references to http urls (c.f. the section of http urls for details). This facility allows to refer to Logiweb pages from ordinary web pages. Go to a relay and click 'Next page' and then 'Pdf' to try this.

Layout

Html pages generated by a Logiweb relay have an array of links with a layout as follows:

Misc Navigate Attributes Redirection Help
Nop Root Index Root Help
Ping Up Type Pdf Home
Prefix Left Sibling Reference Relay
Right Url Source
Next Page Next
Remove

The present help page explains what happens when clicking each of the links.

Miscelaneous links

Clicking 'Nop' and 'Ping' sends a nop and a ping message, respectively, to the server.

Clicking 'Prefix' adds a prefix to the current request. In principle, this may be done arbitrarily many times, but the 'Prefix' link is disabled for messages that already have three or more prefixes. Messages with more than three prefixes can be constructed manually by editing the browsers url.

Navigate

The 'Navigate' buttons allow to navigate in the binary tree that makes up the server state.

Clicking 'Root' queries the type of the root node.

Clicking 'Up' queries the type of the node above the current node. This is unavailable if the current node is the root.

Clicking 'Left' queries the type of the node down left of the current node. This is unavailable if there is no such node. Clicking 'Right' is similar.

Clicking 'Next Page' queries the type of the next node in the state that has at least one url attribute ('next' in a root-to-leaf left-to-right scan of the tree starting at the current node).

When navigating the tree, remember that you look into a dynamic data structure. As an example, you can meet with a situation where you navigate to a node that has disappeared meanwhile.

Attributes

The 'Attributes' buttons allow to navigate the attributes of the current node of the binary tree that makes up the server state.

Clicking 'Index', 'Type', 'Siblings', and 'Url' queries the last avalable attribute of the given class. A node always has one and only one attribute of class 'Type'; it may have several attributes of the other classes.

Clicking 'Next' provides the next attribute of the current class of the current node. The next button provides the attributes round robin in reverse chronological order

Clicking 'Remove' asks the server to remove the current attribute. In the current, naive implementation of the server, a remove notification is ignored if it comes from a host different from the host of the server and is executed unconditionally if it comes from the servers host itself.

Redirection

When the current node has an url attribute, clicking entries in the 'Redirection' column redirects the browser to specific locations relative to that url. Whenever the Logiweb compiler generates a Logiweb page, it stores, as a bonus, various useful pages at these locations. If the url, however, points out a Logiweb page generated by other means than the Logiweb compiler, then the entries in the 'Redirection' column may very well point nowhere.

Clicking 'Root' redirects the browser to the root of the directory structure generated by the Logiweb compiler.

Clicking 'Pdf' redirects the browser to the a pdf-file that shows what the Logiweb page looks like to a user.

Clicking 'Reference' redirects the browser to a page that displays the Logiweb reference of the page in mixed endian kana, ready for pasting into the bibliography of other pages.

Clicking 'Source' redirects the browser to a page that contains the source from which the Logiweb compiler generated the Logiweb page.

Help

Clicking 'Help' refers the browser to the present page. Clicking 'Home' refers the browser to the root of the present installation of Logiweb. Clicking 'Relay' refers the browser to the front page of the user interface.

Klaus Grue, GRD-2004-08-03