BARIX Instreamer Bedienungsanleitung Seite 27

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 39
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 26
Technical Documentation “Instreamer “ - V4.03 - 24th October 2013
2.14 Dynamic Web Page
Web pages can include dynamic values. Dynamic Web Pages are built in HTML or XML or in an other text file format that exclude the binary character
0x00, i.e. the dynamic page can be an HTML file. It's possible to use scripts or everything else allowed in the given document's file format.
Initial Dynamic Mark
In order to indicate that Web page is dynamic, it has to contain the special initial dynamic mark &L(0,"*"); in the first 500 Bytes and before any
other dynamic value is used. The initial mark can also have decimal number as its optional third parameter. Example of such initial mark is
&L(0,“*“,1);.
The third parameter is parsed bitwise and has the following meaning:
If bit 7 is set then the code page IBM437 will be used instead of the standard HTML code page.
If bit 4 is set the access will be exclusive (only one user at a time, tested by its IP address). The user has to logout or the software
does an automatic logoff 20 min after the last access to such a page. Only one password level can have the exclusive feature (doesn't
matter which one).
Bits 1-3 are used as password level (1-6) for the file corresponding to the password level parameters in the configuration.
Example for level 5: &L(0,"*",10);
If bit 0 is set, then the content length will not be included in the HTTP header. Page is sent faster by saving the time needed to
calculate the content length.
Syntax of Dynamic Marks
Dynamic marks can be used to put dynamic values in Web pages. All dynamic marks have the following syntax:
&L<name>(<id>,<format>[,par]);
A dynamic mark always starts with &L and it is always case sensitive.
<name> selects a group of dynamic values. Defined is the “Setup” group for all configuration parameters and the “State” group for
actual parameter states. Remaining parameters are included in parentheses, with the right parenthesis followed by a semicolon.
<id> determines the desired function.
<format> is a C-style format string (refer to the ANSI documentation).
<par> are optional additional parameters. If additional parameters are needed, it is mentioned in the function lists below.
Note: The string “);” is not allowed inside a dynamic mark.
To have this construct inside the format string, use “)\;“(in an unknown escape sequence, only the '\' will be removed).
To have a “%” sign (percent sign) inside the format string, use “%%” (two signs without space).
27 Software Application Interface Software Application Interface 27
Seitenansicht 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 38 39

Kommentare zu diesen Handbüchern

Keine Kommentare