{"id":1189,"date":"2007-04-12T00:04:08","date_gmt":"2007-04-11T15:04:08","guid":{"rendered":"http:\/\/a-tak.com\/xoops2\/modules\/wordpress\/2007\/04\/12\/1189"},"modified":"2020-07-13T13:12:12","modified_gmt":"2020-07-13T04:12:12","slug":"xoops-module-wordpress-graph-vote","status":"publish","type":"post","link":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/","title":{"rendered":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b"},"content":{"rendered":"<div id=\"advads-3310685659\" class=\"advads-before-content-placement advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/a-tak.com\/blog\/wp-content\/uploads\/attach\/w_uploads\/vote-bar.png?resize=498%2C54&#038;ssl=1\" style=\"border:none;\" alt=\"\u6295\u7968\u30b0\u30e9\u30d5\" title=\"\u6295\u7968\u30b0\u30e9\u30d5\" width=\"498\" height=\"54\" \/><\/p>\n<p>\u3061\u3087\u3063\u3068\u524d\u306b\u4f5c\u6210\u3057\u3066\u3053\u306e\u30d6\u30ed\u30b0\u306e\u4eba\u6c17\u8a18\u4e8b\u306b\u3082\u306a\u3063\u3066\u3044\u308b<a href=\"https:\/\/a-tak.com\/blog\/2006\/08\/xoops-module-wordpress-vote\/\">XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306e\u6295\u7968\u30b7\u30b9\u30c6\u30e0<\/a>\u3092\u30d1\u30ef\u30fc\u30a2\u30c3\u30d7\u3055\u305b\u3066\u3001\u6295\u7968\u7d50\u679c\u3092\u30b0\u30e9\u30d5\u3067\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u5e38\u9023\u3055\u3093\u306f\u30d6\u30e9\u30a6\u30b6\u306e\u66f4\u65b0\u30dc\u30bf\u30f3\u3092\u62bc\u3055\u306a\u3044\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6b8b\u3063\u3066\u3066\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><!--more--><\/p>\n<h2>\u9078\u6319\u901f\u5831\u3068\u304b\u697d\u3057\u3044\u3058\u3083\u306a\u3044\u3067\u3059\u304b<\/h2>\n<p>\u30c6\u30ec\u30d3\u306e\u9078\u6319\u901f\u5831\u3068\u304b\u30b0\u30e9\u30d5\u304c\u3050\u3093\u3050\u3093\u52d5\u3044\u3066\u3044\u3063\u3066\u3001\u679c\u305f\u3057\u3066\u81ea\u5206\u304c\u6295\u7968\u3057\u305f\u5019\u88dc\u8005\u306f\u4ed6\u306e\u4eba\u3082\u9078\u3093\u3067\u3044\u308b\u306e\u304b\u3001\u81ea\u5206\u306e\u9078\u629e\u304c\u30ec\u30a2\u3060\u3063\u305f\u306e\u304b\u3001\u305d\u3046\u3044\u3046\u306e\u3092\u78ba\u8a8d\u3059\u308b\u306e\u3063\u3066\u306a\u3093\u304b\u697d\u3057\u3044\u3068\u3044\u3046\u304b\u3001\u5b89\u5fc3\u3059\u308b\u3068\u3044\u3046\u304b\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u81ea\u5206\u304c\u6295\u7968\u3057\u305f\u8a18\u4e8b\u3092\u4ed6\u306e\u4eba\u304c\u3069\u3046\u8a55\u4fa1\u3057\u3066\u3044\u308b\u306e\u304b\u304c\u3001\u3059\u3050\u306b\u51fa\u3066\u304f\u308b\u3068\u89aa\u5207\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3057\u304b\u3082\u3001\u3069\u3046\u305b\u306a\u3089\u304b\u3063\u3053\u3088\u304f\u3002<\/p>\n<p>\u305d\u3093\u306a\u308f\u3051\u3067\u3001\u6295\u7968\u7d50\u679c\u3092\u52d5\u304d\u306e\u3042\u308b\u30b0\u30e9\u30d5\u3067\u8868\u793a\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n<h2>\u7d50\u679c\u306fJSON\u3067<\/h2>\n<p>\u4eca\u56de\u3001\u6295\u7968\u3059\u308b\u3060\u3051\u3067\u306f\u306a\u304f\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u6295\u7968\u6570\u3092\u53d7\u3051\u53d6\u3063\u3066\u30b0\u30e9\u30d5\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001\u3044\u308d\u3044\u308d\u3068\u524d\u6e96\u5099\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u7d50\u679c\u3092\u8fd4\u3059\u305f\u3081\u306b<span class=\"removed_link\" title=\"http:\/\/www.aurore.net\/projects\/php-json\/\">PHP-JSON<\/span>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\nPEAR\u3092\u4f7f\u3048\u3070\u7c21\u5358\u3067\u3059\u3002<\/p>\n<blockquote><p>pear install json<\/p><\/blockquote>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u3001\/etc\/php.ini\u306b<\/p>\n<blockquote><p>extension=json.so<\/p><\/blockquote>\n<p>\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u305f\u4e0a\u3067\u3001Apache\u3092\u518d\u8d77\u52d5\u3057\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002<br \/>\n\u81ea\u5206\u306f\u6700\u521d\u3001extention\u3068\u9593\u9055\u3063\u3066\u66f8\u3044\u3066\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f(\u7b11)<\/p>\n<p>\u4e00\u5fdc\u3001\u3053\u308c\u3067phpinfo();\u3059\u308b\u3068JSON\u306e\u9805\u76ee\u304c\u51fa\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001\u3046\u3061\u306eOS\u306fFedora Core\u3067\u3059(\u3044\u307e\u3044\u3061PEAR\u3084PHP\u306f\u8a73\u3057\u304f\u306a\u3044\u306e\u3067OS\u304c\u95a2\u4fc2\u3059\u308b\u304b\u308f\u304b\u308a\u307e\u305b\u3093\u304c)\u3002<\/p>\n<h2>\u30c6\u30fc\u30d6\u30eb\u306f\u5909\u308f\u3089\u305a<\/h2>\n<p>\u4ee5\u524d\u306e\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3068\u540c\u3058\u30c6\u30fc\u30d6\u30eb\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<blockquote>\n<pre>CREATE TABLE `xoops_wp_popularity` (\r\n? `postnumber` int(11) NOT NULL default \u20180\u2032,\r\n? `good` int(11) NOT NULL default \u20180\u2032,\r\n? `bad` int(11) NOT NULL default \u20180\u2032,\r\n? PRIMARY KEY? (`postnumber`)\r\n) TYPE=MyISAM;<\/pre>\n<\/blockquote>\n<h2>\u30b5\u30fc\u30d0\u30fc\u5074\u306evote.php<\/h2>\n<p>\u524d\u304b\u3089\u3060\u3044\u3076\u5909\u66f4\u3002<\/p>\n<blockquote><p>&lt;?php<br \/>\n\/\/\u7f8e\u4e73<br \/>\n\/\/WordPress\u4eba\u6c17\u6295\u7968<\/p>\n<p>$fail = &#8220;fail&#8221;;<\/p>\n<p>$id = intval($_GET[&#8216;id&#8217;]);<br \/>\nif (!is_numeric($id)){<br \/>\nprint $fail;<br \/>\nreturn;<br \/>\n}<\/p>\n<p>$conn = mysql_connect(&#8220;server&#8221;,&#8221;user&#8221;,&#8221;password&#8221;);<br \/>\nmysql_select_db(&#8220;xoops&#8221;);<\/p>\n<p>\/\/\u6295\u7968\u30c7\u30fc\u30bf\u53d6\u5f97<br \/>\n$post = GetPopularityData($id);<\/p>\n<p>\/\/<br \/>\nif (empty($post-&gt;good) &amp;&amp; empty($post-&gt;bad))<br \/>\n{<br \/>\n\/\/\u884c\u8ffd\u52a0<br \/>\n$sql = sprintf(&#8220;insert into xoops_wp_popularity(postnumber, good, bad) values(%d, 0, 0);&#8221;,$id);<br \/>\n@mysql_query($sql);<\/p>\n<p>$post-&gt;good = 0;<br \/>\n$post-&gt;bad = 0;<br \/>\n}<\/p>\n<p>switch ($_GET[&#8220;vote&#8221;]){<br \/>\ncase &#8220;good&#8221; :<br \/>\n$post-&gt;good = $post-&gt;good + 1;<br \/>\n$resultmsg = &#8220;\u826f\u3044\u8a55\u4fa1\u3092\u3082\u3089\u3063\u305f\u3088!&#8221;;<br \/>\nbreak;<br \/>\ncase &#8220;bad&#8221; :<br \/>\n$post-&gt;bad = $post-&gt;bad + 1;<br \/>\n$resultmsg = &#8220;\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u3044\u307e\u3044\u3061\u3060\u3068\u3044\u3046\u8a55\u4fa1\u3092\u3082\u3089\u3063\u305f\u3088&#8221;;<br \/>\nbreak;<br \/>\ndefault :<br \/>\nprint($fail);<br \/>\nreturn;<br \/>\n}<\/p>\n<p>\/\/\u6295\u7968<br \/>\nvote($post);<\/p>\n<p>\/\/\u7d50\u679c<br \/>\nShowVoteResult($post);<\/p>\n<p>\/\/\u30e1\u30fc\u30eb\u9001\u4fe1<br \/>\nmb_language(&#8220;Japanese&#8221;);<br \/>\n$mail_subject = &#8220;\u3084\u3063\u305f\u306d!\u8a18\u4e8b\u306b\u6295\u7968\u304c\u3042\u308a\u307e\u3057\u305f&#8221;;<br \/>\n$mail_body.= $resultmsg.&#8221;n&#8221;;<br \/>\n$mail_body.= &#8220;\u826f\u3044\u3068\u8a55\u4fa1\u3055\u308c\u305f\u306e\u304c&#8221;.$post-&gt;good.&#8221;\u7968\u3001\u60aa\u3044\u3068\u8a55\u4fa1\u3055\u308c\u305f\u306e\u304c&#8221;.$post-&gt;bad.&#8221;\u7968\u3067\u3059n&#8221;;<br \/>\n$mail_body.= &#8220;\u6295\u7968\u3055\u308c\u305f\u8a18\u4e8b\u306f\u3053\u308cn&#8221;;<br \/>\n$mail_body.= &#8220;\u300c&#8221;.$post-&gt;title.&#8221;\u300dn&#8221;;<br \/>\n$mail_body.= &#8220;http:\/\/XOOPS\u30b5\u30a4\u30c8\u306e\u30a2\u30c9\u30ec\u30b9\/modules\/wordpress\/index.php?p=&#8221;.$id.&#8221;&amp;more=1&amp;c=1&#8243;;<\/p>\n<p>mb_send_mail(&#8220;\u901a\u77e5\u5148\u306e\u30a2\u30c9\u30ec\u30b9&#8221;,$mail_subject,$mail_body,&#8221;From: \u5dee\u51fa\u4eba\u306e\u30a2\u30c9\u30ec\u30b9&#8221;);<\/p>\n<p>\/\/\u6295\u7968\u7d50\u679c\u8868\u793a<br \/>\nfunction ShowVoteResult($post){<br \/>\n$val = array(&#8220;good&#8221; =&gt; $post-&gt;good,<br \/>\n&#8220;bad&#8221; =&gt; $post-&gt;bad<br \/>\n);<br \/>\n$output = json_encode($val);<br \/>\nprint $output;<br \/>\n}<\/p>\n<p>\/\/\u6295\u7968<br \/>\nfunction vote($post){<br \/>\n$sql = sprintf(&#8220;update xoops_wp_popularity set good = %d, bad = %d where postnumber = %d;&#8221;, $post-&gt;good, $post-&gt;bad, $post-&gt;post_id);<br \/>\n@mysql_query($sql);<br \/>\n}<\/p>\n<p>\/\/\u6295\u7968\u30c7\u30fc\u30bf\u3092\u53d6\u5f97<br \/>\nfunction GetPopularitydata($p_number){<br \/>\n$data = NULL;<\/p>\n<p>$sql = sprintf(&#8220;select m.postnumber, m.good, m.bad, p.post_title from xoops_wp_popularity m RIGHT JOIN xoops_wp_posts p ON m.postnumber = p.ID where p.ID = %d;&#8221;,$p_number);<br \/>\n$result = @mysql_query($sql);<br \/>\nwhile ($row = mysql_fetch_array($result, MYSQL_NUM)) {<br \/>\n$data = new PopularityData;<br \/>\n$data-&gt;good = $row[1];<br \/>\n$data-&gt;bad = $row[2];<br \/>\n$data-&gt;title = $row[3];<br \/>\n$data-&gt;post_id = $p_number;<br \/>\n}<\/p>\n<p>return $data;<br \/>\n}<\/p>\n<p>\/\/\u30ec\u30b3\u30fc\u30c9\u30c7\u30fc\u30bf\u7528\u30af\u30e9\u30b9<br \/>\nclass PopularityData {<br \/>\nvar $good;<br \/>\nvar $bad;<br \/>\nvar $title;<br \/>\nvar $post_id;<br \/>\n}<br \/>\n?&gt;<\/p><\/blockquote>\n<p>\u6295\u7968\u3055\u308c\u305f\u3089\u30e1\u30fc\u30eb\u3067\u901a\u77e5\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7d50\u679c\u306f\u3055\u3063\u304d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fPHP-JSON\u3092\u4f7f\u3063\u3066\u3001JSON\u5f62\u5f0f\u3067\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001<\/p>\n<blockquote><p>{&#8220;good&#8221;:0,&#8221;bad&#8221;:1}<\/p><\/blockquote>\n<p>\u3053\u3093\u306a\u611f\u3058\u306e\u6587\u5b57\u5217\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<h2>XOOPS\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u8ffd\u52a0<\/h2>\n<p>\u4eca\u56de\u3001prototype.js\u4ee5\u5916\u306b\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306aUI\u3092\u5b9f\u73fe\u3059\u308b<span class=\"removed_link\" title=\"http:\/\/script.aculo.us\/\">script.aculo.us<\/span>\u3082\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<br \/>\nXOOPS\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306etheme\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u3092\u63a2\u3063\u3066\u3044\u304f\u3068theme.html\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u306ehead\u30bf\u30b0\u306e\u9593\u306b<\/p>\n<blockquote><p>&lt;script language=&#8221;javascript&#8221; src=&#8221;\/ajax\/prototype.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script language=&#8221;javascript&#8221; src=&#8221;\/ajax\/scriptaculous.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script language=&#8221;javascript&#8221; src=&#8221;\/ajax\/votescript.js&#8221;&gt;&lt;\/script&gt;<\/p><\/blockquote>\n<p>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\nvotescript.js\u306f\u6b21\u9805\u3092\u3002<\/p>\n<h2>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306eJavaScript(votescript.js)<\/h2>\n<p>Ajax\u306e\u809d\u3002\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306eJavaScript\u306f\u3053\u3093\u306a\u611f\u3058\u3002<br \/>\nAjax\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bvote.php\u304c\u3042\u308b\u3068\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\/\/ JavaScript Document<br \/>\n\/\/ \u7f8e\u4e73<br \/>\nfunction voteGood(id)<br \/>\n{<br \/>\ndisplayProgress();<\/p>\n<p>new Ajax.Request(&#8220;\/ajax\/vote.php?id=&#8221; + id + &#8220;&amp;vote=good&#8221;, { method: &#8216;get&#8217;, onSuccess: displayResult, onFailure : displayFail });<br \/>\n}<\/p>\n<p>function voteBad(id)<br \/>\n{<br \/>\ndisplayProgress();<\/p>\n<p>new Ajax.Request(&#8220;\/ajax\/vote.php?id=&#8221; + id + &#8220;&amp;vote=bad&#8221;, { method: &#8216;get&#8217;, onSuccess : displayResult ,onFailure : displayFail});<br \/>\n}<\/p>\n<p>function displayProgress()<br \/>\n{<br \/>\n\/\/\u3044\u3063\u305f\u3093\u96a0\u3057\u3066\u304a\u304f<br \/>\nnew Effect.Fade(&#8220;good-count&#8221;, { from:0, to:0, duration:0});<br \/>\nnew Effect.Fade(&#8220;bad-count&#8221;, { from:0, to:0, duration:0});<\/p>\n<p>$(&#8220;vote-result&#8221;).innerHTML = &#8216;\u6295\u7968\u51e6\u7406\u4e2d\u30fb\u30fb\u30fb&#8217;<br \/>\n}<\/p>\n<p>function displayResult(responseHttpObj, json)<br \/>\n{<br \/>\neval(&#8220;var ret = &#8221; + responseHttpObj.responseText);<\/p>\n<p>if (responseHttpObj.responseText == &#8216;fail&#8217;)<br \/>\n{<br \/>\n$(&#8220;vote-result&#8221;).innerHTML = &#8216;\u3054\u3081\u3093\u306a\u3055\u3044\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3044\u3066\u3046\u307e\u304f\u6295\u7968\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f&#8217;;<br \/>\n}else{<br \/>\n$(&#8220;vote-result&#8221;).innerHTML = &#8216;\u6295\u7968\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059! &#8216;;<\/p>\n<p>\/\/\u30b0\u30e9\u30d5\u63cf\u753b<br \/>\nvar totalVote = new Number(ret.good) + new Number(ret.bad);<br \/>\nvar goodPercent = ret.good \/ totalVote * 100;<br \/>\nvar badPercent = ret.bad \/ totalVote * 100;<\/p>\n<p>var graph = new Effect.Transform([<br \/>\n{ &#8220;#good-graph&#8221; : &#8216;width:&#8217; + goodPercent + &#8216;px&#8217;},<br \/>\n{ &#8220;#bad-graph&#8221; : &#8216;width:&#8217; + badPercent + &#8216;px&#8217;}<br \/>\n], { duration: 1 });<br \/>\ngraph.play();<\/p>\n<p>$(&#8220;good-count&#8221;).innerHTML = &#8216;\u3088\u3044\u3000 &#8216; + ret.good + &#8216;\u7968&#8217;;<br \/>\n$(&#8220;bad-count&#8221;).innerHTML = &#8216;\u308f\u308b\u3044 &#8216; + ret.bad + &#8216;\u7968&#8217;;<\/p>\n<p>new Effect.Appear(&#8220;good-count&#8221;, { from:0, to:1, duration:2});<br \/>\nnew Effect.Appear(&#8220;bad-count&#8221;, { from:0, to:1, duration:2});<\/p>\n<p>}<br \/>\n}<\/p>\n<p>function displayFail()<br \/>\n{<br \/>\n$(&#8220;vote-result&#8221;).innerHTML = &#8216;\u30b5\u30fc\u30d0\u30fc\u30a8\u30e9\u30fc!&#8217;;<br \/>\n}<\/p><\/blockquote>\n<p>\u30b3\u30e1\u30f3\u30c8\u3067\u300c\u3044\u3063\u305f\u3093\u96a0\u3057\u3066\u304a\u304f\u300d\u3068\u3057\u3066\u3042\u308b\u306e\u306f\u3001\u7968\u6570\u3092\u900f\u660e\u306b\u3057\u3066\u3001\u3044\u304d\u306a\u308a\u6570\u5024\u304c\u898b\u3048\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u3084\u3063\u3066\u307e\u3059\u3002<br \/>\n\u30b0\u30e9\u30d5\u304c\u4f38\u3073\u308b\u524d\u306b\u6570\u5024\u304c\u51fa\u305f\u3089\u30ef\u30af\u30ef\u30af\u611f\u304c\u306a\u3044\u3067\u3059\u304b\u3089(\u7b11)<br \/>\n\u3082\u3063\u3068\u3046\u307e\u3044\u65b9\u6cd5\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4e00\u5fdc\u76ee\u7684\u306f\u9054\u305b\u305f\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b0\u30e9\u30d5\u306f\u3001script.aculo.us\u306eTransform\u3092\u4f7f\u3063\u3066\u3001\u3046\u306b\u3087\u30fc\u3093\u3068\u30b0\u30e9\u30d5\u304c\u4f38\u3073\u3066\u3044\u304f\u52b9\u679c\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u306a\u304b\u306a\u304b\u3044\u3044\u611f\u3058(\u7b11)<\/p>\n<p>script.aculo.us\u306e\u4f7f\u3044\u65b9\u306f<a href=\"http:\/\/www.openspc2.org\/JavaScript\/Ajax\/ref\/script.aculo.us\/\">\u3053\u3061\u3089<\/a>\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>\u306f\u307e\u3063\u305f\u306e\u306fJSON\u30c7\u30fc\u30bf\u306e\u53d7\u3051\u53d6\u308a\u3067\u3001\u3042\u3061\u3053\u3061\u30b5\u30a4\u30c8\u898b\u305f\u3051\u3069\u3001\u306a\u305c\u304beval\u3057\u306a\u3044\u3068\u30c7\u30fc\u30bf\u304c\u53d6\u308a\u51fa\u305b\u306a\u3044\u3002<br \/>\neval\u306f\u3042\u3076\u306a\u3044\u3089\u3057\u3044\u304b\u3089\u3042\u307e\u308a\u4f7f\u3044\u305f\u304f\u306a\u3044\u306e\u3060\u3051\u3069\u3002<br \/>\n\u5f15\u6570\u306ejson\u306f\u7d50\u5c40\u4f7f\u308f\u305a\u3002<\/p>\n<h2>\u30b3\u30e1\u30f3\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3082\u3060\u3044\u3076\u5909\u3048\u305f<\/h2>\n<p>comments-template.php\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306fwordpress\u306ethemes\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>&lt;div class=&#8221;vote-box&#8221;&gt;<br \/>\n&lt;div id=&#8221;vote-result&#8221;&gt;<br \/>\n\u3053\u306e\u8a18\u4e8b\u306f\u826f\u304b\u3063\u305f\u3067\u3059\u304b?(\u63a2\u3057\u3066\u3044\u305f\u60c5\u5831\u3001\u9762\u767d\u3044)<br \/>\n&lt;input type=&#8221;submit&#8221; name=&#8221;Submit&#8221; value=&#8221;&amp;hearts;&#8221; onClick=&#8221;voteGood(&lt;?php print($post-&gt;ID); ?&gt;);&#8221; style=&#8221;font-size: 130%; color: #DDAADD;&#8221;&gt;<br \/>\n&lt;input type=&#8221;submit&#8221; name=&#8221;Submit&#8221; value=&#8221;\u00d7&#8221; onClick=&#8221;voteBad(&lt;?php print($post-&gt;ID); ?&gt;);&#8221; style=&#8221;font-size: 130%; color: #777777;&#8221;&gt;<br \/>\n\u6295\u7968\u3059\u308b\u3068\u7d50\u679c\u304c\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u307e\u3059<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div id=&#8221;vote-graph&#8221;&gt;<br \/>\n&lt;div id=&#8221;good-count&#8221;&gt;&lt;\/div&gt;&lt;div id=&#8221;good-graph&#8221;&gt;&lt;\/div&gt;<br \/>\n&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;\/div&gt;<br \/>\n&lt;div id=&#8221;bad-count&#8221;&gt;&lt;\/div&gt;&lt;div id=&#8221;bad-graph&#8221;&gt;&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;\/div&gt;<\/p><\/blockquote>\n<p>\u3053\u308c\u3067\u3001Ajax\u306a\u6295\u7968\u30dc\u30bf\u30f3\u3068\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u30b0\u30e9\u30d5\u8868\u793a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u3064\u3044\u3067\u306bCSS\u3082<\/h2>\n<p>CSS\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<blockquote><p>.vote-box {<br \/>\nbackground-color: #6699CC;<br \/>\npadding: 3px;<br \/>\n}<\/p>\n<p>#vote-result {<br \/>\nfloat:left;<br \/>\n}<\/p>\n<p>#vote-graph {<br \/>\nfloat:left;<br \/>\npadding-left: 20px;<br \/>\n}<\/p>\n<p>#good-count {<br \/>\nfloat:left;<br \/>\nwidth:100px;<br \/>\n}<\/p>\n<p>#bad-count {<br \/>\nfloat:left;<br \/>\nwidth:100px;<br \/>\n}<\/p>\n<p>#good-graph {<br \/>\nfloat:left;<br \/>\nwidth:0px;<br \/>\nheight:20px;<br \/>\nbackground-image: url(blue-bar.png);<br \/>\n}<\/p>\n<p>#bad-graph {<br \/>\nfloat:left;<br \/>\nwidth:0px;<br \/>\nheight:20px;<br \/>\nbackground-image: url(red-bar.png);<br \/>\n}<\/p><\/blockquote>\n<p>float\u3092\u99c6\u4f7f\u3057\u3066\u4e00\u5fdc\u601d\u3046\u3068\u304a\u308a\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u679c\u305f\u3057\u3066\u3053\u306e\u3084\u308a\u65b9\u304c\u6b63\u3057\u3044\u306e\u304b\u306f\u4e0d\u660e\u3067\u3059\u3002<br \/>\n\u30b0\u30e9\u30d5\u306e\u6240\u306fscript.aculo.us\u306eTransForm\u3067\u6a2a\u306b\u5f15\u304d\u5ef6\u3070\u3059\u306e\u3067\u3001\u6700\u521d\u306f0\u30d4\u30af\u30bb\u30eb\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30b0\u30e9\u30d5\u306f\u5e451\u30c9\u30c3\u30c8\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u3092<span class=\"removed_link\" title=\"http:\/\/gimp-win.sourceforge.net\/stable.html\">GIMP<\/span>\u3067\u4f5c\u6210\u3057\u3066\u3001\u80cc\u666f\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n<h2>\u306a\u304b\u306a\u304b\u3088\u3044\u51fa\u6765\u306b<\/h2>\n<p>\u30b0\u30e9\u30d5\u3092\u66f8\u304f\u306e\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u4f7f\u3063\u3066\u3082\u9762\u5012\u3060\u3063\u305f\u3051\u3069(\u305d\u3082\u305d\u3082\u30b0\u30e9\u30d5\u3092\u66f8\u304f\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3058\u3083\u306a\u3044\u3060\u308d\u3046\u3057)\u3001\u52d5\u304d\u306e\u3042\u308b\u3044\u3044\u611f\u3058\u306e\u30b0\u30e9\u30d5\u306b\u306a\u3063\u305f\u3002<br \/>\n\u4ed6\u306b\u3082\u30b0\u30e9\u30d5\u3092\u66f8\u304f\u5c02\u7528\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u52d5\u304f\u3084\u3064\u306f\u898b\u3064\u3051\u304d\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3001script.aculo.us\u3067\u304c\u3093\u3070\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u524d\u306e\u3068\u6bd4\u3079\u3066\u4eca\u5ea6\u306f\u3061\u3083\u3093\u3068\u7d50\u679c\u3092\u8fd4\u3059\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u3053\u308c\u3067\u6674\u308c\u3066 Asynchronous Javascript?+ JSON \u3067\u3001Ajaj?<br \/>\n\u3042\u308c\u3001\u307e\u3060AJax\u3058\u3083\u306a\u3044\u3084(\u7b11)<\/p><div id=\"advads-3438058370\" class=\"advads-content-placement-after-3rd-paragraph advads-entity-placement\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><div class=\"advads-adlabel\">\u5e83\u544a<\/div><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7585646298782746\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:300px;height:250px;\" \ndata-ad-client=\"ca-pub-7585646298782746\" \ndata-ad-slot=\"6112122906\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<p><!--xoops wordpress ajax--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3061\u3087\u3063\u3068\u524d\u306b\u4f5c\u6210\u3057\u3066\u3053\u306e\u30d6\u30ed\u30b0\u306e\u4eba\u6c17\u8a18\u4e8b\u306b\u3082\u306a\u3063\u3066\u3044\u308bXOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306e\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30d1\u30ef\u30fc\u30a2\u30c3\u30d7\u3055\u305b\u3066\u3001\u6295\u7968\u7d50\u679c\u3092\u30b0\u30e9\u30d5\u3067\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u5e38\u9023\u3055\u3093\u306f\u30d6\u30e9\u30a6\u30b6\u306e\u66f4\u65b0\u30dc\u30bf\u30f3\u3092\u62bc\u3055\u306a\u3044\u3068 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5424,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[479],"tags":[148,9,44],"class_list":["post-1189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-xoops","tag-ajax","tag-wordpress","tag-xoops"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"A-tak\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"A-tak.com\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"498\" \/>\n\t\t<meta property=\"og:image:height\" content=\"54\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2007-04-11T15:04:08+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-07-13T04:12:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ataktwit\" \/>\n\t\t<meta name=\"twitter:title\" content=\"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@ataktwi\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"\u6295\u7a3f\u8005\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"A-tak\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u66f8\u6642\u9593\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#article\",\"name\":\"XOOPS\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u7248WordPress\\u306eAjax\\u3092\\u4f7f\\u3063\\u305f\\u6295\\u7968\\u30b7\\u30b9\\u30c6\\u30e0\\u3092\\u30b0\\u30e9\\u30d5\\u8868\\u793a\\u306b | A-TAK\",\"headline\":\"XOOPS\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u7248WordPress\\u306eAjax\\u3092\\u4f7f\\u3063\\u305f\\u6295\\u7968\\u30b7\\u30b9\\u30c6\\u30e0\\u3092\\u30b0\\u30e9\\u30d5\\u8868\\u793a\\u306b\",\"author\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/author\\\/a-tak\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/a-tak.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/06\\\/vote-bar1.png?fit=498%2C54&ssl=1\",\"width\":498,\"height\":54},\"datePublished\":\"2007-04-12T00:04:08+09:00\",\"dateModified\":\"2020-07-13T13:12:12+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#webpage\"},\"articleSection\":\"XOOPS, Ajax, WordPress, XOOPS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/a-tak.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/#listItem\",\"name\":\"\\u30b5\\u30a4\\u30c8\\u69cb\\u7bc9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/#listItem\",\"position\":2,\"name\":\"\\u30b5\\u30a4\\u30c8\\u69cb\\u7bc9\",\"item\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/xoops\\\/#listItem\",\"name\":\"XOOPS\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/xoops\\\/#listItem\",\"position\":3,\"name\":\"XOOPS\",\"item\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/xoops\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#listItem\",\"name\":\"XOOPS\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u7248WordPress\\u306eAjax\\u3092\\u4f7f\\u3063\\u305f\\u6295\\u7968\\u30b7\\u30b9\\u30c6\\u30e0\\u3092\\u30b0\\u30e9\\u30d5\\u8868\\u793a\\u306b\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/#listItem\",\"name\":\"\\u30b5\\u30a4\\u30c8\\u69cb\\u7bc9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#listItem\",\"position\":4,\"name\":\"XOOPS\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u7248WordPress\\u306eAjax\\u3092\\u4f7f\\u3063\\u305f\\u6295\\u7968\\u30b7\\u30b9\\u30c6\\u30e0\\u3092\\u30b0\\u30e9\\u30d5\\u8868\\u793a\\u306b\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/category\\\/website\\\/xoops\\\/#listItem\",\"name\":\"XOOPS\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/#person\",\"name\":\"A-tak\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2c91cbb5bd047e26bc1e5c593713a8862dc9377eecd85ef500ba6da6599ca20e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"A-tak\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/ataktwi\",\"https:\\\/\\\/www.youtube.com\\\/@a-tak\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/author\\\/a-tak\\\/#author\",\"url\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/author\\\/a-tak\\\/\",\"name\":\"A-tak\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2c91cbb5bd047e26bc1e5c593713a8862dc9377eecd85ef500ba6da6599ca20e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"A-tak\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/ataktwi\",\"https:\\\/\\\/www.youtube.com\\\/@a-tak\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#webpage\",\"url\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/\",\"name\":\"XOOPS\\u30e2\\u30b8\\u30e5\\u30fc\\u30eb\\u7248WordPress\\u306eAjax\\u3092\\u4f7f\\u3063\\u305f\\u6295\\u7968\\u30b7\\u30b9\\u30c6\\u30e0\\u3092\\u30b0\\u30e9\\u30d5\\u8868\\u793a\\u306b | A-TAK\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/author\\\/a-tak\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/author\\\/a-tak\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/a-tak.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/06\\\/vote-bar1.png?fit=498%2C54&ssl=1\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#mainImage\",\"width\":498,\"height\":54},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/2007\\\/04\\\/xoops-module-wordpress-graph-vote\\\/#mainImage\"},\"datePublished\":\"2007-04-12T00:04:08+09:00\",\"dateModified\":\"2020-07-13T13:12:12+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/\",\"name\":\"A-TAK\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/a-tak.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK","description":"","canonical_url":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#article","name":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK","headline":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b","author":{"@id":"https:\/\/a-tak.com\/blog\/author\/a-tak\/#author"},"publisher":{"@id":"https:\/\/a-tak.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png?fit=498%2C54&ssl=1","width":498,"height":54},"datePublished":"2007-04-12T00:04:08+09:00","dateModified":"2020-07-13T13:12:12+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#webpage"},"isPartOf":{"@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#webpage"},"articleSection":"XOOPS, Ajax, WordPress, XOOPS"},{"@type":"BreadcrumbList","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/a-tak.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/category\/website\/#listItem","name":"\u30b5\u30a4\u30c8\u69cb\u7bc9"}},{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/category\/website\/#listItem","position":2,"name":"\u30b5\u30a4\u30c8\u69cb\u7bc9","item":"https:\/\/a-tak.com\/blog\/category\/website\/","nextItem":{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/category\/website\/xoops\/#listItem","name":"XOOPS"},"previousItem":{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/category\/website\/xoops\/#listItem","position":3,"name":"XOOPS","item":"https:\/\/a-tak.com\/blog\/category\/website\/xoops\/","nextItem":{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#listItem","name":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b"},"previousItem":{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/category\/website\/#listItem","name":"\u30b5\u30a4\u30c8\u69cb\u7bc9"}},{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#listItem","position":4,"name":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b","previousItem":{"@type":"ListItem","@id":"https:\/\/a-tak.com\/blog\/category\/website\/xoops\/#listItem","name":"XOOPS"}}]},{"@type":"Person","@id":"https:\/\/a-tak.com\/blog\/#person","name":"A-tak","image":{"@type":"ImageObject","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/2c91cbb5bd047e26bc1e5c593713a8862dc9377eecd85ef500ba6da6599ca20e?s=96&d=mm&r=g","width":96,"height":96,"caption":"A-tak"},"sameAs":["https:\/\/twitter.com\/ataktwi","https:\/\/www.youtube.com\/@a-tak"]},{"@type":"Person","@id":"https:\/\/a-tak.com\/blog\/author\/a-tak\/#author","url":"https:\/\/a-tak.com\/blog\/author\/a-tak\/","name":"A-tak","image":{"@type":"ImageObject","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2c91cbb5bd047e26bc1e5c593713a8862dc9377eecd85ef500ba6da6599ca20e?s=96&d=mm&r=g","width":96,"height":96,"caption":"A-tak"},"sameAs":["https:\/\/twitter.com\/ataktwi","https:\/\/www.youtube.com\/@a-tak"]},{"@type":"WebPage","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#webpage","url":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/","name":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK","inLanguage":"ja","isPartOf":{"@id":"https:\/\/a-tak.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#breadcrumblist"},"author":{"@id":"https:\/\/a-tak.com\/blog\/author\/a-tak\/#author"},"creator":{"@id":"https:\/\/a-tak.com\/blog\/author\/a-tak\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png?fit=498%2C54&ssl=1","@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#mainImage","width":498,"height":54},"primaryImageOfPage":{"@id":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/#mainImage"},"datePublished":"2007-04-12T00:04:08+09:00","dateModified":"2020-07-13T13:12:12+09:00"},{"@type":"WebSite","@id":"https:\/\/a-tak.com\/blog\/#website","url":"https:\/\/a-tak.com\/blog\/","name":"A-TAK","inLanguage":"ja","publisher":{"@id":"https:\/\/a-tak.com\/blog\/#person"}}]},"og:locale":"ja_JP","og:site_name":"A-tak.com","og:type":"article","og:title":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK","og:url":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/","og:image":"https:\/\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png","og:image:secure_url":"https:\/\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png","og:image:width":498,"og:image:height":54,"article:published_time":"2007-04-11T15:04:08+00:00","article:modified_time":"2020-07-13T04:12:12+00:00","twitter:card":"summary_large_image","twitter:site":"@ataktwit","twitter:title":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b | A-TAK","twitter:creator":"@ataktwi","twitter:image":"https:\/\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png","twitter:label1":"\u6295\u7a3f\u8005","twitter:data1":"A-tak","twitter:label2":"\u63a8\u5b9a\u8aad\u66f8\u6642\u9593","twitter:data2":"4\u5206"},"aioseo_meta_data":{"post_id":"1189","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-05-01 12:57:53","updated":"2025-06-04 05:46:29","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/a-tak.com\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/a-tak.com\/blog\/category\/website\/\" title=\"\u30b5\u30a4\u30c8\u69cb\u7bc9\">\u30b5\u30a4\u30c8\u69cb\u7bc9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/a-tak.com\/blog\/category\/website\/xoops\/\" title=\"XOOPS\">XOOPS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tXOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/a-tak.com\/blog"},{"label":"\u30b5\u30a4\u30c8\u69cb\u7bc9","link":"https:\/\/a-tak.com\/blog\/category\/website\/"},{"label":"XOOPS","link":"https:\/\/a-tak.com\/blog\/category\/website\/xoops\/"},{"label":"XOOPS\u30e2\u30b8\u30e5\u30fc\u30eb\u7248WordPress\u306eAjax\u3092\u4f7f\u3063\u305f\u6295\u7968\u30b7\u30b9\u30c6\u30e0\u3092\u30b0\u30e9\u30d5\u8868\u793a\u306b","link":"https:\/\/a-tak.com\/blog\/2007\/04\/xoops-module-wordpress-graph-vote\/"}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/a-tak.com\/blog\/wp-content\/uploads\/2012\/06\/vote-bar1.png?fit=498%2C54&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/1189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/comments?post=1189"}],"version-history":[{"count":0,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/posts\/1189\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/media\/5424"}],"wp:attachment":[{"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/media?parent=1189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/categories?post=1189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/a-tak.com\/blog\/wp-json\/wp\/v2\/tags?post=1189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}