{"id":177,"date":"2017-03-30T13:32:42","date_gmt":"2017-03-30T13:32:42","guid":{"rendered":"https:\/\/2017.raleigh.wordcamp.org\/?post_type=wcb_session&#038;p=177"},"modified":"2017-03-31T18:29:32","modified_gmt":"2017-03-31T18:29:32","slug":"wordpress-and-websockets","status":"publish","type":"wcb_session","link":"https:\/\/raleigh.wordcamp.org\/2017\/session\/wordpress-and-websockets\/","title":{"rendered":"WordPress and WebSockets"},"content":{"rendered":"<p>In this talk, we&#8217;ll cover building a WordPress site that leverages the power of Express.js and WebSockets to enable things like live publishing, commenting, and alerting users when content is being edited.  We&#8217;ll build a simple Express app to handle POST requests from a WordPress site and turn them into events emitted to users, and build REST API endpoints to handle data from users. We&#8217;ll also talk about integrating something like this into a production site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this talk, we&#8217;ll cover building a WordPress site that leverages the power of Express.js and WebSockets to enable things like live publishing, commenting, and alerting users when content is being edited. We&#8217;ll build a simple Express app to handle POST requests from a WordPress site and turn them into events emitted to users, and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/raleigh.wordcamp.org\/2017\/session\/wordpress-and-websockets\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress and WebSockets&#8221;<\/span><\/a><\/p>\n","protected":false},"author":15320568,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1492971300,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[176],"footnotes":""},"session_track":[5041],"session_category":[],"class_list":["post-177","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-developer"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8jotV-2R","session_date_time":{"date":"April 23, 2017","time":"1:15 pm"},"session_speakers":[{"id":"176","slug":"ethan-butler","name":"Ethan Butler","link":"https:\/\/raleigh.wordcamp.org\/2017\/speaker\/ethan-butler\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/177\/revisions"}],"predecessor-version":[{"id":739,"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/177\/revisions\/739"}],"speakers":[{"embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/176"}],"author":[{"embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/squints"}],"wp:attachment":[{"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=177"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}