ppow:.
Both claims
"It is NOT possible to have the REST service return your results as active
HTML"
and
"The question is not: "Is it possible for a robot to ..." "
sound a bit antinomic.
Not really... There’s a big difference between the robot (which CAN return
HTML) and the REST service which can represent data via a HTML front-end.
Sure it would be nice if
the OpenKapow REST services would be able to represent active HTML as well, but
then again there's properly a million nice things one could add on top of
OpenKapow which no-one have event thought about at this point.
In this case (having active
HTML in a REST result) it can actually be achieve by using another component of
OpenKapow: the clip functionality. I've tried to create a generic clip that
take a REST service as input, and output the results with active HTML. It might
not be 100% but it works with the original service you developed, and with the
demo service.
To use it do the following:
1: Check that your REST
service is working (e.g.
http://service.openkapow.com/ppow/searchgoogle20results?searchText=kapow&resultformat=html&xml.rootElementName=&html.title=&html.style.stylesheetLink=&header=yes&json.callbackFunction=)
2: Copy out the important
part (here:/ppow/searchgoogle20results?searchText=kapow)
3: Replace any = with :
(explanation will follow)
4: Load this clip service:
http://service.openkapow.com/KVAKapowTech/activehtmlinrest. As you will see it
take an input called WrapREST
5: Paste your content from
(3) in the field and "invoke service"
Alternatively you can go
directly to this URL
http://service.openkapow.com/KVAKapowTech/activehtmlinrest?WrapREST=%2Fppow%2Fsearchgoogle20results%3FsearchText%3Aopenkapow
Unfortunately the WrapREST
field does not allow = in the string, hence you have to do the replacement.
But there you go: A robot that wrap the result of a REST service in order to create active HTML.
The question is not:
"Is it possible for a robot to ..." but rather:
"How do I setup a robot to ..."