[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xAP Jabber
You could do a targeted message.display instead, this sort of thing
works for me using floorplan:
xap-header
{
v=12
hop=1
uid=FF456200
Class=message.display
Source=mi4.floor.AHSHASERVER
Target=mi4.jabber.Jabber:somechimp@xxxxxxx
}
Display.text
{
Line1=Environment: <Info>
Line2=Garage Temperature: 17.81 deg C.
Line3=RackTop Temperature: 30.63 deg C.
Line4=RackTop Temperature: 30.63 deg C.
Line5=RackBottom Temperature: 28.34 deg C.
Priority=1
Duration=20
}
Display.look
{
Align=Left
}
Max
2008/7/7 Martyn Wendon <martynwendon@xxxxxxx>:
> 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
> 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 \r\n etc
etc but not
> got it working yet - I'm sure I'm missing something simple???
>
>
>
> Thanks,
>
> Martyn
>
------------------------------------
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|