{"id":1007,"date":"2012-02-12T14:36:51","date_gmt":"2012-02-12T12:36:51","guid":{"rendered":"http:\/\/memobistro.de\/?page_id=1007"},"modified":"2020-05-19T11:31:42","modified_gmt":"2020-05-19T09:31:42","slug":"wochenkarte","status":"publish","type":"page","link":"http:\/\/memobistro.de\/?page_id=1007","title":{"rendered":"Wochenkarte"},"content":{"rendered":"<p><!-- Anfang Quellcode Memo HTML-Widget SpeiseplanApp--><\/p>\n<div style=\"margin-top: 10px; color:black; text-align: center; font-size:19px; font-weight:900\">Mittagstisch <span id=\"date-text\"><\/span><\/div>\n<p><script type=\"text\/javascript\">\n    d = new Date();\n    d = new Date(Date.UTC(d.getFullYear(), d.getMonth(), d.getDate()));\n    d.setUTCDate(d.getUTCDate() + 4 - (d.getUTCDay()||7));\n    var yearStart = new Date(Date.UTC(d.getUTCFullYear(),0,1));\n    var weekNo = Math.ceil(( ( (d - yearStart) \/ 86400000) + 1)\/7);\n    var curr = new Date;\n    var options = { month: 'numeric', day: 'numeric' };\n    var options2 = { month: 'numeric', day: 'numeric', year: 'numeric' };\n    console.info(curr.getDay());\n    if (curr.getDay() === 0) {\n      var firstday = new Date(curr.setDate(curr.getDate() - curr.getDay()-6)).toLocaleDateString('de-DE', options);\n      var lastday = new Date(curr.setDate(curr.getDate() - curr.getDay()+5)).toLocaleDateString('de-DE', options2);\n    } else {\n      var firstday = new Date(curr.setDate(curr.getDate() - curr.getDay()+1)).toLocaleDateString('de-DE', options);\n      var lastday = new Date(curr.setDate(curr.getDate() - curr.getDay()+5)).toLocaleDateString('de-DE', options2);\n    }\n    document.getElementById('date-text').innerHTML = firstday + \" - \" + lastday;\n<\/script><script type=\"text\/javascript\" id=\"spscript\" src=\"https:\/\/speiseplanapp.de\/snippet\/spAppWebSnip.js\"><\/script><\/p>\n<style>.veggie { color: #405738; font-size:13px; font-style: italic; margin-left: 5px;}\n.price { color: #010101; white-space: pre-line; text-align: right;margin-top: 3px;font-weight: 600; display: block; float:right;}\n.meal { color: #010101; white-space: pre-line; text-align: left; border-bottom: solid; border-bottom-color: grey; border-bottom-width: thin; display: inline-block; margin-left: 29px !important; float: left;}\n.day {color: #010101; text-align: left; margin-top: 40px; display:block; font-weight: 600; clear:left;}\n.meal::first-line { font-weight: bold;}\n.splink {margin-top: 20px; float: right;} \n<\/style>\n<div class=\"container\" style=\"max-width: 700px\">\n<div class=\"spWebApp getWeekPlan-MPun0W8BOCvjhnSKj03c\" priceoption=\"normal\" dateoption=\"short\" branchid=\"MPun0W8BOCvjhnSKj03c\" requesttype=\"getWeekPlan\" style=\"background-color:white;\"><\/div>\n<\/div>\n<p><!-- Ende Quellcode Memo HTML-Widget SpeiseplanApp --><br \/>\n<a class=\"splink\" style=\"margin-top: 20px; float: right;\" href=\"https:\/\/speiseplanapp.de\/wochenplan\/memo-bistro\" target=\"_blank\">auch bei SpeiseplanApp.de<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mittagstisch auch bei SpeiseplanApp.de<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":-2,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/memobistro.de\/index.php?rest_route=\/wp\/v2\/pages\/1007"}],"collection":[{"href":"http:\/\/memobistro.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/memobistro.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/memobistro.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/memobistro.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1007"}],"version-history":[{"count":25,"href":"http:\/\/memobistro.de\/index.php?rest_route=\/wp\/v2\/pages\/1007\/revisions"}],"predecessor-version":[{"id":1068,"href":"http:\/\/memobistro.de\/index.php?rest_route=\/wp\/v2\/pages\/1007\/revisions\/1068"}],"wp:attachment":[{"href":"http:\/\/memobistro.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}