chat-formats

From Microformats Wiki
Revision as of 00:21, 2 February 2006 by ChristopherStJohn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

chat formats

ChatZilla Internal Format

Note that there is no proof that this format is being used "in the wild" for publishing. ChatZilla uses HTML as its presentation layer. This heavily elided excerpt shows two lines from a chat. It gives the flavor (a very big table with each row a chat message divided up into three columns: timestamp, user name and the message itself) but there are many more classes in use in a full log.

<div id="messages-outer">
 ...
 <div id="output">
  ...
  <table view-type="IRCChannel" class="msg-table">
   <tbody>
    <tr mark="even" msg-user="cks_ ME!"
     statusText="01/31/2006 01:39 PM, cks_!n=chatzill@ppp-70-248-121-149.dsl.rcsntx.swbell.net"
     view-type="IRCChannel" dest-type="IRCChannel" msg-dest="#microformats"
     msg-type="PRIVMSG" class="msg">
     <td time-s="57" time-n="39" time-h="13" time-d="31" time-m="01" time-y="2006" class="msg-timestamp">
     </td>
     <td class="msg-user">
      <span>cks_</span>
     </td>
     <td class="msg-data">
      <span>so, using chatzilla for just a minute so i can extract the logs.</span>
     </td>
    </tr>
    <tr mark="odd" msg-user="Atamido" statusText="01/31/2006 01:43 PM, Atamido!n=atamido@cpe-67-9-173-252.austin.res.rr.com"
     view-type="IRCChannel" dest-type="IRCChannel" msg-dest="#microformats"
     msg-type="PRIVMSG" class="msg">
     <td time-s="25" time-n="43" time-h="13" time-d="31" time-m="01" time-y="2006" class="msg-timestamp">
     </td>
     <td class="msg-user">
      <a href="irc://irc.freenode.net/Atamido,isnick" class="chatzilla-link">
       <span>Atamido</span>
      </a>
     </td>
     <td class="msg-data">
      <span>
       Here are some examples.
       <a target="_content" class="chatzilla-link" href="http://www.hacksrus.com/%7Eginda/chatzilla/motifs.html">
        http://www.hacksrus.<wbr>
        com/~ginda/chatzilla/<wbr>
        motifs.html<wbr>
       </a>
      </span>
     </td>
    </tr>
   </tbody>
  </table>
 </div>
</div>