JSFiddle - React, Tailwind, and code Playground
by AaronLayton
HTML
<script src="http://www.validatethis.co.uk/playground/talkbot/jquery.jsonp.js"></script>
JavaScript
// Starting point to make AliceBot online chat with Google TTS API
// http://translate.google.com/translate_tts?tl=en&q=[text]
// http://www.pandorabots.com/pandora/talk?botid=f5d922d97e345aa1&skin=custom_input
// XML API
// http://www.pandorabots.com/pandora/talk-xml?botid=f5d922d97e345aa1&input=
// Will turn the above XML feed into JSON with JSonduit
// XML to JSON Mashup
// http://wiki.srudge.co.uk/w/XML2JSON_Converter
// http://xml2json.heroku.com/
$.jsonp({
type: "POST",
url: 'http://www.validatethis.co.uk/playground/talkbot/xml-proxy.php',
data:'url=http://www.pandorabots.com/pandora/talk-xml&botid=f5d922d97e345aa1&input=hello&output=json',
dataType: 'jsonp',
success: function(data) {
//console.log("got data");
console.log(data);
}
});