{"id":116,"date":"2005-08-11T14:52:11","date_gmt":"2005-08-11T22:52:11","guid":{"rendered":""},"modified":"2016-05-25T23:34:36","modified_gmt":"2016-05-26T06:34:36","slug":"the-polls-are-in","status":"publish","type":"post","link":"https:\/\/mikeindustries.com\/blog\/archive\/2005\/08\/the-polls-are-in","title":{"rendered":"The Polls Are In"},"content":{"rendered":"<p><?php @include_once($_SERVER[\"DOCUMENT_ROOT\"].\"\/blog\/voting\/poll.php\"); ?><\/p>\n<div style=\"width: 200px; float: right\"><?php $mikePoll = new Poll('2005-08-08-bestfeature'); $mikePoll->render(); ?>\n<\/div>\n<p>I&#8217;ve wanted to add polls to this site for quite awhile now but never had the time to write a good voting component.  Sure, there are some pre-made ones out there ripe for stealing but I wanted something fast, compact, flexible, and standards-based. Something I could just insert into any blog entry at any time to allow voting.<\/p>\n<p>As luck would have it, we need polls at our new company, and so we busted one out.  Several things like visual effects and more flexibility still need to be added, but I figured I&#8217;d let it loose for some early testing.  Please make your selection on the right and post any suggestions or bug reports in the comments.<\/p>\n<p>A couple of notes: You can only vote once.  This is controlled via a combination of IP checking and cookies.  The poll should work in all browsers, but we haven&#8217;t tested the obscure ones yet, so no guarantees at this early alpha stage.<\/p>\n<p>The next thing on the plate is to add auto-updating, so for high-volume polls (certain not any on this here little popsicle-stand-of-a-site) you will be able to watch the results change on the fly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve wanted to add polls to this site for quite awhile now but never had the time to write a good voting component.  Sure, there are some pre-made ones out there ripe for stealing but I wanted something fast, compact, flexible, and standards-based. Something I could just insert into any blog entry at any time to allow voting. As luck would have it, we need polls at our new company, and so we busted one out&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,282],"tags":[],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-code","category-original"],"_links":{"self":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":0,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"wp:attachment":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}