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 Data Parser



A new xAPP to try!

xAP Data Parser will retrieve the contents of a page from a web site (html,
text, xml, anything text based really), run a Regular Expression against
the
text retrieved and return any matches over xAP.

It requires the latest .net framework and is built using the xFx xAP
framework.   I've been using it for a couple of weeks now and it seems to
be
stable (only tested on Windows XP SP3).

A GUI version and service version are both available (I'd recommend
installing the GUI version first to play with, then uninstall that before
installing the service version if desired).

The GUI version can be "driven" from the GUI or by sending
data.parser class
xAP messages to it whereas the service version only supports the latter.

After either version is installed there should be a
"documentation" folder
where some example Regular Expressions are given along with details of the
xAP Schema used and message samples.

The app has been proving very useful here for retrieving various different
bits of data off of the WWW.  By driving it from Floorplan (e.g. sending
data.parser messages from a Timer or other event) data can be retrieved
automatically with Floorplan then reacting to the retrieved data (e.g.
displaying UK Lottery Results on a SqueezeBox).

Download from:

http://www.aceshigh.net/xap/xAPDataParserService.zip
http://www.aceshigh.net/xap/xAPDataParserGUI.zip

Hope you find it as useful as I have!

Let me know if there are any problems and please share back any usage
examples (web site & regular expression) for others to use!


Martyn



------------------------------------


xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.