home *** CD-ROM | disk | FTP | other *** search
/ ftp.sunet.sepub/pictures / 2014.11.ftp.sunet.se-pictures.tar / ftp.sunet.se / pub / pictures / ACiD-artpacks / www / mirrors / hirez / discus_admin_90939126 / webtags.conf < prev   
Text File  |  1998-12-01  |  7KB  |  196 lines

  1. #This is the configuration file for WebTags
  2. #It is read by the scripts as needed for interpretation
  3. #You can modify any of the tags in this file
  4.  
  5. ###########################################################
  6. # SPECIAL CHARACTER DEFINITIONS
  7. #
  8. # All special character definitions start with a C to indicate
  9. # that they are a special character definition.  The first column 
  10. # is a C,  the second column is the input_code the user types 
  11. # into the \ch{input_code} tag, and the third column is the output
  12. # (actual HTML definition of the special character).  Columns
  13. # are delimited with one or more space characters (tabs are
  14. # recommended).  
  15.  
  16. # Built in special character definitions
  17.  
  18. C    ->        <FONT FACE="SYMBOL">®</FONT>
  19. C    <-        <FONT FACE="SYMBOL">¬</FONT>
  20. C    /|        <FONT FACE="SYMBOL">­</FONT>
  21. C    \/        <FONT FACE="SYMBOL">¯</FONT>
  22. C    t        †
  23. C    tt        ‡
  24. C    dot        •
  25. C    .        •
  26. C    TM        ™
  27. C    c        ©
  28. C    <<        «
  29. C    R        ®
  30. C    deg        °
  31. C    +-        ±
  32. C    =/=        <FONT FACE="SYMBOL">¹</FONT>
  33. C    int        <FONT FACE="SYMBOL">ò</FONT>
  34. C    :)        <FONT FACE="WINGDINGS">J</FONT>
  35. C    :|        <FONT FACE="WINGDINGS">K</FONT>
  36. C    :(        <FONT FACE="WINGDINGS">L</FONT>
  37. C    mu        µ
  38. C    1/2        ½
  39. C    1/4        ¼
  40. C    >>        »
  41. C    A        Å
  42. C    Aring    Å
  43. C    nullset    Ø
  44. C    /        ÷
  45. C    forall    <FONT FACE="SYMBOL">"</FONT>
  46. C    <=        <FONT FACE="SYMBOL">£</FONT>
  47. C    >=        <FONT FACE="SYMBOL">³</FONT>
  48. C    <>        <FONT FACE="SYMBOL">«</FONT>
  49. C    inf        <FONT FACE="SYMBOL">¥</FONT>
  50. C    ==        <FONT FACE="SYMBOL">º</FONT>
  51. C    del        <FONT FACE="SYMBOL">¶</FONT>
  52. C    DEL        <FONT FACE="SYMBOL">Ñ</FONT>
  53. C    =>        <FONT FACE="SYMBOL">Þ</FONT>
  54. C    therefore    <FONT FACE="SYMBOL">\</FONT>
  55. C    line    <HR WIDTH=75% SIZE=2>
  56. C    br    <br>
  57. C    BR    <br>
  58. C    nbsp     
  59.  
  60. ###########################################################
  61. # FORMATTING TAG DEFINITIONS
  62. #
  63. # All formatting tag definitions start with a number from
  64. # 1 to 5 to describe the context in which the tag will be
  65. # interpreted.  The context contained in this file (called
  66. # the "context") is directly related to the "procedure" in the
  67. # program.  The procedures in the program are numbered as
  68. # follows:
  69. #    0:    Message entry (post program, etc.)
  70. #    1:    Message editing with administration prog.
  71. #    2:    -unused- (reserved for future edition)
  72. #    3:    Subject lines
  73. #
  74. # When the "context" of the tag is LESS THAN OR EQUAL TO the
  75. # "procedure" in the program,  the tag is NOT ALLOWED.
  76. # (Equivalently,  only those tags whose "context" is greater
  77. # than the "procedure" in the program are allowed.)
  78. #
  79. # For example,  the tag "rgb" is NOT allowed in a subject line
  80. # because the "context" for "rgb" is 3 (defined below) and the
  81. # "procedure" for a subject line is also 3 (defined in the
  82. # program).  Because 3 <= 3,  the tag is rejected.
  83. #
  84. # It suffices to enter your own custom tags in the correct
  85. # section based on the desired behavior below (as long as you keep
  86. # the "context" the same as the other entries in that section).
  87. # As a rule,  the higher the "context" in this file,  the more places
  88. # that the defined tag can be used.
  89. #
  90. # The notation !VAR(variable_name)! inserts the current value
  91. # of the given program variable name.  Any program variable is
  92. # supported using this notation (you do NOT put the $ in front
  93. # of the variable name -- the script does this).
  94. # The following variable are a few of the variable names
  95. # that are supported with an example given in parentheses:
  96. #    !VAR(html_url)!            (http://your.domain.com/discus)
  97. #    !VAR(topic_number)!        (25)
  98. #    
  99. # Formatting tags are separated with one or more space
  100. # characters (tabs recommended).  The first column is the "context"
  101. # as defined above, the second column is the code that the user enters
  102. # (for example, in the \b{Bold!} tag, it is the "b"), and the third
  103. # column is the actual HTML output with user input denoted as arguments.
  104. # Arguments take the form |1|, |2|, and so on (the | is the pipe).  A 
  105. # tag may have as many arguments as needed.
  106.  
  107. # Context 5 codes
  108. #
  109. # Tags with "context" 5 are "wide open."  Because no program "procedure" has
  110. # a number greater than 3,  the "context" 5 will always be greater than the
  111. # "procedure,"  and hence the tag will ALWAYS be allowed.
  112. # This is a good place for simple text formatting,  such as bold and italics.
  113. # Context 5 codes are the ONLY tags allowed in subject lines (and are a
  114. # subset of allowable codes in message editing).
  115.  
  116. 5    b        <B>|1|</B>
  117. 5    i        <I>|1|</I>
  118. 5    gr        <FONT FACE="SYMBOL">|1|</FONT>
  119. 5    greek        <FONT FACE="SYMBOL">|1|</FONT>
  120. 5    sup        <SUP>|1|</SUP>
  121. 5    super        <SUP>|1|</SUP>
  122. 5    +        <SUP>|1|</SUP>
  123. 5    sub        <SUB>|1|</SUB>
  124. 5    -        <SUB>|1|</SUB>
  125. 5    fixed        <FONT FACE="Courier New">|1|</FONT>
  126. 5    u        <U>|1|</U>
  127. 5    char        &#|1|;
  128. 5  hidden
  129.  
  130. # Context 3 codes
  131. # Context 3 codes are allowed everywhere EXCEPT in subject lines.  Because
  132. # the only program "procedure" with a "procedure" of 3 is the subject line
  133. # editor,  only those tags with context 4 or higher will be permitted (and
  134. # likewise,  tags with context of three or less will be rejected).
  135. #
  136. # Context 3 codes are good for text sizing and coloring as well as links.
  137.  
  138. 3    rgb        <FONT COLOR="|1|">|2|</FONT>
  139. 3    int        <FONT FACE="SYMBOL" SIZE="+2">ò</FONT><SUB><FONT SIZE="-1">|1|</FONT> \
  140.             </SUB><SUP><FONT SIZE="-1">|2|</FONT></SUP>
  141. 3    size2        <FONT SIZE="+2">|1|</FONT>
  142. 3    size1        <FONT SIZE="+1">|1|</FONT>
  143. 3    size0        <FONT SIZE="+0">|1|</FONT>
  144. 3    size-1    <FONT SIZE="-1">|1|</FONT>
  145. 3    size-2    <FONT SIZE="-2">|1|</FONT>
  146. 3    2        <FONT SIZE="+2">|1|</FONT>
  147. 3    1        <FONT SIZE="+1">|1|</FONT>
  148. 3    0        <FONT SIZE="+0">|1|</FONT>
  149. 3    -1        <FONT SIZE="-1">|1|</FONT>
  150. 3    -2        <FONT SIZE="-2">|1|</FONT>
  151. 3    qbcolor    <FONT COLOR="QBCOLOR|1|">|2|</FONT>
  152. 3    strike    <STRIKE>|1|</STRIKE>
  153. 3    blink        <BLINK>|1|</BLINK>
  154. 3    c        <CENTER>|1|</CENTER>
  155. 3    center    <CENTER>|1|</CENTER>
  156. 3    mail        <A HREF="mailto:|1|">|2|</A>
  157. 3    link        <A HREF="|1|">|2|</A>
  158. 3    topurl    <A HREF="|1|" TARGET="_top">|2|</A>
  159. 3    newurl    <A HREF="|1|" TARGET="_blank">|2|</A>
  160. 3    table        <TABLE BORDER=1><TR><TD>|1|</TD></TR></TABLE>
  161. 3    tablenb    <TABLE><TR><TD>|1|</TD></TR></TABLE>
  162. 3    list        <UL><LI>|1|</LI></UL>
  163. 3    clipart    <IMG SRC="!VAR(html_url)!/clipart/|1|.gif">
  164. 3    red        <FONT COLOR="ff0000">|1|</FONT>
  165. 3    black        <FONT COLOR="000000">|1|</FONT>
  166. 3    blue        <FONT COLOR="0000ff">|1|</FONT>
  167. 3    green        <FONT COLOR="119911">|1|</FONT>
  168. 3    yellow    <FONT COLOR="ffff00">|1|</FONT>
  169. 3    purple    <FONT COLOR="aa00aa">|1|</FONT>
  170. 3    orange    <FONT COLOR="ff6000">|1|</FONT>
  171. 3    cyan        <FONT COLOR="0077aa">|1|</FONT>
  172. 3    gray        <FONT COLOR="808080">|1|</FONT>
  173. 3    white        <FONT COLOR="ffffff">|1|</FONT>
  174. 3    image_notuploaded    <IMG SRC="!VAR(url_to_default_image)!" ALT="|1|">
  175. 3    image_alreadyuploaded    <IMG SRC="!VAR(html_url)!/messages/!VAR(topic_number)!/|1|.gif" ALT="|2|">
  176. 3    sum        <FONT FACE="symbol" SIZE=+2><B>S</B></FONT><SUP><FONT SIZE="-1">|2|</FONT> \
  177.             </SUP><SUB><FONT SIZE="-1">|1|</FONT></SUB>
  178. 3    font        <FONT FACE="|1|">|2|</FONT>
  179. 3    quote        <BLOCKQUOTE>|1|</BLOCKQUOTE>
  180. 3    indent    <BLOCKQUOTE>|1|</BLOCKQUOTE>
  181. 3    jpeg_alreadyuploaded    <IMG SRC="!VAR(html_url)!/messages/!VAR(topic_number)!/|1|.jpg" ALT="|2|">
  182.  
  183. # Context 1 codes
  184. # Context 1 codes are permitted in message posting ("procedure" 0 in the
  185. # program),  because every other "procedure" in the program has a "procedure"
  186. # greater than zero.  Hence,  the "context" of 1 will only be allowed when
  187. # the "procedure" is 0.  The only tag recommended for this section is the
  188. # image upload tag.
  189.  
  190. 1    image        <IMG SRC="!VAR(url_to_default_image)!" ALT="|1|">
  191.  
  192.  
  193.  
  194.  
  195.