{"id":42,"date":"2026-10-08T00:40:21","date_gmt":"2026-10-07T22:40:21","guid":{"rendered":"https:\/\/demo.swissai.dev\/avvocato\/agenda\/"},"modified":"2026-10-08T00:40:22","modified_gmt":"2026-10-07T22:40:22","slug":"agenda","status":"publish","type":"page","link":"https:\/\/demo.swissai.dev\/avvocato\/agenda\/","title":{"rendered":"Agenda"},"content":{"rendered":"\n<div class=\"wp-block-group sd-section sd-page-head has-global-padding is-layout-constrained wp-container-core-group-is-layout-d1c35fb7 wp-block-group-is-layout-constrained\">\n\n<p class=\"sd-eyebrow\">Agenda<\/p><h1>Gli appuntamenti presi dall&#8217;assistente<\/h1><p class=\"sd-lead\">Oggi e i prossimi sei giorni, aggiornati da soli ogni venti secondi. Nomi abbreviati e numeri mascherati: sono dati dei visitatori. L&#8217;agenda torna vuota ogni notte alle quattro.<\/p>\n\n<\/div>\n\n\n<div class=\"wp-block-group sd-section sd-last has-global-padding is-layout-constrained wp-container-core-group-is-layout-d1c35fb7 wp-block-group-is-layout-constrained\">\n\n<div class=\"sd-agenda\" id=\"sd-agenda-1\" data-cfg=\"{&quot;ajax&quot;:&quot;https:\\\/\\\/demo.swissai.dev\\\/avvocato\\\/wp-admin\\\/admin-ajax.php&quot;,&quot;type&quot;:&quot;calendar&quot;,&quot;business&quot;:&quot;lawyer&quot;,&quot;lang&quot;:&quot;it&quot;,&quot;labels&quot;:{&quot;time&quot;:&quot;Ora&quot;,&quot;service&quot;:&quot;Prestazione&quot;,&quot;people&quot;:&quot;Persone&quot;,&quot;name&quot;:&quot;Nome&quot;,&quot;phone&quot;:&quot;Telefono&quot;,&quot;today&quot;:&quot;oggi&quot;,&quot;updated&quot;:&quot;Aggiornato alle&quot;,&quot;empty&quot;:&quot;nessun appuntamento nei prossimi sette giorni&quot;,&quot;error&quot;:&quot;Agenda non disponibile in questo momento.&quot;,&quot;min&quot;:&quot;min&quot;},&quot;names&quot;:{&quot;Initial consultation&quot;:&quot;Primo colloquio&quot;,&quot;Legal consultation&quot;:&quot;Consulenza legale&quot;,&quot;Contract review&quot;:&quot;Revisione di un contratto&quot;,&quot;Mediation session&quot;:&quot;Sessione di mediazione&quot;}}\"><p class=\"sd-agenda-status\"><\/p><div class=\"sd-agenda-days\"><\/div><\/div><script>(function () {\n\tvar box = document.getElementById(\"sd-agenda-1\");\n\tvar cfg = JSON.parse(box.getAttribute('data-cfg'));\n\tvar L = cfg.labels, status = box.querySelector('.sd-agenda-status'), days = box.querySelector('.sd-agenda-days');\n\tfunction esc(s) { return String(s).replace(\/[&<>\"]\/g, function (c) { return { '&': '&amp;', '<': '&lt;', '>': '&gt;', '\"': '&quot;' }[c]; }); }\n\tfunction render(d) {\n\t\tif (d.error) { status.textContent = L.error || d.error; return; }\n\t\tstatus.textContent = (L.updated || 'Updated') + ' ' + d.updated + (d.count ? '' : ' \u00b7 ' + (L.empty || ''));\n\t\tvar h = '';\n\t\td.days.forEach(function (day) {\n\t\t\th += '<section class=\"sd-agenda-day' + (day.today ? ' is-today' : '') + '\"><h3>' + esc(day.label) + (day.today ? ' <span>' + esc(L.today || '') + '<\/span>' : '') + '<\/h3><table><thead><tr><th>' + esc(L.time || '') + '<\/th><th>' + esc(cfg.type === 'tables' ? (L.people || '') : (L.service || '')) + '<\/th><th>' + esc(L.name || '') + '<\/th><th>' + esc(L.phone || '') + '<\/th><\/tr><\/thead><tbody>';\n\t\t\tday.rows.forEach(function (r) {\n\t\t\t\tvar what = cfg.type === 'tables' ? esc(r.what) : esc(cfg.names[r.what] || r.what) + (r.minutes ? ' <small>' + r.minutes + ' ' + esc(L.min || 'min') + '<\/small>' : '');\n\t\t\t\th += '<tr><td>' + esc(r.time) + '<\/td><td>' + what + '<\/td><td>' + esc(r.name) + '<\/td><td>' + esc(r.phone) + '<\/td><\/tr>';\n\t\t\t});\n\t\t\th += '<\/tbody><\/table><\/section>';\n\t\t});\n\t\tdays.innerHTML = h;\n\t}\n\tfunction load() {\n\t\tfetch(cfg.ajax + '?action=sd_agenda&type=' + cfg.type + '&business=' + encodeURIComponent(cfg.business) + '&lang=' + cfg.lang, { cache: 'no-store' })\n\t\t\t.then(function (r) { return r.json(); }).then(render).catch(function () { status.textContent = L.error || 'Error'; });\n\t}\n\tload();\n\tsetInterval(load, 20000);\n})();<\/script>\n\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Agenda Gli appuntamenti presi dall&#8217;assistente Oggi e i prossimi sei giorni, aggiornati da soli ogni venti secondi. Nomi abbreviati e numeri mascherati: sono dati dei visitatori. L&#8217;agenda torna vuota ogni notte alle quattro.<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/pages\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":1,"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/pages\/42\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/pages\/42\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/demo.swissai.dev\/avvocato\/wp-json\/wp\/v2\/media?parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}