WE NOW SUPPORT JSONP

IMPORTANT CHANGES TO OUR URL SUBMISSION TOOL

We added the ability for you to specify a callback function when requesting results in JSON format. Callbacks are useful for web service requests in client-side JavaScript and provide a relatively simple way to invoke web service requests across domains.

To use it, specify the callback function name followed by the JSONP output format. For example: http://service.semanticproxy.com/processurl/licenseid/jsonp:processresul...

The JSONP output format wraps resulting JSON output text in parentheses and the provided callback function name. For the request above, wrapped results would be: processresults({"doc":{"info":...json output...”} );

As JSON is native to JavaScript, you can access the elements inside the returned output, similar to passing a JSON object reference to the processresults function. In other words, if your JavaScript has a processresults function which takes a JSON object as input and manipulates it, this function will be invoked automatically.

Please see the demo html to see this in action.*

*Note that the demo will not work in IE. Also, we have restricted the volume for this demo key. If it does not resolve, please plugin your own OpenCalais API key.

 

 


SemanticProxy.com is in Beta. No guarantees, no promises.

SemanticProxy.com is part of the Calais Initiative. Learn more at opencalais.com