{"id":1358,"date":"2014-10-06T10:00:27","date_gmt":"2014-10-06T01:00:27","guid":{"rendered":"http:\/\/www.sria.co.jp\/blog\/?p=1358"},"modified":"2014-09-12T11:45:25","modified_gmt":"2014-09-12T02:45:25","slug":"try-get-the-width-of-the-string-made-dynamically-with-jquery","status":"publish","type":"post","link":"https:\/\/www.sria.co.jp\/blog\/2014\/10\/try-get-the-width-of-the-string-made-dynamically-with-jquery\/","title":{"rendered":"jQuery\u3067\u52d5\u7684\u306b\u4f5c\u3063\u305f\u6587\u5b57\u5217\u306e\u5e45\u3092\u53d6\u5f97\u3057\u3066\u307f\u308b"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u5148\u65e5\u5065\u5eb7\u8a3a\u65ad\u3067\u8102\u80aa\u809d\u3068\u8a3a\u65ad\u3055\u308c\u305f\u6a4b\u6d66\u3067\u3059\uff01<br \/>\n&nbsp;<br \/>\n\u5148\u65e5Web\u6848\u4ef6\u3067\u3001\u6587\u5b57\u5217\u306e\u5e45\u3092\u53d6\u5f97\u3057\u3066width\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u9762\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3057\u304b\u3057\u3001\u305d\u306e\u6587\u5b57\u5217\u306fjQuery\u3067\u52d5\u7684\u306b\u751f\u6210\u3057\u3066\u3044\u305f\u305f\u3081\u5358\u7d14\u306awidth();\u306a\u3069\u3067\u306f\u53d6\u5f97\u3067\u304d\u305a&#8230;\u3002<br \/>\n\u7d50\u5c402\u901a\u308a\u65b9\u6cd5\u3092\u8a66\u3057\u3066\u30012\u3064\u76ee\u306e\u65b9\u6cd5\u3067\u3084\u3063\u3068\u4e0a\u624b\u304f\u3044\u3063\u305f\u306e\u3067\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u305d\u306e\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<p>&nbsp;<\/p>\n<h3>\u2460\u3000\u6587\u5b57\u6570\u3092\u6570\u3048\u3066\u3001\u6570\u304b\u3089\u5224\u65ad\u3057\u3061\u3083\u3046<\/h3>\n<p>&nbsp;<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u95a2\u3057\u3066\u30c1\u30f3\u30d1\u30f3\u30b8\u30fc\u4e26\u306e\u7d4c\u9a13\u3068\u77e5\u8b58\u3057\u304b\u306a\u3044\u50d5\u304c\u6d45\u77e5\u6075\u3092\u7d5e\u3063\u3066\u6700\u521d\u306b\u601d\u3044\u3064\u3044\u305f\u65b9\u6cd5\u3067\u3059\u3002<br \/>\n\u5e45\u306f\u53d6\u308c\u306a\u3044\u3051\u3069\u3001console\u3067\u8abf\u3079\u305f\u3089\u6587\u5b57\u5217\u306e\u5185\u5bb9\u306f\u53d6\u5f97\u3067\u304d\u3066\u3044\u308b\u6a21\u69d8\u3002<br \/>\n&nbsp;<br \/>\n<b>\u306a\u3089\u3001\u6587\u5b57\u6570\u3092\u53d6\u5f97\u3057\u3066\u3001\u305d\u306e\u6570\u3092\u5e45\u306b\u3057\u3061\u3083\u3048\u3070\u3044\u3044\u3058\u3083\u306a\u3044\u30c3\uff01\uff01\uff01\uff01\uff01<\/b><br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067\u66f8\u3044\u305f\u30bd\u30fc\u30b9\u304c\u3053\u3061\u3089\u3002<\/p>\n<h4>DEMO<\/h4>\n<pre class=\"lang:js decode:true\">var textLength1 = $(\".textArea\").text().length;\r\n$(\".textWidth\").css({\"width\":textLength1 + \"em\"});\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u53d6\u5f97\u3057\u305f\u6587\u5b57\u6570\u306b\u5358\u4f4d&#8221;em&#8221;\u3092\u3064\u3051\u3066\u305d\u306e\u307e\u3093\u307e\u5e45\u306b\u3057\u3061\u3083\u3063\u3066\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u78ba\u304b\u306b\u3053\u306e\u65b9\u6cd5\u3067\u30d4\u30c3\u30bf\u30ea\u5e45\u306b\u306a\u3063\u3066\u3044\u308b\u6587\u5b57\u5217\u3082\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3067\u3059\u304c\u3053\u306e\u65b9\u6cd5\u3001<b>\u5c0f\u6587\u5b57\u3084\u6570\u5b57\u3001\u8a18\u53f7\u306e\u3053\u3068\u306f\u5168\u304f\u8003\u3048\u3089\u308c\u3066\u304a\u308a\u307e\u305b\u3093&#8230;<\/b>\u3002<br \/>\n\u3061\u3087\u3063\u3068\u3067\u3082\u305d\u308c\u3089\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u4f59\u8a08\u306b\u5927\u304d\u304f\u5e45\u304c\u53d6\u3089\u308c\u3066\u3057\u307e\u3044\u3001\u5168\u7136\u99c4\u76ee\u99c4\u76ee\u306b\u3002<br \/>\n\u30d4\u30c3\u30bf\u30ea\u5e45\u3092\u53d6\u308b\u305f\u3081\u306b\u306f\u3001\u9055\u3046\u65b9\u6cd5\u3092\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n&nbsp;<\/p>\n<h3>\u2461\u30001\u56de\u66f8\u304d\u51fa\u3057\u3092\u3057\u3066\u3001\u305d\u3053\u304b\u3089\u5e45\u3092\u53d6\u3063\u3061\u3083\u3046<\/h3>\n<p>&nbsp;<br \/>\n\u3053\u306e\u65b9\u6cd5\u306f\u3053\u306e\u30b5\u30a4\u30c8\u69d8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u304d\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/kimizuka.hatenablog.com\/entry\/2014\/05\/22\/jQuery%E3%81%A7%E5%8B%95%E7%9A%84%E3%81%AB%E3%81%A4%E3%81%8F%E3%81%A3%E3%81%9F%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%81%AE%E5%B9%85%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8B\">\u307f\u304b\u3065\u304d\u30d6\u30ed\u30b0 \u305d\u306e\uff13\u3000jquery\u3067\u52d5\u7684\u306b\u3064\u304f\u3063\u305f\u30c6\u30ad\u30b9\u30c8\u306e\u5e45\u3092\u53d6\u5f97\u3059\u308b<\/a><br \/>\n&nbsp;<\/p>\n<p>\u307e\u305a\u5143\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089\u3002<\/p>\n<h4>DEMO<\/h4>\n<pre class=\"lang:js decode:true\">\/\/ forked from kimmy's \"\u30c6\u30ad\u30b9\u30c8\u306e\u9577\u3055\u3092\u8a08\u6e2c\u3059\u308b\uff08\u4eee\uff09\" http:\/\/jsdo.it\/kimmy\/61Uq\r\n(function(win, doc, $) {\r\n\r\n    'use strict';\r\n\r\n    var $txt = $(\"<span>\"),\r\n        width;\r\n\r\n    $txt.text('\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002\u304a\u3063\u3057\u3083\u3002\u308c\u3063\u3064\u3002\u4e16\u754c\u5f81\u670d\u3002');\r\n    width = getWidth($txt);\r\n\r\n    doc.write(width + 'px');\r\n    \r\n    function getWidth($txt, opt_max) {\r\n        var $body = $(document.body),\r\n            $dummyWrapper = $('<div>'),\r\n            $dummy = $('<span>'),\r\n            width;\r\n\r\n        $dummyWrapper.css({\r\n            position: 'absolute',\r\n            top: 0, left: 0,\r\n            width: opt_max || 9999,\r\n            'z-index': -1\r\n        });\r\n\r\n        $dummy.text($txt.text());\r\n        $dummy.css({\r\n            color: 'transparent',\r\n            font: $txt.css('font'),\r\n            'letter-spacing': $txt.css('letter-spacing')\r\n        });\r\n        \r\n        $body.append($dummyWrapper.append($dummy));\r\n\r\n        width = $dummy.width();\r\n\r\n        setTimeout(function() {\r\n            $dummy.remove();\r\n        }, 0);\r\n        \r\n        return $dummy.width();\r\n    }\r\n\r\n})(this, document, $);\r\n<\/pre>\n<p>\u6b21\u306b\u72ec\u81ea\u306b\u5909\u66f4\u3057\u305f\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089\u3002<\/p>\n<h4>DEMO<\/h4>\n<pre class=\"lang:js decode:true\">$(function(){\r\n    var $txtBox = $(\".textArea\").text();\r\n    width = getWidth(textBox);\r\n    $(\".textWidth\").css({\"width\":width + \"px\"});\r\n});\r\n\r\nfunction getWidth($txt, opt_max) {\r\n\tvar $body = $(document.body),\r\n    $dummyWrapper = $('<div class=\"testArea\">'), \/\/\u5909\u66f4\u70b9\uff11\r\n    $dummy = $('<span class=\"testText\">'), \/\/\u5909\u66f4\u70b92\r\n    width;\r\n\r\n    $dummyWrapper.css({\r\n    \tposition: 'absolute',\r\n        top: 0, left: 0,\r\n        width: opt_max || 9999,\r\n        'z-index': -1\r\n\t});\r\n\r\n\t$dummy.text($txt.text());\r\n    $dummy.css({\r\n\t\tcolor: 'transparent',\r\n         \/\/\u5909\u66f4\u70b93\r\n        'letter-spacing': $txt.css('letter-spacing')\r\n    });\r\n        \r\n\t$body.append($dummyWrapper.append($dummy));\r\n\r\n\twidth = $dummy.width();\r\n\r\n\tsetTimeout(function() {\r\n\t\t$dummyWrapper.remove(); \/\/\u5909\u66f4\u70b94\r\n\t}, 0);\r\n        \r\n    return width; \/\/\u5909\u66f4\u70b95\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u4f55\u3092\u3057\u3066\u308b\u304b\u3068\u3044\u3046\u3068\u3001<br \/>\n&nbsp;<br \/>\n<b>\u2460\u3000testArea\u3068\u3044\u3046\u30af\u30e9\u30b9\u540d\u306ediv\u8981\u7d20\u3092\u65b0\u305f\u306b\u4f5c\u308b\u3002<\/b><br \/>\n<b>\u2461\u3000\u305d\u306e\u4e2d\u306btestText\u3068\u3044\u3046\u30af\u30e9\u30b9\u540d\u306espan\u8981\u7d20\u3092\u4f5c\u308b\u3002<\/b><br \/>\n<b>\u2462\u3000\u2461\u3067\u4f5c\u3063\u305f\u8981\u7d20\u5185\u306b\u3001\u5e45\u3092\u53d6\u308a\u305f\u3044\u6587\u5b57\u5217\u3092\u66f8\u304d\u51fa\u3059\u3002<\/b><br \/>\n<b>\u2463\u3000\u66f8\u304d\u51fa\u3057\u305f\u5f8c\u3067\u3001testText\u306e\u5e45\u3092\u53d6\u5f97\u3057\u3001width\u3068\u3044\u3046\u540d\u524d\u3067\u5b9a\u7fa9\u3059\u308b\u3002<\/b><br \/>\n<b>\u2464\u3000\u3053\u306e\u307e\u307e\u3067\u306f\u8981\u7d20\u4f5c\u308a\u3063\u3071\u306a\u3057\u306b\u306a\u3063\u3061\u3083\u3046\u306e\u3067\u3001testArea\u3092\u524a\u9664\u3059\u308b\u3002<\/b><br \/>\n<b>\u2465\u3000return\u3067\u2463\u3067\u5b9a\u7fa9\u3057\u305fwidth\u3092\u8fd4\u3059\u3002<\/b><br \/>\n&nbsp;<br \/>\n\u3056\u3063\u3068\u4e0a\u8a18\u306e\u3053\u3068\u3092\u4e0a\u8a18\u306e\u9806\u756a\u3067\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3042\u3089\u304b\u3058\u3081\u5165\u3063\u3066\u3044\u306a\u3044\u3068\u53d6\u5f97\u3067\u304d\u306a\u3044\u306e\u306a\u3089\u3001\u4e00\u5ea6\u5b9f\u969b\u306b\u66f8\u304d\u51fa\u3057\u3066\u3057\u307e\u3048\u3070\u3044\u3044\u3058\u3083\u306a\u3044\uff01\uff01<br \/>\n\u3068\u3044\u3046\u767a\u60f3\u306e\u3082\u3068\u3001\u66f8\u304d\u51fa\u3057\u305f\u5e45\u3092\u53d6\u5f97\u3057\u3066\u304b\u3089\u8a2d\u5b9a\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3092\u53d6\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n&nbsp;<\/p>\n<p>\u307e\u305f\u3001\u5909\u66f4\u30bd\u30fc\u30b9\u306b\u306f\u5143\u30bd\u30fc\u30b9\u69d8\u304b\u3089\u5909\u66f4\u3057\u305f\u70b9\u304c\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3067\u8a18\u5165\u3055\u308c\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u5909\u66f4\u70b9\u306b\u5bfe\u3059\u308b\u5909\u66f4\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n<b>\u5909\u66f4\u70b91\u3068\u5909\u66f4\u70b92\u3067\u306f\u3001class\u540d\u306e\u8ffd\u52a0\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/b><br \/>\n<b>\u5909\u66f4\u70b93\u3067\u306f\u3001CSS\u306efont\u306e\u6307\u5b9a\u3092\u524a\u9664\u3002<\/b><br \/>\n<b>\u5909\u66f4\u70b94\u3067\u306f\u3001remove\u5bfe\u8c61\u3092$dammyWrapper\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/b><br \/>\n<b>\u5909\u66f4\u70b95\u3067\u306f\u3001return\u3092\u5358\u306bwidth\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/b><br \/>\n&nbsp;<br \/>\n\u5909\u66f4\u70b93\u306f\u524a\u9664\u306e\u307f\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3067\u306f\u5f53\u7136\u610f\u56f3\u3057\u305f\u5e45\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u306a\u306e\u3067\u3001CSS\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4>DEMO<\/h4>\n<pre class=\"lang:vss decode:true\">.testArea .testText {\r\n  font-size: 14px;} \/\/\u3053\u3053\u306b\u306f\u53d6\u5f97\u3057\u305f\u3044\u6587\u5b57\u5217\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u5165\u529b\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u306a\u305c\u308f\u3056\u308f\u3056font\u306e\u6307\u5b9a\u3092CSS\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u306b\u5909\u66f4\u3057\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u3053\u3061\u3089<b>IE\u5bfe\u7b56<\/b>\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\nIE\u4ee5\u5916\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u3061\u3083\u3093\u3068js\u5074\u306efunction getWidth()\u306e\u4e2d\u3067\u3057\u3066\u3044\u308b\u30d5\u30a9\u30f3\u30c8\u6307\u5b9a\u304c\u52b9\u3044\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u306a\u305c\u304bIE\u3067\u306f\u52b9\u304b\u306a\u3044\u306e\u3067CSS\u30d5\u30a1\u30a4\u30eb\u306e\u65b9\u306b\u8a18\u8ff0\u3057\u307e\u3057\u305f\u3002<del datetime=\"2014-09-11T08:25:31+00:00\">\u307b\u3093\u3068IE\u69d8\u30ab\u30f3\u30d9\u30f3\u3057\u3066\u3002<\/del><br \/>\n&nbsp;<br \/>\n\u4f55\u306f\u3068\u3082\u3042\u308c\u3001\u3053\u308c\u3067\u6587\u5b57\u5217\u306e\u5e45\u304c\u7dba\u9e97\u306b\u53d6\u308c\u307e\u3057\u305f\u3002<br \/>\n&nbsp;<\/p>\n<h3>\u304a\u308f\u308a\u306b<\/h3>\n<p>&nbsp;<br \/>\nWeb\u30b5\u30a4\u30c8\u5236\u4f5c\u3063\u3066\u4f55\u304c\u5927\u5909\u304b\u3063\u3066\u3001\u30af\u30ed\u30b9\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc\u3067\u3059\u3088\u306d\u3002<br \/>\nCSS\u306e\u6307\u5b9a\u4e00\u3064\u3068\u3063\u3066\u3082\u30d6\u30e9\u30a6\u30b6\u6bce\u306b\u69d8\u3005\u306a\u89e3\u91c8\u304c\u3042\u3063\u305f\u308a\u3057\u3066\u8868\u793a\u304c\u30ba\u30ec\u306b\u30ba\u30ec\u305f\u308a&#8230;\u3002<br \/>\n&nbsp;<br \/>\n\u3082\u3057\u304b\u3057\u305f\u3089\u4eca\u56de\u306e\u6587\u5b57\u5217\u304c\u53d6\u5f97\u3067\u304d\u306a\u304b\u3063\u305f\u554f\u984c\u3082\u3001\u3082\u3063\u3068\u30b9\u30de\u30fc\u30c8\u306a\u65b9\u6cd5\u304c\u3042\u3063\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u30b3\u30fc\u30c0\u30fc\u9053\u306f\u7d9a\u304f\u3088\u3069\u3053\u307e\u3067\u3082\u3002\u3053\u308c\u304b\u3089\u3082<del datetime=\"2014-09-11T08:37:27+00:00\">IE\u69d8\u306b\u60a9\u307e\u3055\u308c\u306a\u304c\u3089<\/del>\u7cbe\u9032\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u3067\u306f\u7686\u69d8\u3001\u307e\u305f\u4f1a\u3046\u65e5\u307e\u3067\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u5148\u65e5\u5065\u5eb7\u8a3a\u65ad\u3067\u8102\u80aa\u809d\u3068\u8a3a\u65ad\u3055\u308c\u305f\u6a4b\u6d66\u3067\u3059\uff01 &nbsp; \u5148\u65e5Web\u6848\u4ef6\u3067\u3001\u6587\u5b57\u5217\u306e\u5e45\u3092\u53d6\u5f97\u3057\u3066width\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u9762\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u3057\u304b\u3057\u3001\u305d\u306e\u6587\u5b57\u5217\u306fjQuery\u3067\u52d5\u7684\u306b\u751f\u6210\u3057\u3066\u3044\u305f\u305f\u3081\u5358\u7d14\u306awidt&#8230;<\/p>\n","protected":false},"author":5,"featured_media":1436,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,8],"tags":[49,87,67],"_links":{"self":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1358"}],"collection":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=1358"}],"version-history":[{"count":37,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1358\/revisions"}],"predecessor-version":[{"id":1442,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/1358\/revisions\/1442"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/media\/1436"}],"wp:attachment":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=1358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=1358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=1358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}