[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xAP Jabber
--------------080307030805030605080002
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
using <BR> should do the trick.
(Jabber messages are pretty much HTML. The non-html message part is
formed from the html part so <BR> becomes a linefeed)
The display message method should work too but I think a bugette is
stopping the line feeds going through.
hth
James
Martyn Wendon wrote:
>
> Hello,
>
> Using xAP Jabber, how can I formulate a message to encorporate line
> breaks?
>
> e.g.
>
> xap-header
> {
> v=12
> hop=1
> uid=FF456200
> class=messenger.cmd
> source=mi4.floor.AHSHASERVER
> }
>
> message.send
> {
> to=somechimp@xxxxxxx <mailto:to=somechimp@xxxxxxx>
> body=Environment: <Info> Garage Temperature: 17.81 deg C.
RackTop
> Temperature: 30.63 deg C. RackBottom Temperature: 28.34 deg C. Outside
> Temperature: 17.02 deg C.
> }
>
>
> I want the resulting IM message to look like:
>
> Environment: <Info>
> Garage Temperature: 17.81 deg C.
> RackTop Temperature: 30.63 deg C.
> RackBottom Temperature: 28.34 deg C.
> Outside Temperature: 17.02 deg C.
>
>
> I've tried various combinations of <br> \r \n \\r\\n
> <file://%5C%5Cr%5C%5Cn> \r\n etc etc but not got it working yet
- I'm
> sure I'm missing something simple???
>
>
>
> Thanks,
>
> Martyn
>
--------------080307030805030605080002
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
using <BR> should do the trick. <br>
(Jabber messages are pretty much HTML. The non-html message part is
formed from the html part so <BR> becomes a
linefeed)<br>
The display message method should work too but I think a bugette is
stopping the line feeds going through.<br>
<br>
hth<br>
<br>
James<br>
<br>
Martyn Wendon wrote:
<blockquote cite="mid:000b01c8e04a$68c96550$1201a8c0@xxxxxxx"
type="cite">
<div id="ygrp-text">
<p></p>
<div><font face="Arial"
size="2">Hello,</font></div>
<div> </div>
<div><font face="Arial" size="2">Using xAP
Jabber, how can I
formulate a message to encorporate line breaks?</font></div>
<div> </div>
<div><font face="Arial" size="2">e.g.
</font></div>
<div> </div>
<div><font face="Arial"
size="2">xap-header<br>
{<br>
v=12<br>
hop=1<br>
uid=FF456200<br>
class=messenger.<wbr>cmd<br>
source=mi4.floor.<wbr>AHSHASERVER<br>
}</font></div>
<font face="Arial" size="2">
<div><br>
message.send<br>
{<br>
<a moz-do-not-send="true"
href="mailto:to=somechimp@xxxxxxx">to=somechimp@<wbr>somejabber.<wbr>server</a><br>
body=Environment: <Info>
Garage Temperature: 17.81 deg C.
RackTop Temperature: 30.63 deg C. RackBottom Temperature: 28.34 deg C.
Outside Temperature: 17.02 deg C.<br>
}</div>
<div> </div>
<div> </div>
<div>I want the resulting IM message to look like:</div>
<div> </div>
<div>Environment: <Info></div>
<div>Garage Temperature: 17.81 deg C.</div>
<div>RackTop Temperature: 30.63 deg C.</div>
<div>RackBottom Temperature: 28.34 deg C.</div>
<div>Outside Temperature: 17.02 deg C.</div>
<div> </div>
<div> </div>
<div>I've tried various combinations of <br> \r \n
<a
moz-do-not-send="true"
href="file://%5C%5Cr%5C%5Cn">\\r\\n</a> \r\n
etc etc but not got it working yet - I'm sure I'm missing
something
simple???</div>
<div> </div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Martyn</div>
</font> </div>
<!--End group email --> </blockquote>
<br>
<span width="1" style="color:
white;"/>__._,_.___</span>
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- **begin egp html banner** -->
<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=3989/stime=1215457548"
width="1" height="1"> <br>
<!-- **end egp html banner** -->
<!-- **begin egp html banner** -->
<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmNThpYWkyBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTU0NTc1NDg-">Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a> <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkdjhva2xoBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE1NDU3NTQ4">
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/">
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe">
Unsubscribe
</a>
<br>
</div>
<br>
<!-- **end egp html banner** -->
<span style="color: white;"/>__,_._,___</span>
</body>
</html>
--------------080307030805030605080002--
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|