Changes between Version 5 and Version 6 of Development/Styles/LogFileFormat


Ignore:
Timestamp:
Aug 4, 2006 3:49:36 PM (12 years ago)
Author:
colloquy
Comment:

added examples

Legend:

Unmodified
Added
Removed
Modified
  • Development/Styles/LogFileFormat

    v5 v6  
    3636These elements contain `by`: `event`. 
    3737 
    38 === Examples === 
    39  
    40 See `event`. 
     38=== Example === 
     39 
     40{{{ 
     41<by identifier="chanserv">ChanServ</by> 
     42}}} 
    4143 
    4244---- 
     
    5860These elements contain `envelope`: `log`. 
    5961 
     62=== Example === 
     63 
     64{{{ 
     65<envelope> 
     66  <sender hostmask="nonex@xx.yy.net" class="operator">nonex</sender> 
     67  <message received="2003-10-25 13:28:40 -0400">not a whole lot <span class="emoticon smile"><samp>:)</samp></span></message> 
     68  <message received="2003-10-25 13:28:52 -0400">just surfing the internet.</message> 
     69  <message received="2003-10-25 13:28:54 -0400">seen <a href="http://www.apple.com">http://www.apple.com</a> today?</message> 
     70</envelope> 
     71}}} 
     72 
    6073---- 
    6174 
    6275== event == 
    6376 
    64 An irc event, like joining the chat room or changing the topic. 
     77An irc event, like joining the chat room or changing the topic. Consult the [wiki:Development/Styles/LogEventTypes list of event types] for more detailed information. 
    6578 
    6679=== Content Model === 
     
    133146  The full date and time when the message has been received. Only needed when the message is the child of an envelope element. 
    134147 
    135  
    136148=== Parents === 
    137149 
     
    194206 self:: 
    195207  `yes` if the sender is the user of this Colloquy client. This attribute is optional. 
    196  
    197208 
    198209=== Parents === 
     
    249260  `yes` if the person is the user of this Colloquy client. This attribute is optional. 
    250261 
    251  
    252262=== Parents === 
    253263 
    254264These elements contain `who`: `event`. 
    255265 
    256 === Examples === 
    257  
    258 See `event`. 
     266=== Example === 
     267 
     268{{{ 
     269<who hostmask="nonex@xx.yy.net" class="operator">nonex</who> 
     270}}}