2-way feedback troubleshooting
Posted: Wed Jan 02, 2013 9:44 pm
Hello,
I am playing around with 2-way feedback from an Apple TV which returns XML as a response. I wrote my RegEx and tested it throughly and it returns the exact data I expect it to. I put that into 2-way feedback and have it assign it to a label. I then setup the command to trigger the response with the data. After doing that I click the button and nothing happens! So I think I might have messed something up... So I do a basic catch all pattern like this:
(.*)
and it returns the first line of a HTTP response which is what I expect. Now, I know what I am expecting the full response to be based on testing done in Hercules but is there any way to actually see the data that is making it's way to DemoPad because there seems to be something messed up because I can take the full HTTP response from hercules and use my reg ex in a reg ex tester and it returns exactly what I want. Here is the regex in question:
<name>([a-zA-Z0-9\s:-]*)
I am playing around with 2-way feedback from an Apple TV which returns XML as a response. I wrote my RegEx and tested it throughly and it returns the exact data I expect it to. I put that into 2-way feedback and have it assign it to a label. I then setup the command to trigger the response with the data. After doing that I click the button and nothing happens! So I think I might have messed something up... So I do a basic catch all pattern like this:
(.*)
and it returns the first line of a HTTP response which is what I expect. Now, I know what I am expecting the full response to be based on testing done in Hercules but is there any way to actually see the data that is making it's way to DemoPad because there seems to be something messed up because I can take the full HTTP response from hercules and use my reg ex in a reg ex tester and it returns exactly what I want. Here is the regex in question:
<name>([a-zA-Z0-9\s:-]*)