home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / srev13h.zip / repstrgs.in < prev    next >
Text File  |  1999-03-19  |  4KB  |  79 lines

  1. ; An SRE-http support file. 3/99
  2. ; This contains replacement strings that can be used by the REPLACE keyphrases.
  3. ; Each line should contain:
  4. ;  label  replacement
  5. ; The LABEL should be a label with NO embedded spaces, and may contain
  6. ;       a .HOST_NICKNAME.
  7. ; The REPLACEMENT (the STRING)  should be a one-line string (of arbirary length)
  8. ;  to be used when the corresponding REPLACE keyphrase is found. It may
  9. ;  contain %n (n=1,2,..,or 9) "argument placeholders".
  10. ;
  11. ; Example of an entry in this file:
  12. ;        PHONEME  Contact Joe at 202-222-1515 for more information!
  13. ;  When a "<!-- REPLACE PHONEME-->" element occurs in your HTML file,
  14. ;  it is replaced by,
  15. ;        Contact Joe  at 202-222-15151 for more information!
  16. ;
  17. ; Example of multi line replacement:
  18. ;       MYADDRESS   My address is: <p>
  19. ;       MYADDRESS   1800 M St NW. <br>
  20. ;       MYADDRESS    Washington, DC. 20035 <br>
  21. ;  SRE-http will concatenate these
  22. ; "same label entries" (with a CRLF between lines)
  23. ;  Note the addition of the <br> character -- HTML ignores CRLFs!
  24. ;
  25. ; Example of host-sensitive replacement
  26. ;      CONTACT.ZOO Contact the ZOO information office for details.
  27. ;
  28. ; Notes:
  29. ;
  30. ;  * in a multiple host environment, when "invoking" replacements
  31. ;    you should NOT include the .Host_nickname -- SRE-http will
  32. ;    check all entries with the appropriate .Host_nickname first,
  33. ;    and then check "default" entries if no host specific match
  34. ;    can be found.
  35. ;    That is: do NOT use <!-- REPLACE CONTACT.ZOO --> 
  36. ;
  37. ;  * In other words: replacement variables may contain dots
  38. ;    (see examples below) -- these "extensions" are part of
  39. ;    the variable name, and do NOT signify a host_nickname.
  40. ;
  41. ;  * you can include "arguments" in the REPLACE keyphrase, which will
  42. ;    be substituted into the replacement string. To do this, include
  43. ;    %1, %2, etc. (for the 1st,2nd, etc. arguments) "argument placeholders"
  44. ;    in the replacement string.
  45. ;    For example: if you define a replacement string here:
  46. ;               ANNOUNCE1 Today's special is: 
  47. ;    and your html document contains:
  48. ;              <!-- REPLACE Apples -->
  49. ;    then the following is inserted in your document:
  50. ;         Today's special is: Apples
  51. ;
  52. ; *  these values are stored in the environment, hence will be available
  53. ;    to all threads, and external procedures, running under  the GoServe 
  54. ;    process. You can use SREF_VALUE(varname,,'INI') to look 'em up.
  55. ;
  56. ; --- End of comments
  57. ; You can change the next one to reflect your current status.
  58. PAGE_STATUS  (under construction)
  59.  
  60. ; These are handy to use at the top of your document (they are valid
  61. ; DTD doctype statements)
  62. ;DOCTYPE.HTML2 <!doctype html public "-//IETF//DTD HTML 2.0//EN">
  63. ;DOCTYPE.HTML3 <!doctype html public "-//IETF//DTD HTML 3.0//EN">
  64. ;DOCTYPE.NETSCAPE <!DOCTYPE HTML PUBLIC  "-//Netscape Comm. Corp.//DTD HTML//EN">
  65. ;DOCTYPE.HTML32  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  66. ;DOCTYPE.HTML4 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  67. ;DOCTYPE.HTML4_TRANSITIONAL <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  68. ;
  69. ; This is a sample of a multi-line replacement
  70. SEPERATOR      *****************************************************
  71. SEPERATOR <br> ***-----------------------------------------------***
  72. SEPERATOR <br> *****************************************************
  73. ;
  74. ; a sample "argument placeholder " containing replacement (use it to generate an odometer
  75. ODOM <!-- interpret file counter.rxx file=%1 imgtype=mbc -->
  76. ODOM_NOLOG <!-- interpret file counter.rxx file=%1 imgtype=mbc loguser=NO -->
  77.  
  78.