chat-formats-fr

Jump to: navigation, search

formats de chat

Les différents formats qui sont utilisés pour représenter les conversations chat, généralement en interne. Avec les cas d'utilisation extraits des exemples chat, et les vocabulaires utilisés ici, les prochaines étapes sont de démarrer un chat-brainstorming sur des propositions pour un microformat de chat.


Contents


Contributeurs

(traduction française Christophe Ducamp)

ChatZilla Format Interne

Notez qu'il n'y a pas de preuve que ce format est utilisé "dans la jungle" pour la publication. ChatZilla utilise HTML comme sa couche de présentation. Ce extrait largement démoli montre deux lignes extraites d'un chat. Ceci donne la saveur (une très grande table avec dans chaque ligne un message chat divisé en trois colonnes : timestamp, nom d'utilisateur et le message lui-même) mais il y a bien plus de classes en utilisation dans un log complet.


<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>

Format logs de Google Talk

A nouveau, l'user1 est local.

3
17b5df8a
01c61af0
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v66EC7D7137%22+to%3D%22user2%40gmail.com%2FTalk.v66EC841CB6%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Esome+but+not+much%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
incoming
%3Ccli%3Amessage+from%3D%22user2%40gmail.com%2FTalk.v66EC841CB6%22+to%3D%22user1%40gmail.com%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3EI'm+ready+to+crawl+in+bed+and+read.++Do+well+on+your+paper.++Love++Mom%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v66EC7D7137%22+to%3D%22user2%40gmail.com%2FTalk.v66EC841CB6%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Ethanks%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+to%3D%22user2%40gmail.com%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Emom%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
incoming
%3Ccli%3Amessage+from%3D%22user2%40gmail.com%2FTalk.v687050428D%22+to%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3EHi%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+to%3D%22user2%40gmail.com%2FTalk.v687050428D%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Ei+totally+forgot+about+the+awning%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+to%3D%22user2%40gmail.com%2FTalk.v687050428D%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Edo+you+want+me+to+come+over%3F%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
incoming
%3Ccli%3Amessage+from%3D%22user2%40gmail.com%2FTalk.v687050428D%22+to%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3EI+have+tomorrow+off.++Is+the+wind+supposed+to+get+bad+before+then%3F%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+to%3D%22user2%40gmail.com%2FTalk.v687050428D%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Enot+sure.+its+stormy+now%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
incoming
%3Ccli%3Amessage+from%3D%22user2%40gmail.com%2FTalk.v687050428D%22+to%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3EI'm+ready+if+yo+are.++I+thought+you+would+be+here+anyway+about+the+boat+or+I+would+have+called.%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+to%3D%22user2%40gmail.com%2FTalk.v687050428D%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3EI+think+we+decided+to+do+the+boat+on+a+dry+night%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E
outgoing
%3Ccli%3Amessage+from%3D%22user1%40gmail.com%2FTalk.v68701EBF07%22+to%3D%22user2%40gmail.com%2FTalk.v687050428D%22+type%3D%22chat%22+xmlns%3Acli%3D%22jabber%3Aclient%22%3E%3Ccli%3Abody%3Ei'll+come+over+now%3C%2Fcli%3Abody%3E%3Cactive+xmlns%3D%22http%3A%2F%2Fjabber.org%2Fprotocol%2Fchatstates%22%2F%3E%3C%2Fcli%3Amessage%3E

Adium X

Adium X est en train de développer en ce moment un format de log basé sur XML.

voici la version 0.3 :

<chat date="2005-11-20" account="mactigerz" service="AIM" version="0.3">
    <event type="windowOpened" time=""/>
    <message sender="chz16" time="">'sup?</message>
    <message sender="mactigerz" time="">trying to get to work on the the new XML log format</message>
    <message sender="chz16" time="">Doesn't sound bad.</message>
    <message sender="chz16" time="">Providing you have the log specs, of course.</message>
    <message sender="mactigerz" time="">that's what I'm creating.</message>
    <status type="offline" sender="chz16" time=""/>
    <status type="online" sender="chz16" time=""/>
    <status type="away" sender="mactigerz" time="">brb, working on the XML log format</status>
    <event type="windowClosed" time=""/>
</chat>

This format remains under development, so this page may not reflect the current version of the format.

Format ILRT Logger Bot

Trouvé sur : http://chatlogs.planetrdf.com/swig/, généré par : http://cvs.ilrt.org/cvsweb/redland/logger/, il existe trois formats : HTML, texte clair et RDF. L'entrée discutait du format RDF, parce qu'elle est probablement dirigée vers les machines et non les personnes.

Prendre d'abord juste le RDF parce que c'est amusant et probablement 100% semantique. Très belle Séquence directe RDF avec date/description/creator, exception fait de la ligne avec une relation Dublin Core. Parce que c'est normal avec RDF, les sémantiques sont réutilisées, ainsi pour capter pleinement qu'il y a quelque travail à faire, regardez : http://www.w3.org/2004/Talks/0522-rrs/ Le groupe FOAF s'est retrouvée impliqué dans le chat IRC parce que les noms IRC sont un des moyens d'identifier les personnes, il semble que cela soit une boule de neige, pas sûr si le truc du ChatChannel est officiel ou non. Les trucs Dublin Core et WordNet sont mentionnés dans la spec index FOAF, mais semble manquer à partir du texte véritable, je pourrais regarder une ancienne version.

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:wn="http://xmlns.com/wordnet/1.6/"
         xmlns:foaf="http://xmlns.com/foaf/0.1/">
<foaf:ChatChannel rdf:about="irc://irc.freenode.net/swig">
  <foaf:chatEventList>
    <rdf:Seq>
      <rdf:li>
       <foaf:chatEvent rdf:ID="T00-01-19">
        <dc:date>2006-02-01T00:01:19Z</dc:date>
        <dc:description>keithalexander has quit</dc:description>
        <dc:creator><wn:Person foaf:nick="keithalexander"/></dc:creator>
       </foaf:chatEvent>
      </rdf:li>
      <rdf:li>
       <foaf:chatEvent rdf:ID="T00-27-42">
        <dc:date>2006-02-01T00:27:42Z</dc:date>
        <dc:description>Gromgull: nice quote re. x years later</dc:description>
        <dc:creator><wn:Person foaf:nick="CaptSolo"/></dc:creator>
       </foaf:chatEvent>
      </rdf:li>
      <rdf:li>
       <foaf:chatEvent rdf:ID="T01-38-49">
        <dc:date>2006-02-01T01:38:49Z</dc:date>
        <dc:description>A: http://aaronland.info/python/pyupcoming/ from karlUshi</dc:description>
        <dc:creator><wn:Person foaf:nick="dc_swig"/></dc:creator>
        <dc:relation rdf:resource="http://aaronland.info/python/pyupcoming/"/>
       </foaf:chatEvent>
      </rdf:li>
    </rdf:Seq>
  </foaf:chatEventList>
</foaf:ChatChannel>
</rdf:RDF>

Format Interne Trillian

Ceci est destiné au chat AIM, mais celui pour un chat Yahoo! ressemble à la même chose. Sauvegardé sous texte clair tout comme XML. (user1 est local). Ceci est une description du format XML, parce qu'elle est probablement destinées pour les machines et non les humains.

Le même en XML :

<session type="start" time="1112395386" medium="AIM" to="user2" from="user1"/>
<message type="incoming_privateMessage" time="1112395386" medium="AIM" to="user1" from="user2" from_display="user2" text="ping"/>
<message type="information_standard" time="1112395387" medium="AIM" text="Auto%2Dresponse%20sent%20to%20user2%3A%20My%20hovercraft%20is%20full%20of%20eels%2E"/>
<message type="outgoing_privateMessage" time="1112395573" medium="AIM" to="user2" from="user1" from_display="user1" text="hey"/>
<session type="stop" time="1112395619" medium="AIM" to="user2" from="user1"/>

Il existe aussi un fichier "user2-assets.xml" pour les choses comme les icônes Buddy & et fichiers transers :

<asset medium="AIM" name="user2" link="C%3A%5CProgram%20Files%5CTrillian%5Cusers%5Cdefault%5Cbuddyicons%5Cassets%5CAIM%2Duser2%2D1118046544%2Ejpg"/>
<asset medium="AIM" name="user2" link="D%3A%5CPIX%5CY2005%5C0619%5CMOV02050%2EMPG"/>
<asset medium="AIM" name="user2" link="C%3A%5CDocuments%20and%20Settings%5Cant%5CDesktop%5CDSCN0372_resize%2EJPG"/>
<asset medium="AIM" name="user2" link="C%3A%5CProgram%20Files%5CTrillian%5Cusers%5Cdefault%5Cbuddyicons%5Cassets%5CAIM%2Duser2%2D1133932754%2Ejpg"/>


Format Nature podcast

Fragments de XML extrait de du journal podcast de Nature du 6 avril 2006. Les différences à partir des formats de chat incluent le manque (actuel) de quelque timestamp et "rôles" définis, par ex : presenter/interviewer/interviewee.

<?xml version="1.0" encoding="utf-8"?>
<podcast id="nature-2006-04-06"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="NPG_podcast_transcript.xsd">
  <source>
    <jtl>Nature</jtl>
    <vol>440</vol>
    <iss>7085</iss>
    <idt>20060406</idt>
    <issn type="print">0028-0836</issn>
    <issn type="electronic">1476-4679</issn>
    <cpg>
      <cpy>2006</cpy>
      <cpn>Nature Publishing Group</cpn>
    </cpg>
  </source>
  <fm>
    <doi>10.1038/pod-nature-2006-04-06</doi>
    <title>Nature Podcast</title>
    <presenter>
      <name>
        <fname>Chris</fname>
        <sname>Smith</sname>
      </name>
    </presenter>
    <intro>
      <p>
        This is a transcript of the 6 April edition of the weekly  podcast.
	Audio files for the current show and archive episodes can be accessed
	from the  podcast index page (<weblink url="http://www.nature.com/nature/podcast"/>)...
      </p>
      <p>Sponsor: The  podcast from...</p>
      <p>This week Tiktaalik and what it can tell us about how early life invaded the land..</p>
    </intro>
  </fm>
  <body>
    <interview>
      <interviewer>
        <name>
          <fname>Chris</fname>
          <sname>Smith</sname>
        </name>
        <p>Hello, I'm Chris Smith. Welcome to the 6th April edition of Nature's podcast.
	  First this week we're winding our watches back about 380 million years to the time when
	  the first animals substituted feet for fins and began to heave themselves out of the
	  sea and onto land... (<cite>
            <jtl>Nature</jtl>
            <vid>440</vid>, <ppf>747</ppf>-<ppl>749</ppl>; <cd>2006</cd>
            <refdoi>10.1038/440747a</refdoi>
          </cite>).</p>
      </interviewer>
      <interviewee>
        <name>
          <fname>Neil</fname>
          <sname>Shubin</sname>
        </name>
        <p>The transition from a fish that lives in water to an animal that's able to live on land
	  is one of the great transitions in the history of life. We know from a variety of...</p>
      </interviewee>
      ...
    </interview>
    <filler>
      <p>Well that's it for this week, and thanks for listening. Remember that...</p>
      <p>Next week we are fighting malaria and finding out how parasites can...</p>
      <p>Production on this week's  podcast was by Anna Lacey in the Department of Pathology
        at Cambridge University, and I'm Chris Smith.</p>
      <p>Sponsor: The  podcast is sponsored by Bio-Rad at the center of scientific discovery
        for over 50 years, and on the web at <weblink url="http://www.discover.biorad.com"/>.</p>
    </filler>
  </body>
</podcast>


chat-formats-fr was last modified: Saturday, December 20th, 2008

Views