{"id":2,"date":"2025-01-25T03:50:43","date_gmt":"2025-01-25T03:50:43","guid":{"rendered":"http:\/\/newsights.org\/?page_id=2"},"modified":"2025-06-13T20:12:25","modified_gmt":"2025-06-13T20:12:25","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/newsights.org\/","title":{"rendered":"Find your water table"},"content":{"rendered":"<input type=\"text\" id=\"address\" placeholder=\"Enter your address\">\n<button id=\"aquifer-search\">Search<\/button>\n<pre id=\"results\"><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>&lt;script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n  const button = document.getElementById(\"aquifer-search\");\n  if (button) {\n    button.addEventListener(\"click\", function () {\n      const address = document.getElementById(\"address\").value;\n      const result = document.getElementById(\"results\");\n      if (!address) {\n        result.innerText = \"Please enter an address.\";\n        return;\n      }\n\n      fetch(`https:\/\/api.example.com\/aquifer?location=${encodeURIComponent(address)}`)\n        .then(res => res.json())\n        .then(data => {\n          result.innerText = JSON.stringify(data, null, 2);\n        })\n        .catch(err => {\n          result.innerText = \"Error: \" + err.message;\n        });\n    });\n  }\n});\n&lt;\/script><\/code><\/pre>\n<\/blockquote>\n\n\n\n<p>&#8230;or something like this:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.<\/p>\n<\/blockquote>\n\n\n\n<div class=\"wp-block-group has-background-color has-black-background-color has-text-color has-background is-layout-constrained wp-container-core-group-is-layout-3ffc82ba wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--40)\">\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-5b464a99 wp-block-group-is-layout-flex\" style=\"padding-top:var(--wp--preset--spacing--70);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0\">\n<p class=\"has-text-align-center has-foregound-alt-color has-text-color has-link-color wp-elements-4b32acaa8587764ef0f6cfc1d32e438f\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Search &#8230;or something like this: The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/newsights.org\/index.php?rest_route=\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newsights.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/newsights.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/newsights.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newsights.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":2,"href":"https:\/\/newsights.org\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":46,"href":"https:\/\/newsights.org\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions\/46"}],"wp:attachment":[{"href":"https:\/\/newsights.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}