IPB

Welcome Guest ( Log In | Register | Lost Password? )

Zenfin

<?xml version="1.0" encoding="UTF-8"?>
<zenfim time="1139851872" status="0" version="1.0">
  <stream from="frame" to="#channel" time="1139851852" type="msg"><![CDATA[Incoming Channel/Group Message]]></stream>
  <stream from="#channel" to="frame" time="1139851862" type="msg"><![CDATA[Outgoing Channel/Group Message]]></stream>
  <stream from="frame" to="max" time="1139851842" type="msg"><![CDATA[Incoming Message
with Linebreak]]></stream>
  <stream from="max" to="frame" time="1139851862" type="upload"><![CDATA[/tmp/123456]]></stream>
  <stream from="max" to="frame" time="1139851862" type="download"><![CDATA[http://www.example.com/tmp/123456.zip]]></stream>
  <stream from="max" to="frame" time="1139851862" type="video"><![CDATA[http://www.example.com/tmp/123456.swf]]></stream>
  <stream from="max" to="frame" time="1139851862" type="sound"><![CDATA[tada]]></stream>
  <stream to="frame" time="1139851872" type="get"/>
</zenfim>

  • time : unixtimestamp des requests
  • status : 0 = OK, -1 = Unknown Error, 1-n = Error #
  • version : version des protokolls
  • from : username SENDER
  • to : username RECEIPIENT, leading # means a channel / group
  • stream : message in CDATA-embed, orderd by time ASC (oldest first)
  • type : get→retrieve messages from the buffer, msg=message, download, upload, video, sound…
  • Notes : inside <![CDATA[ we can embed simple macros, etc etc.
 
-  zenfin.txt · Last modified: 2008/10/03 07:07 (external edit)