{"id":195,"date":"2026-06-17T21:07:29","date_gmt":"2026-06-17T20:07:29","guid":{"rendered":"https:\/\/cyclegarden.co.uk\/?page_id=195"},"modified":"2026-06-17T21:26:32","modified_gmt":"2026-06-17T20:26:32","slug":"status-test","status":"publish","type":"page","link":"https:\/\/cyclegarden.co.uk\/index.php\/status-test\/","title":{"rendered":"status test"},"content":{"rendered":"\n<div id=\"availability\">Loading&#8230;<\/div>\n\n<script>\nfetch('https:\/\/docs.google.com\/spreadsheets\/d\/e\/2PACX-1vSg6vquoZoAFYjvH-JKNJQPh49CWSePmb3EpT1HwfZH_3OpIPGul0qF7DRPLqx6mAKEYZOumZE6KK0I\/pub?gid=0&single=true&output=csv')\n  .then(response => response.text())\n  .then(text => {\n    const lines = text.trim().split(\/\\r?\\n\/);\n\n    \/\/ Skip header row\n    const data = lines[1];\n\n    const [status, message] = data.split(',');\n\n    document.getElementById('availability').textContent =\n      (status.trim().toLowerCase() === 'available' ? '\ud83d\udfe2 ' : '\ud83d\udd34 ') +\n      message.trim().replace(\/^\"|\"$\/g, '');\n  })\n  .catch(error => {\n    document.getElementById('availability').textContent =\n      'Status unavailable';\n    console.error(error);\n  });\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Loading&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-195","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=195"}],"version-history":[{"count":7,"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/195\/revisions"}],"predecessor-version":[{"id":203,"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/195\/revisions\/203"}],"wp:attachment":[{"href":"https:\/\/cyclegarden.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}