{"id":1037,"date":"2011-05-05T23:29:05","date_gmt":"2011-05-05T14:29:05","guid":{"rendered":"https:\/\/fei-yen.jp\/maya\/wordpress\/?p=1037"},"modified":"2011-07-22T07:39:34","modified_gmt":"2011-07-21T22:39:34","slug":"php%e3%81%a7%e7%94%bb%e5%83%8f%e3%81%ae%e9%a1%9e%e4%bc%bc%e5%ba%a6%e5%88%a4%e5%ae%9a%e3%81%ae%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa","status":"publish","type":"post","link":"https:\/\/fei-yen.jp\/maya\/wordpress\/blog\/2011\/05\/05\/php%e3%81%a7%e7%94%bb%e5%83%8f%e3%81%ae%e9%a1%9e%e4%bc%bc%e5%ba%a6%e5%88%a4%e5%ae%9a%e3%81%ae%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa\/","title":{"rendered":"PHP\u3067\u753b\u50cf\u306e\u985e\u4f3c\u5ea6\u5224\u5b9a\u306e\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea"},"content":{"rendered":"<p>\u6700\u8fd1\u3001\u5927\u91cf\u306e\u753b\u50cf\u3092\u5206\u985e\u3059\u308b\u8da3\u5473\u3092\u3053\u306a\u3057\u3066\u3044\u3066\u3001\u3069\u3046\u3082\u91cd\u8907\u753b\u50cf\u304c\u3042\u308b\u3088\u3046\u306a\u6c17\u304c\u3057\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u50d5\u306e\u8133\u307f\u305d\u3067\u306f\u81a8\u5927\u306a\u753b\u50cf\u306e\u4e2d\u304b\u3089\u985e\u4f3c\u306e\u753b\u50cf\u3092\u63a2\u3059\u3053\u3068\u304c\u51fa\u6765\u306a\u3044\u3002<br \/>\n\u305d\u3053\u3067\u3001\u3069\u3046\u306b\u304b\u3057\u3066\u985e\u4f3c\u753b\u50cf\u691c\u7d22\u304c\u51fa\u6765\u306a\u3044\u3082\u306e\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u3002<br \/>\n<!--more--><\/p>\n<h2>ImgSeek<\/h2>\n<p>\u305d\u3053\u3067\u691c\u7d22\u3059\u308b\u3068\u3001\u307e\u305a\u6700\u521d\u306b\u5f15\u3063\u304b\u304b\u3063\u3066\u304f\u308b\u306e\u306fImgSeek\u3067\u3042\u308d\u3046\u3002\u57fa\u672c\u7684\u306b\u306fLinux\u306eGUI\u3067\u52d5\u4f5c\u3059\u308b\u753b\u50cf\u7ba1\u7406\u30bd\u30d5\u30c8\u3067\u3001\u985e\u4f3c\u753b\u50cf\u691c\u7d22\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3082\u306e\u3060\u3002Python\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u304c\u3001\u3053\u308c\u306e\u30b5\u30fc\u30d0\u7248\u3068\u3044\u3046\u3082\u306e\u3082\u3042\u3063\u3066\u3001\u305d\u308c\u304cisk-daemon\u3067\u3042\u308b\u3002<br \/>\n\u3060\u304c\u3001\u3053\u308c\u304c\u307e\u305f\u5b89\u5b9a\u3057\u306a\u3044\u3002<\/p>\n<p>\u6570\u5343\u5358\u4f4d\u3067\u753b\u50cf\u3092\u767b\u9332\u3059\u308b\u3068\u3001\u30e1\u30e2\u30ea\u3092\u5ef6\u3005\u3068\u6d88\u8cbb\u3057\u7d9a\u3051\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u308a\u3001\u306a\u306b\u3082\u30a8\u30e9\u30fc\u3092\u5410\u304b\u305a\u306b\u843d\u3061\u3066\u3057\u307e\u3063\u305f\u308a\u3059\u308b\u3002<br \/>\n\uff11\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u8907\u6570\u306eDB\u3092\u4f5c\u308c\u308b\u306e\u3067\u3001DB\u3092\u5206\u5272\u3057\u3066\u3001\uff11DB\u3042\u305f\u308a\u306e\u753b\u50cf\u6570\u3092\u6e1b\u3089\u3057\u3066\u307f\u305f\u308a\u3082\u3057\u305f\u304c\u3001DB\u6570\u304c50\u7a0b\u5ea6\u3092\u8d85\u3048\u305f\u72b6\u614b\u3067\u518d\u8d77\u52d5\u3059\u308b\u3068\u3001\u5ef6\u3005\u3068\u30e1\u30e2\u30ea\u3092\u98df\u3044\u3064\u3076\u3057\u30d7\u30ed\u30bb\u30b9\u304c\u843d\u3061\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<p>Python\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u3046\u306e\u3082\u975e\u5e38\u306b\u9762\u5012\u304f\u3055\u304b\u3063\u305f\u306e\u3067\u3001\u306a\u3093\u304b\u4ed6\u306b\u65b9\u6cd5\u306f\u306a\u3044\u3082\u306e\u304b\u3068\u305a\u3063\u3068\u63a2\u3057\u3066\u3044\u305f\u3002<\/p>\n<h2>libpuzzle<\/h2>\n<p>\u3067\u3001\u5076\u7136\u898b\u3064\u3051\u305f\u306e\u304c\u3001<strong>libpuzzle<\/strong>\u3067\u3042\u308b\u3002\u540d\u524d\u304b\u3089\u3057\u3066\u3001\u30d1\u30ba\u30eb\u30b2\u30fc\u30e0\u3092\u4f5c\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u3088\u3046\u306b\u601d\u3048\u3066\u3057\u307e\u3046\u304c\u3001\u3068\u3053\u308d\u304c\u3069\u3063\u3053\u3044\u3001<strong>PHP\u3067\u753b\u50cf\u306e\u8fd1\u4f3c\u5ea6\u5224\u5b9a\u304c\u3067\u304d\u308b<\/strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u306e\u3067\u3042\u308b\u3002<br \/>\n\u3057\u304b\u3082\u3001\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f<br \/>\n\u30fbImageMagick\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u3002GD\u3092\u4f7f\u3046<br \/>\n\u30fbBSD\u30e9\u30a4\u30bb\u30f3\u30b9\u3092\u63a1\u7528\u3057\u3066\u304a\u308a\u3001\u5546\u7528\u5229\u7528\u3082\u53ef\u80fd<br \/>\n\u30fbPHP\u306e\u62e1\u5f35\u3068\u3057\u3066\u5b9f\u88c5\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b<br \/>\n\u3068\u3001\uff08\u50d5\u306b\u3068\u3063\u3066\uff09\u826f\u3044\u3053\u3068\u3065\u304f\u3081\u306a\u306e\u3067\u3042\u308b\uff01<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u3068\u3063\u3066\u3082\u7c21\u5358\uff01<br \/>\n\u30b3\u30f3\u30d1\u30a4\u30eb\u306bGD\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u4e8b\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3002\u3082\u3061\u308d\u3093\u3001php-devel\u306a\u3044\u3057\u3001php-dev\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3088\u3046\u306b\u3002<br \/>\n\u8a73\u3057\u3044\u3053\u3068\u306f <a href=\"http:\/\/libpuzzle.pureftpd.org\/project\/libpuzzle\/php\">Libpuzzle with PHP<\/a> \u306b\u66f8\u3044\u3066\u3042\u308b\u3002<\/p>\n<pre>$ # \u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n$ su\r\n# yum install gd-devel\r\n# # apt-get install libgd-dev\r\n# exit\r\n$ # libpuzzle\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\r\n$ wget http:\/\/download.pureftpd.org\/pub\/pure-ftpd\/misc\/libpuzzle\/releases\/libpuzzle-0.11.tar.bz2\r\n$ tar jxvf libpuzzle-0.11.tar.bz2\r\n$ cd libpuzzle-0.11\r\n$ # libpuzzle\u672c\u4f53\u3092\u307e\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n$ .\/configure\r\n$ make\r\n$ su\r\n# make install\r\n# exit\r\n$ # PHP\u62e1\u5f35\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n$ cd php\/libpuzzle\r\n$ phpize\r\n$ .\/configure --with-libpuzzle\r\n$ make\r\n$ su\r\n# make install\r\n# exit\r\n$ # ini\u30d5\u30a1\u30a4\u30eb\u306b extension=libpuzzle.so \u3092\u66f8\u304d\u8db3\u3059\r\n$ # CentOS\u306e\u5834\u5408\u306f \/etc\/php.d \u306bini\u30d5\u30a1\u30a4\u30eb\u304c\u3044\u3063\u3071\u3044\u3042\u308b\u306e\u3067\u3001\u305d\u3053\u306b\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\r\n$ su\r\n# vim \/etc\/php.d\/libpuzzle.ini\r\n# exit\r\n$ cat \/etc\/php.d\/libpuzzle.ini\r\nextension=libpuzzle.so\r\n$<\/pre>\n<p>\u3068\u3063\u3066\u3082\u304b\u3093\u305f\u3093\uff01<\/p>\n<h2>\u4f7f\u3063\u3066\u307f\u3088\u3046<\/h2>\n<p>libpuzzle\u306f\u57fa\u672c\u7684\u306b2\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u8fd1\u4f3c\u5ea6\u3092\u5224\u5b9a\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3042\u308b\u3002<br \/>\n\u3057\u305f\u304c\u3063\u3066\u3001\u4f7f\u3044\u65b9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre>&lt;?php\r\n\/\/ 1\u3064\u3081\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30b7\u30b0\u30cd\u30c1\u30e3\u3092\u4f5c\u308b\r\n$cvec1 = puzzle_fill_cvec_from_file('img1.jpg');\r\n\/\/ 2\u3064\u3081\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30b7\u30b0\u30cd\u30c1\u30e3\u3092\u4f5c\u308b\r\n$cvec2 = puzzle_fill_cvec_from_file('img2.jpg');\r\n\r\n\/\/ \uff12\u3064\u306e\u30b7\u30b0\u30cd\u30c1\u30e3\u304b\u3089\u3001\u8fd1\u4f3c\u5ea6\u3092\u5224\u5b9a\u3059\u308b\r\n$d = puzzle_vector_normalized_distance($cvec1, $cvec2);\r\n\r\n\/\/ 0\u306b\u8fd1\u3044\u307b\u3069\u3001\u4f3c\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\r\nif($d &lt; 0.1) echo \"\u305d\u3063\u304f\u308a\u3067\u3059\uff01\";\r\nelse if($d &lt; 0.3) echo \"\u304b\u306a\u308a\u4f3c\u3066\u3044\u307e\u3059\";\r\nelse if($d &lt; 0.5) echo \"\u4f3c\u3066\u3044\u308b\u3001\u304b\u3082\uff1f\";\r\nelse echo \"\u3069\u3046\u3084\u3089\u307e\u3063\u305f\u304f\u7570\u306a\u308b\u753b\u50cf\u306e\u3088\u3046\u3067\u3059\";<\/pre>\n<h2>\u753b\u50cf\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u69cb\u7bc9\u3057\u3066\u307f\u3088\u3046<\/h2>\n<p>isk-daemon\u306b\u306f\u300c\u4f3c\u3066\u3044\u308b\u753b\u50cf\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3059\u300d\u547d\u4ee4\u304c\u3042\u3063\u305f\u304c\u3001libpuzzle\u306b\u306f\u7121\u3044\u3002<br \/>\n\u306a\u3089\u3070\u3069\u3046\u3059\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u3001\uff11\u3064\uff11\u3064\u6bd4\u8f03\u3057\u3066\u3044\u304f\u3088\u308a\u4ed6\u306b\u624b\u304c\u306a\u3044\u3002<br \/>\n\u304b\u3068\u3044\u3063\u3066\u6bce\u56de\u6bce\u56de\u30b7\u30b0\u30cd\u30c1\u30e3\u3092\u751f\u6210\u3057\u3066\u3044\u305f\u306e\u3067\u306f\u91cd\u304f\u3066\u3057\u3087\u3046\u304c\u306a\u3044\u3002<br \/>\n\u305d\u3053\u3067\u3001\u30b7\u30b0\u30cd\u30c1\u30e3\u3092MySQL\u306a\u3069\u306eDB\u3068\u304b\u3001memcached\u3068\u304b\u3001\u3068\u306b\u304b\u304f\u3069\u3053\u304b\u306b\u7f6e\u3044\u3066\u304a\u304f\u306e\u304c\u826f\u3044\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001puzzle_fill_cvec_from_file\u3067\u8fd4\u3055\u308c\u308b\u306e\u306f\u6587\u5b57\u5217\u306a\u306e\u3067\u3001MySQL\u306a\u3069\u3067BLOB\u306a\u30ab\u30e9\u30e0\u3092\u4f5c\u3063\u3066\u3001\u305d\u306e\u307e\u307e\u3076\u3061\u8fbc\u3093\u3067\u3082\u3001\u5bb3\u306f\u306a\u3044\u3002<br \/>\nbase64_encode\u3057\u3066\u3076\u3061\u8fbc\u3093\u3067\u3082\u3001\u3082\u3061\u308d\u3093\u5bb3\u306f\u306a\u3044\u3002<br \/>\n$str = base64_encode(gzdeflate($cvec)); \u3068\u304b\u3084\u3063\u3066\u3082\u3001\u3082\u3061\u308d\u3093\u5e73\u6c17\u3060\u3002<br \/>\n\u305d\u3057\u3066\u3001\u6700\u5f8c\u306b\u3001libpuzzle\u306b\u306fpuzzle_compress_cvec\u3068\u3044\u3046\u95a2\u6570\u304c\u3042\u308b\u3002<br \/>\n\u3053\u308c\u3092\u3084\u308b\u3068\u3001gzdeflate\u3057\u3066base64_encode\u3057\u305f\u3082\u306e\u306b\u8fd1\u3044\u6587\u5b57\u5217\u304c\u8fd4\u3063\u3066\u304f\u308b\u3002<\/p>\n<p>\u306a\u304a\u3001\u3046\u3061\u306eCoreSolo\uff08\u521d\u4ee3Intel Mac mini\uff09\u306a\u74b0\u5883\u3067\u306f\u3001<br \/>\n\u30b7\u30b0\u30cd\u30c1\u30e3\u306e\u751f\u6210x100\u753b\u50cf\u3067\u5927\u4f531\u5206\uff5e1\u5206\u534a\u3002<br \/>\n\u8fd1\u4f3c\u5ea6\u5224\u5b9ax10000\u56de\u3067\u5927\u4f53\uff12\uff5e\uff13\u79d2\u3060\u3063\u305f\u306e\u3067\u3001<br \/>\n\u30b7\u30b0\u30cd\u30c1\u30e3\u3092\u3069\u3063\u304b\u306b\u4fdd\u5b58\u3057\u3066\u304a\u3051\u3070\u300110\u4e07\u753b\u50cf\u306e\u7dda\u5f62\u6bd4\u8f03\u304f\u3089\u3044\u306a\u3089\u8a31\u5bb9\u7bc4\u56f2\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u308f\u308c\u308b\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u5185\u90e8\u7684\u306b\u306f<br \/>\n\u30fb\u753b\u50cf\u30929\u5206\u5272\u3057\u3066<br \/>\n\u30fb\u305d\u308c\u305e\u308c\u306e\u7279\u5fb4\u3092\u5206\u6790\u3057\u3001<br \/>\n\u30fb\u30d9\u30af\u30c8\u30eb\u3092\u751f\u6210\u3059\u308b\uff08\u30d9\u30af\u30bf\u30fc\u753b\u50cf\u306e\u3053\u3068\u3067\u306f\u306a\u3044\u3002\u3082\u3063\u3068\u6570\u5b66\u7684\u306a\u30d9\u30af\u30c8\u30eb\u306e\u3053\u3068\uff09<br \/>\n\u30fb\u6bd4\u8f03\u306e\u969b\u306b\u306f\u3001\u4e0a\u8a18\u306e\u30d9\u30af\u30c8\u30eb\u306e\u8ddd\u96e2\u3092\u5224\u5b9a\u3059\u308b\u3002<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3060\u305d\u3046\u306a\u306e\u3067\u3001\u7dda\u5f62\u30d9\u30af\u30c8\u30eb\u306b\u8a73\u3057\u3044\u4eba\u306a\u3093\u304b\u306f\u5927\u91cf\u306e\u30d9\u30af\u30c8\u30eb\u3092\u8ddd\u96e2\u9806\u306b\u4e26\u3079\u66ff\u3048\u308b\u3001\u306a\u3093\u3066\u3044\u3046\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f5c\u308c\u3070\u3001\u6570\u767e\u4e07\u4ef6\u306e\u753b\u50cf\u3067\u3082\u8fd1\u4f3c\u753b\u50cf\u304c\u7c21\u5358\u306b\u691c\u7d22\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br \/>\n\u3046\u3061\u306e\u74b0\u5883\u3067\u306f17.5\u4e07\u4ef6\u306e\u753b\u50cf\u306e\u4e2d\u304b\u3089\u985e\u4f3c\u753b\u50cf\u3092\u63a2\u3059\u306e\u306b\u30016.8\u79d2\u307b\u3069\u304b\u304b\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u50d5\u306e<strong>\u76ee\u3067\u63a2\u3059\u3088\u308a\u6570\u4e07\u500d\u901f\u3044<\/strong>\u3051\u3069\u306d\uff01\uff01<\/p>\n<p>2011\/05\/15 \u8ffd\u8a18<br \/>\nCentOS\u306eepel\u30ea\u30dd\u30b8\u30c8\u30ea\u306bphp-libpuzzle\u3063\u3066\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u30fb\u30fb\u30fb<br \/>\n\u6b8b\u5ff5\u306a\u304c\u3089PHP5.3\u7528\u306f\u307e\u3060\u7121\u3044\u6a21\u69d8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u3001\u5927\u91cf\u306e\u753b\u50cf\u3092\u5206\u985e\u3059\u308b\u8da3\u5473\u3092\u3053\u306a\u3057\u3066\u3044\u3066\u3001\u3069\u3046\u3082\u91cd\u8907\u753b\u50cf\u304c\u3042\u308b\u3088\u3046\u306a\u6c17\u304c\u3057\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u50d5\u306e\u8133\u307f\u305d\u3067\u306f\u81a8\u5927\u306a\u753b\u50cf\u306e\u4e2d\u304b\u3089\u985e\u4f3c\u306e\u753b\u50cf\u3092\u63a2\u3059\u3053\u3068\u304c\u51fa\u6765\u306a\u3044\u3002 \u305d\u3053\u3067\u3001\u3069\u3046\u306b\u304b\u3057\u3066\u985e\u4f3c\u753b\u50cf\u691c\u7d22\u304c\u51fa\u6765\u306a\u3044\u3082\u306e\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[4],"tags":[11,6],"class_list":["post-1037","post","type-post","status-publish","format-standard","hentry","category-programming","tag-linux","tag-php"],"_links":{"self":[{"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/posts\/1037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":12,"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/posts\/1037\/revisions"}],"predecessor-version":[{"id":1064,"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/posts\/1037\/revisions\/1064"}],"wp:attachment":[{"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/media?parent=1037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/categories?post=1037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fei-yen.jp\/maya\/wordpress\/wp-json\/wp\/v2\/tags?post=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}