On Friday 07 November 2008 08:34:07 Peter Saint-Andre wrote: > Right, so the question is not "what format is sent over the wire?" (as > we can see that's the fancy encoding to save space and indicate the > length of each key-value pair) but "what is the format that an entity > publishes to the mdns address?" (and that might be a text-based notation > with each key-value pair contained within quotes). In any case, I think > that what's currently in XEP-0174 is wrong because you don't publish one > TXT record for each key-value pair, instead you publish a single TXT > record that contains all of the key-value pairs.
Correct. A single TXT record contains all the strings. > So that means you publish something like this (it would be all one "line" > in DNS but I can't show that in email): > > [EMAIL PROTECTED] IN TXT "txtvers=1" "1st=Juliet" > "[EMAIL PROTECTED]" "hash=sha-1" "[EMAIL PROTECTED]" > "last=Capulet" "msg=Hanging out downtown" "nick=JuliC" > "node=http://www.adiumx.com" > "phsh=a3839614e1a382bcfebbcf20464f519e81770813" "port.p2pj=5562" > "status=avail" "vc=CA!" "ver=QgayPKawpkPSDYmwT/WM94uAlu0=" > > Yes, no, maybe? Yes. -Justin
