{"id":2769,"date":"2024-02-10T18:32:22","date_gmt":"2024-02-10T18:32:22","guid":{"rendered":"https:\/\/vienna.wordcamp.org\/2024\/?post_type=wcb_session&#038;p=2769"},"modified":"2024-05-13T21:42:17","modified_gmt":"2024-05-13T21:42:17","slug":"intro-to-the-html-api-reliable-safe-and-convenient","status":"publish","type":"wcb_session","link":"https:\/\/vienna.wordcamp.org\/2024\/session\/intro-to-the-html-api-reliable-safe-and-convenient\/","title":{"rendered":"Intro to the HTML API: Reliable, safe, and convenient [EN]"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The HTML API in WordPress is redefining how developers create, find, and modify HTML. It eliminates the never-ending hassle of half-baked or over-complicated regex matching code while providing a safe and convenient interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This workshop will introduce the HTML API and demonstrate how to use it in common situations. We&#8217;ll work in groups to refactor existing code and explore what the new API offers, where it&#8217;s strong, and what its limits are.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The content in this workshop is relevant to anyone working with HTML, whether in block code, site editing code, plugins, theme development, or WordPress itself. Use of the new HTML API will categorically eliminate some of the most common security and data corruption issues within WordPress.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-text-align-center wp-element-button\" href=\"\/2024\/tickets\/\" style=\"background-color:#0060ac\">Get your ticket now<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The HTML API in WordPress is redefining how developers create, find, and modify HTML. It eliminates the never-ending hassle of half-baked or over-complicated regex matching code while providing a safe and convenient interface. This workshop will introduce the HTML API and demonstrate how to use it in common situations. We&#8217;ll work in groups to refactor &hellip; <a href=\"https:\/\/vienna.wordcamp.org\/2024\/session\/intro-to-the-html-api-reliable-safe-and-convenient\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Intro to the HTML API: Reliable, safe, and convenient [EN]&#8221;<\/span><\/a><\/p>\n","protected":false},"author":13597958,"featured_media":0,"template":"","meta":{"_crdt_document":"","_wcpt_session_time":1712325600,"_wcpt_session_duration":4800,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/vienna.wordcamp.org\/2024\/files\/2024\/05\/Reliable-safe-and-convenient.-Intro-to-the-HTML-API.key","_wcpt_session_video":"","_wcpt_speaker_id":[2709],"footnotes":""},"session_track":[45],"session_category":[],"class_list":["post-2769","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-workshop-dev"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"April 5, 2024","time":"14:00"},"session_speakers":[{"id":"2709","slug":"dennis-snell","name":"Dennis Snell","link":"https:\/\/vienna.wordcamp.org\/2024\/speaker\/dennis-snell\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/2769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/2769\/revisions"}],"predecessor-version":[{"id":4198,"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/2769\/revisions\/4198"}],"speakers":[{"embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/speakers\/2709"}],"author":[{"embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wporg\/v1\/users\/dmsnell"}],"wp:attachment":[{"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/media?parent=2769"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_track?post=2769"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/vienna.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_category?post=2769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}