Changes between Version 1 and Version 2 of Development/Styles/LogFileFormat
- Timestamp:
- Aug 4, 2006 10:19:28 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/Styles/LogFileFormat
v1 v2 14 14 === Content Model === 15 15 16 envelope::sender,message+16 envelope ::= sender,message+ 17 17 18 18 === Attributes === … … 32 32 === Content Model === 33 33 34 event::message,((old)?,who|(by,topic))34 event ::= message,((old)?,who|(by,topic)) 35 35 36 36 === Attributes === … … 42 42 occurred:: The full date and time when the event has happened. 43 43 44 === Parents === 45 46 These elements contain `event`: `log`. 47 44 48 === Example === 45 49 46 50 {{{ 47 <event id="SAUB4LX7RT" name="memberJoined" occurred="2006-08-02 18:00:57 +0200"><message><span class="member">nonex</span> joined the chat room.</message> 51 <event id="SAUB4LX7RT" name="memberJoined" occurred="2006-08-02 18:00:57 +0200"> 52 <message><span class="member">nonex</span> joined the chat room.</message> 53 <who hostmask="nonex@xx.yy.net">nonex</who> 54 </event> 48 55 }}} 49 56 … … 56 63 === Content Model === 57 64 58 log::(envelope|event)+65 log ::= (envelope|event)+ 59 66 60 67 === Attributes === … … 78 85 == message == 79 86 80 Contains a text message of a irc user .87 Contains a text message of a irc user in XHTML format. 81 88 82 89 === Content Model === 83 90 84 message:: (span|CDATA)*91 message ::= (<XHTML element>|CDATA)* 85 92 86 93 === Attributes === … … 112 119 === Content Model === 113 120 114 sender::CDATA121 sender ::= CDATA 115 122 116 123 === Attributes === 117 124 118 class:: The status of the sender in the chat room. This could be `operator` or `voice`. This attribute is optional. 125 buddy:: 126 Buddy. 119 127 120 hostmask:: The hostmask of the sender of the message. 128 class:: 129 The status of the sender in the chat room. This could be `administrator`, `founder`, `half operator`, `operator`, `server operator` or `voice`. This attribute is optional. 121 130 122 identifier:: The username of the sender of the message. This attribute is optional. 131 hostmask:: 132 The hostmask of the sender of the message. 123 133 124 self:: `yes` if the sender is the user of this Colloquy client. This attribute is optional. 134 identifier:: 135 The username of the sender of the message. This attribute is optional. 136 137 138 nickname:: 139 The nickname of the sender of the message, if it's different from the display name. This attribute is optional. 140 141 self:: 142 `yes` if the sender is the user of this Colloquy client. This attribute is optional. 125 143 126 144 … … 136 154 <sender hostmask="nonex@xx.yy.net" class="operator">nonex</sender> 137 155 }}} 156 157 ---- 158 159 == who == 160 161 Identifies the originator of an event. This is not always the same as the sender of the event. The text content of the element is the nickname of the person. 162 163 === Content Model === 164 165 who ::= CDATA 166 167 === Attributes === 168 169 hostmask:: 170 The hostmask of the person. 171 172 class:: 173 The status of the person in the chat room. This could be `administrator`, `founder`, `half operator`, `operator`, `server operator` or `voice`. This attribute is optional. 174 175 self:: 176 `yes` if the person is the user of this Colloquy client. This attribute is optional. 177 178 179 === Parents === 180 181 These elements contain `who`: `event`. 182 183 === Examples === 184 185 See `event`.