{"id":1,"date":"2025-04-27T11:53:43","date_gmt":"2025-04-27T09:53:43","guid":{"rendered":"https:\/\/solarxbike.se\/labbet\/kicad\/?p=1"},"modified":"2025-04-27T14:12:10","modified_gmt":"2025-04-27T12:12:10","slug":"kika","status":"publish","type":"post","link":"https:\/\/solarxbike.se\/labbet\/kicad\/2025\/04\/27\/kika\/","title":{"rendered":"KiCad med egen plugin"},"content":{"rendered":"<p><script type=\"module\" src=\"\/kicanvas.js\"><\/script><br \/>\nK\u00e4lla: <a href=\"https:\/\/kicanvas.org\/embedding\/\">kicadcanvas<\/a> |<a href=\"https:\/\/github.com\/selindmarkl\/serviceboken\/blob\/main\/Testfil.kicad_sch\"> Github<\/a> |<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h3>Egen plugin<\/h3>\n<p><strong>shortcode<\/strong><\/p>\n<div style=\"width:100%; height:600px;\"><canvas id=\"kicadcanvas_6a2221f755786\" style=\"width:100%; height:100%;\"><\/canvas><\/div><script>\n        document.addEventListener(\"DOMContentLoaded\", function() {\n            var canvas = document.getElementById(\"kicadcanvas_6a2221f755786\");\n            fetch(\"https:\/\/github.com\/selindmarkl\/serviceboken\/blob\/main\/Testfil.kicad_sch\")\n                .then(response => response.json())\n                .then(data => {\n                    new KiCanvas(canvas, data);\n                })\n                .catch(err => {\n                    console.error(\"Misslyckades att ladda KiCad-fil:\", err);\n                });\n        });\n    <\/script>\n<hr \/>\n<p>&nbsp;<\/p>\n<div style=\"width:100%; height:600px;\"><canvas id=\"kicadcanvas_6a2221f7557ab\" style=\"width:100%; height:100%;\"><\/canvas><\/div><script>\n        document.addEventListener(\"DOMContentLoaded\", function() {\n            var canvas = document.getElementById(\"kicadcanvas_6a2221f7557ab\");\n            fetch(\"https:\/\/github.com\/selindmarkl\/serviceboken\/blob\/main\/Testfil.json\")\n                .then(response => response.json())\n                .then(data => {\n                    new KiCanvas(canvas, data);\n                })\n                .catch(err => {\n                    console.error(\"Misslyckades att ladda KiCad-fil:\", err);\n                });\n        });\n    <\/script>\n","protected":false},"excerpt":{"rendered":"<p>K\u00e4lla: kicadcanvas | Github | &nbsp; Egen plugin shortcode &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-okategoriserade"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":11,"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/posts\/1\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/kicad\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}