home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
srev13h.zip
/
repstrgs.in
< prev
next >
Wrap
Text File
|
1999-03-19
|
4KB
|
79 lines
; An SRE-http support file. 3/99
; This contains replacement strings that can be used by the REPLACE keyphrases.
; Each line should contain:
; label replacement
; The LABEL should be a label with NO embedded spaces, and may contain
; a .HOST_NICKNAME.
; The REPLACEMENT (the STRING) should be a one-line string (of arbirary length)
; to be used when the corresponding REPLACE keyphrase is found. It may
; contain %n (n=1,2,..,or 9) "argument placeholders".
;
; Example of an entry in this file:
; PHONEME Contact Joe at 202-222-1515 for more information!
; When a "<!-- REPLACE PHONEME-->" element occurs in your HTML file,
; it is replaced by,
; Contact Joe at 202-222-15151 for more information!
;
; Example of multi line replacement:
; MYADDRESS My address is: <p>
; MYADDRESS 1800 M St NW. <br>
; MYADDRESS Washington, DC. 20035 <br>
; SRE-http will concatenate these
; "same label entries" (with a CRLF between lines)
; Note the addition of the <br> character -- HTML ignores CRLFs!
;
; Example of host-sensitive replacement
; CONTACT.ZOO Contact the ZOO information office for details.
;
; Notes:
;
; * in a multiple host environment, when "invoking" replacements
; you should NOT include the .Host_nickname -- SRE-http will
; check all entries with the appropriate .Host_nickname first,
; and then check "default" entries if no host specific match
; can be found.
; That is: do NOT use <!-- REPLACE CONTACT.ZOO -->
;
; * In other words: replacement variables may contain dots
; (see examples below) -- these "extensions" are part of
; the variable name, and do NOT signify a host_nickname.
;
; * you can include "arguments" in the REPLACE keyphrase, which will
; be substituted into the replacement string. To do this, include
; %1, %2, etc. (for the 1st,2nd, etc. arguments) "argument placeholders"
; in the replacement string.
; For example: if you define a replacement string here:
; ANNOUNCE1 Today's special is:
; and your html document contains:
; <!-- REPLACE Apples -->
; then the following is inserted in your document:
; Today's special is: Apples
;
; * these values are stored in the environment, hence will be available
; to all threads, and external procedures, running under the GoServe
; process. You can use SREF_VALUE(varname,,'INI') to look 'em up.
;
; --- End of comments
; You can change the next one to reflect your current status.
PAGE_STATUS (under construction)
; These are handy to use at the top of your document (they are valid
; DTD doctype statements)
;DOCTYPE.HTML2 <!doctype html public "-//IETF//DTD HTML 2.0//EN">
;DOCTYPE.HTML3 <!doctype html public "-//IETF//DTD HTML 3.0//EN">
;DOCTYPE.NETSCAPE <!DOCTYPE HTML PUBLIC "-//Netscape Comm. Corp.//DTD HTML//EN">
;DOCTYPE.HTML32 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
;DOCTYPE.HTML4 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
;DOCTYPE.HTML4_TRANSITIONAL <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
;
;
; This is a sample of a multi-line replacement
SEPERATOR *****************************************************
SEPERATOR <br> ***-----------------------------------------------***
SEPERATOR <br> *****************************************************
;
; a sample "argument placeholder " containing replacement (use it to generate an odometer
ODOM <!-- interpret file counter.rxx file=%1 imgtype=mbc -->
ODOM_NOLOG <!-- interpret file counter.rxx file=%1 imgtype=mbc loguser=NO -->