eBible.com
Thursday, January 25th, 2007Sorry, this post is for programmer’s only. But look on if you’re a glutton for punishment and boredom.
I’ve been working on using the NKJV in the BibleMemory.us program for some time now. Unfortunately, I don’t think it’s going to happen.
Here’s some code to utilize JSON, which doesn’t really utilize JSON, but returns formatted HTML. eBible.com’s documentation doesn’t currently include an example. Thanks to Scott at www.godspeedcomputing.com for his help. (They’re the makers of www.eBible.com).
<html>
<head>
<title>test</title>
</head>
<body>
<script type=”text/javascript”>function receivedText(obj) {
document.write(obj[0].text);
}
</script><script type=”text/javascript” src=”http://www.ebible.com/api/ebibleSnippet?callback=receivedText&source=MSG&q=John1%3A3&apikey=YOUROWNAPIKEYHERE”></script>
</body>
</html>
I should also thank http://developer.yahoo.com/common/json.html for help. I don’t think this will work out for BibleMemory.us. We’ll see.