fischerpj / ynot

note web storage
0 stars 0 forks source link

ynot/posts/jsfapi/ #3

Open utterances-bot opened 1 month ago

utterances-bot commented 1 month ago

jsfapi – ynot

https://fischerpj.github.io/ynot/posts/jsfapi/

fischerpj commented 1 month ago
fischerpj commented 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

fischerpj commented 1 month ago

Delineate content with further JSON keys like versenum, ref, pure text,

fischerpj commented 1 month ago

Add jdspi URL in full

fischerpj commented 1 month ago

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

fischerpj commented 1 month ago

create thus a XANG-like image holding the clone with Wjs code develpment

fischerpj commented 1 month ago

ENDPOINTS: bgw/meta bgw/content/text ( raw text innerHTML) bgw/content/html (raw outerHTML) bgw/content/array (list of individual records as verses)

fischerpj commented 1 month ago

USE CASES: ps1 ps1:1 ps1:1-3 ps1:1,3,5