Open utterances-bot opened 1 month ago
The key function that enables us to convert JSON to HTML at runtime is JSON.parse(). The JSON.parse() method takes textual JSON data and converts it to a JavaScript object. You can then easily use this object to display data in HTML
Delineate content with further JSON keys like versenum, ref, pure text,
Add jdspi URL in full
https://github.com/fischerpj/Wjs.git holds Node.js code (node ap2.js, apmin.js both work ) whereas https://github.com/fischerpj/jsapi.git is the repository deployed as the netlify website with functions/bgw on https://jsfapi.netlify.app/.netlify/functions/bgw?param=ps42:5!KJV
create thus a XANG-like image holding the clone with Wjs code develpment
ENDPOINTS: bgw/meta bgw/content/text ( raw text innerHTML) bgw/content/html (raw outerHTML) bgw/content/array (list of individual records as verses)
USE CASES: ps1 ps1:1 ps1:1-3 ps1:1,3,5
jsfapi – ynot
https://fischerpj.github.io/ynot/posts/jsfapi/