{"id":324,"date":"2008-10-13T21:22:22","date_gmt":"2008-10-13T12:22:22","guid":{"rendered":"http:\/\/blog.pianoman-net.com\/?p=324"},"modified":"2013-06-30T14:57:03","modified_gmt":"2013-06-30T05:57:03","slug":"%ef%bc%88fc2%ef%bc%89%e9%80%81%e4%bf%a1tb%e6%96%87%e5%ad%97%e5%8c%96%e3%81%91%e5%af%be%e7%ad%96%e3%80%82","status":"publish","type":"post","link":"https:\/\/blog.pianoman-net.com\/?p=324","title":{"rendered":"\uff08FC2\uff09\u9001\u4fe1TB\u6587\u5b57\u5316\u3051\u5bfe\u7b56\u3002"},"content":{"rendered":"<p>\u6628\u65e5\u4f5c\u3063\u305f\u6599\u7406\u306e<a href=\"https:\/\/30minutescooking.blog57.fc2.com\/blog-entry-136.html\" target=\"_blank\" rel=\"noopener\">\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u3044\u305f\u30b5\u30a4\u30c8\u69d8\u8a72\u5f53\u8a18\u4e8b<\/a>\u3078<br \/>\nTB\u3092\u6253\u3063\u305f\u3068\u3053\u308d\u3001\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u3066(A\u00b4\uff65\u03c9\uff65)\uff8c\uff77\uff8c\uff77<br \/>\n\u30b0\u30b0\u3063\u3066\u5bfe\u7b56\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n&nbsp;<br \/>\n<a href=\"https:\/\/hoshinoumi-nasake.com\/archives\/2008\/04\/post_270.php\" target=\"_blank\" rel=\"noopener\">\u300b\u661f\u306e\u6d77\u3067\u30c8\u30fc\u30af &#8211; \u300c\u9001\u4fe1\u3057\u305f\uff34\uff22\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3046\uff5e\uff01\u300d\u306e\u5bfe\u5fdc\u5b8c\u4e86<\/a><br \/>\n&nbsp;<br \/>\n<!--more--><br \/>\n&nbsp;<br \/>\n<strong>\u524d\u63d0\u6761\u4ef6\uff1a<\/strong><br \/>\n\u30fb\u4e0b\u8a18\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u4e8b<br \/>\n\u3000[MT\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea]\/extlib\/Jcode.pm<\/p>\n<p>\u30fb\u4e0b\u8a18\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u4e8b<br \/>\n\u3000[MT\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea]\/extlib\/Jcode\/<\/p>\n<p><strong>\u4fee\u6b63\u30d5\u30a1\u30a4\u30eb\uff1a<\/strong><br \/>\n[MT\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea]\/lib\/MT.pm<\/p>\n<p><strong>\u4fee\u6b63\u7b87\u6240\uff1a<\/strong><br \/>\n\uff11\uff0e784\u884c\u76ee\uff5e\u3092\u4ee5\u4e0b\u306e\u901a\u308a\u306b\u4fee\u6b63\u3002\uff08\u9752\u5b57\u3092\u8ffd\u52a0\uff09<br \/>\n&nbsp;<\/p>\n<blockquote><p>## Build query string to be sent on each ping.<br \/>\n<font color=blue>require Jcode;<br \/>\nmy $charset = {&#8216;Shift_JIS&#8217;=>&#8217;sjis&#8217;,&#8217;ISO-2022-JP&#8217;=>&#8217;jis&#8217;,&#8217;EUC-JP&#8217;=>&#8217;euc&#8217;,&#8217;UTF-8&#8217;=>&#8217;utf8&#8242;}->{$mt->{cfg}->PublishCharset} || &#8216;utf8&#8217;; <\/font><br \/>\nmy @qs;<br \/>\npush @qs, &#8216;title=&#8217; . MT::Util::encode_url(<font color=blue>Jcode->new(<\/font>$entry->title<font color=blue>, $charset)->utf8<\/font>);<br \/>\npush @qs, &#8216;url=&#8217; . MT::Util::encode_url(<font color=blue>Jcode->new(<\/font>$entry->permalink<font color=blue>, $charset)->utf8<\/font>);<br \/>\npush @qs, &#8216;excerpt=&#8217; . MT::Util::encode_url(<font color=blue>Jcode->new(<\/font>$entry->get_excerpt<font color=blue>, $charset)->utf8<\/font>);<br \/>\npush @qs, &#8216;blog_name=&#8217; . MT::Util::encode_url(<font color=blue>Jcode->new(<\/font>$blog->name<font color=blue>, $charset)->utf8<\/font>);<br \/>\n<font color=blue>push @qs, &#8216;charset=utf-8&#8217;; <\/font><br \/>\nmy $qs = join &#8216;&#038;&#8217;, @qs;<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n\uff12\uff0e806\u884c\u76ee\u3092\u4ee5\u4e0b\u306e\u901a\u308a\u306b\u4fee\u6b63\uff08\u8d64\u5b57\u3092\u524a\u9664\uff09<br \/>\n&nbsp;<\/p>\n<blockquote><p>$req->content_type(&#8220;application\/x-www-form-urlencoded<font color=red>; charset=$enc<\/font>&#8220;);<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n\u4e00\u5fdc\u3001\u30b3\u30b3\u4ee5\u5916\u306eMT\u3067\u69cb\u7bc9\u3057\u305fBLOG\u3068\u3001FC2\u306eBLOG\u306b\u305d\u308c\u305e\u308c<br \/>\nTB\u6253\u3063\u3066\u307f\u305f\u3051\u3069\u3001\u3061\u3083\u3093\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u30c0\u30a4\u30b8\u30e7\u30d6\u304b\u306a\u3002<br \/>\n\u3068\u306b\u304b\u304fUTF-8\u3067\u6253\u3063\u3068\u3051\u3063\u3066\u30b3\u30c8\u3063\u3059\u304b\u306d\uff1b<\/p>\n<p>\u6700\u5f8c\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u6587\u5b57\u5316\u3051TB\u6253\u3063\u3066\u3057\u307e\u3063\u305f\u30b5\u30a4\u30c8\u69d8\u3078\u3001<br \/>\n\u3053\u306e\u5834\u3092\u501f\u308a\u3066\u304a\u8a6b\u3073\u7533\u3057\u3042\u3052\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n<div style=\"text-align:center;\">\n<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"https:\/\/fpdownload.macromedia.com\/get\/flashplayer\/current\/swflash.cab\" id=\"Player_bef08803-f297-4721-b563-9b74875bee51\"  WIDTH=\"500px\" HEIGHT=\"175px\"> <PARAM NAME=\"movie\" VALUE=\"https:\/\/ws.amazon.co.jp\/widgets\/q?rt=tf_cw&#038;ServiceVersion=20070822&#038;MarketPlace=JP&#038;ID=V20070822%2FJP%2Fmelodiesofpia-22%2F8010%2Fbef08803-f297-4721-b563-9b74875bee51&#038;Operation=GetDisplayTemplate\"><PARAM NAME=\"quality\" VALUE=\"high\"><PARAM NAME=\"bgcolor\" VALUE=\"#FFFFFF\"><PARAM NAME=\"allowscriptaccess\" VALUE=\"always\"><embed src=\"https:\/\/ws.amazon.co.jp\/widgets\/q?rt=tf_cw&#038;ServiceVersion=20070822&#038;MarketPlace=JP&#038;ID=V20070822%2FJP%2Fmelodiesofpia-22%2F8010%2Fbef08803-f297-4721-b563-9b74875bee51&#038;Operation=GetDisplayTemplate\" id=\"Player_bef08803-f297-4721-b563-9b74875bee51\" quality=\"high\" bgcolor=\"#ffffff\" name=\"Player_bef08803-f297-4721-b563-9b74875bee51\" allowscriptaccess=\"always\"  type=\"application\/x-shockwave-flash\" align=\"middle\" height=\"175px\" width=\"500px\"><\/embed><\/OBJECT> <NOSCRIPT><A HREF=\"https:\/\/ws.amazon.co.jp\/widgets\/q?rt=tf_cw&#038;ServiceVersion=20070822&#038;MarketPlace=JP&#038;ID=V20070822%2FJP%2Fmelodiesofpia-22%2F8010%2Fbef08803-f297-4721-b563-9b74875bee51&#038;Operation=NoScript\">Amazon.co.jp \u30a6\u30a3\u30b8\u30a7\u30c3\u30c8<\/A><\/NOSCRIPT>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u65e5\u4f5c\u3063\u305f\u6599\u7406\u306e\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u3044\u305f\u30b5\u30a4\u30c8\u69d8\u8a72\u5f53\u8a18\u4e8b\u3078 TB\u3092\u6253\u3063\u305f\u3068\u3053\u308d\u3001\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u3066(A\u00b4\uff65\u03c9\uff65)\uff8c\uff77\uff8c\uff77 \u30b0\u30b0\u3063\u3066\u5bfe\u7b56\u3057\u3066\u307f\u307e\u3057\u305f\u3002 &nbsp; \u300b\u661f\u306e\u6d77\u3067\u30c8\u30fc\u30af &#8211; \u300c\u9001\u4fe1\u3057\u305f\uff34\uff22\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3046\uff5e\uff01\u300d\u306e\u5bfe\u5fdc\u5b8c\u4e86 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":2132,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,5],"tags":[50,369],"_links":{"self":[{"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/posts\/324"}],"collection":[{"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=324"}],"version-history":[{"count":5,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/posts\/324\/revisions"}],"predecessor-version":[{"id":4997,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/posts\/324\/revisions\/4997"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=\/wp\/v2\/media\/2132"}],"wp:attachment":[{"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pianoman-net.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}