The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

xAP Jabber



------=_NextPart_000_0008_01C8E052.BA24E7A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

Using xAP Jabber, how can I formulate a message to encorporate line breaks?

e.g.=20

xap-header
{
v=3D12
hop=3D1
uid=3DFF456200
class=3Dmessenger.cmd
source=3Dmi4.floor.AHSHASERVER
}

message.send
{
to=3Dsomechimp@xxxxxxx
body=3DEnvironment: <Info> Garage Temperature: 17.81 deg C. RackTop
Tem=
perature: 30.63 deg C. RackBottom Temperature: 28.34 deg C. Outside
Tempera=
ture: 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 \r\n etc etc but
not g=
ot it working yet - I'm sure I'm missing something simple???



Thanks,

Martyn
------=_NextPart_000_0008_01C8E052.BA24E7A0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit





<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40";
xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml";><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608"
name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
..shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB vLink=purple link=blue bgColor=white>


<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Using xAP Jabber, how can I
formulate a message to
encorporate line breaks?</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>e.g. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial
size=2>xap-header<BR>{<BR>&nbsp;&nbsp;&nbsp;
v=12<BR>&nbsp;&nbsp;&nbsp;
hop=1<BR>&nbsp;&nbsp;&nbsp;
uid=FF456200<BR>&nbsp;&nbsp;&nbsp;
class=messenger.cmd<BR>&nbsp;&nbsp;&nbsp;
source=mi4.floor.AHSHASERVER<BR>}</FONT></DIV><FONT
face=Arial size=2>
<DIV><BR>message.send<BR>{<BR>&nbsp;&nbsp;&nbsp;
<A
href="mailto:to=somechimp@xxxxxxx";>to=somechimp@xxxxxxx</A><BR>&nbsp;&nbsp;&nbsp;
body=Environment: &lt;Info&gt; 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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want the resulting IM message to look like:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Environment: &lt;Info&gt;</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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've tried various combinations of &lt;br&gt; \r \n
<A
href="file://\\r\\n">\\r\\n</A>&nbsp;\r\n etc
etc&nbsp;but not got it working
yet - I'm sure I'm missing something simple???</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Martyn</FONT></DIV>
<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=3983/stime=1215446363";
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=X3oDMTJmN2RuNjU1BF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMTU0NDYzNjM-";>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=X3oDMTJkamNhcWVrBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjE1NDQ2MzYz";>
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>

------=_NextPart_000_0008_01C8E052.BA24E7A0--


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.