The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: xAP - The Proposed Architecture Explained - the first extensio


  • To: "'ukha_d@xxxxxxx'" <ukha_d@xxxxxxx>
  • Subject: RE: Re: xAP - The Proposed Architecture Explained - the first extensio
  • From: "BUTLER, Tony, FM" <roaming@xxxxxxx>
  • Date: Wed, 14 Aug 2002 14:38:22 +0100
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

> I'm going to propose the following:
>
> - ASCII
> - First two items are Datasource, and Instance
> - After the first two, Items MUST go key/value pairs
> - ASCII 10 is reserved for separator
>
>
> The rest are, for the moment, open
>
> Hence a message might be:
>
> Outlook
> Mark
> Unread count
> 19
> Most recent subject
> xAP changes
>
>
> .... nice and tight?

minimalist certainly. but would it really add a lot to go:
<MESSAGE>
      <HEADER>
            <DEVICE TYPE="OUTLOOK" ID="MARK" />
            <DISPLAY>Mark's Email"</DISPLAY>
      </HEADER>
      <BODY>
            <ITEM>
                  <DISPLAY>Unread Count</DISPLAY>
                  <VALUE>19</VALUE>
            </ITEM>
            <ITEM>
                  <DISPLAY>Most Recent Subject</DISPLAY>
                  <VALUE>xAP Changes</VALUE>
            </ITEM>
</BODY>
</MESSAGE>

Or something like that?  Okay more text, but a string search will pull out
the values if using a dump display device and a more intelligent one could
use an XML processor - eg a web app extracts all the headers, click on
header and get message.
Another app extracts all the readings from temperature messages and
generates a graph etc....
With plain ASCII as above, you have to know what each line means and that it
has to appear in a certain order etc because there is nothing in the message
to tell you what it is about.
With XML, it is largely self describing.....


Tony


********************************************************************
      Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
             Regulated by the Financial Services Authority
********************************************************************


Yahoo! Groups Sponsor
ADVERTISEMENT

For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

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.