Anything else I can try?
On May 19, 9:30 pm, Jarrod Bell <jar...@guilink.com> wrote:
> Try a regex of (.*)
> That will capture ALL data coming in.
>
> The data reply from your command will include all header data, as well
> as the HTML reply. This is all sent at once.
> A web browser behind the scenes splits the header and HTML for display
> (hence why you never actually see the header data unless you use
> something like the Live HTTP Headers plugin). So you will need to
> create a regex to grab just the info you need.
>
> For the system doing the feedback parsing, set the EOM value to
> something like </html> (or whatever the end of the returned data is).
>
> Jarrod
>
> On May 20, 1:58 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
>
>
> > Ok, how do I go about parsing the data from the webpage?
>
> > Right now as a regex I have (......) and it's a serial join. I'm just
> > testing it using a text box. So the text box shows the feedback "HTTP/
> > 1" without the quotes. That is part of the HTTP Header, rather then
> > the webpage itself.
>
> > I want to test out parsing what is on the page, which is "DEVICE"
> > without quotes. Is there something special I need to do to get
> > iViewer to parse this, rather then the HTTP Header that it is parsing
> > now?
>
> > Once I'm able to parse "DEVICE" into iViewer, the proper changes will
> > be made to the server.
>
> > Something like:
>
> > DEVICE~01 Garage Light~7~0~BinarySwitch
> > DEVICE~02 Front Door~3~255~BinarySwitch
> > DEVICE~03 Living Room~5~0~MultilevelSwitch
> > DEVICE~04 Living Room2~6~0~BinarySceneSwitch
> > DEVICE~05 Deck~8~0~BinarySceneSwitch
> > DEVICE~06 Office Lamp~2~0~MultilevelSceneSwitch
> > DEVICE~07 Third Deck~4~0~BinarySwitch
>
> > On May 19, 7:25 pm, Fiasco <dgvoll...@gmail.com> wrote:
>
> > > It can parse the entire page.
>
> > > One thing you need to consider. For every HTTP GET you send that
> > > will return feedback you want to parse you should create a seperate
> > > system and make sure maintain connection is checked.
>
> > > Say you have two commands and two feedbacks in a HTTP Get system.
>
> > > If you call them too close together, the response from one will
> > > truncate the response from the other.
>
> > > If the HTTP GET request sent does not need to parse feedback put all
> > > these types of commands under one seperate HTTP GET system and do not
> > > maintain connection.
>
> > > On May 19, 2:24 pm, stbluesrul <paul.l.cra...@gmail.com> wrote:
>
> > > > I'm currently sending commands to a server program using HTTP GET
> > > > requests. Using the Live HTTP headers addon in firefox I'm able to
> > > > see what is sent back from the server.
>
> > > > The HTTP header reads:
>
> > > > HTTP/1.1 200 OK
> > > > Server: Microsoft-HTTPAPI/2.0
> > > > Current Date and Time
>
> > > > Currently I'm able to parse the above feedback into iViewer just
> > > > fine.
>
> > > > Basically the server just sends back a webpage that simply reads
> > > > "DEVICE" and that's all there is in the source code of the webpage.
> > > > I'm wondering if there is a way to parse "DEVICE" into iViewer? If
> > > > so, a few changes made to the zwave server program will allow for
> > > > feedback of lighting levels, etc.
>
> > > > Basically, I'm asking if iViewer is capable of using the source code
> > > > of a webpage for feedback or is it only able to parse the HTTP
> > > > Headers?
>
> > > > Here is a link to the server program in question: http://melloware.com/products/zwave/
>
> > > > --
> > > > You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> > > > To post to this group, send email to commandfusion@googlegroups.com.
> > > > To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
> > > > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> > > To post to this group, send email to commandfusion@googlegroups.com.
> > > To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> > To post to this group, send email to commandfusion@googlegroups.com.
> > To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "CommandFusion" group.
> To post to this group, send email to commandfusion@googlegroups.com.
> To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/commandfusion?hl=en.
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: HTTP GET feedback"
Post a Comment