{"id":231,"date":"2026-10-31T19:01:07","date_gmt":"2026-10-31T10:01:07","guid":{"rendered":"https:\/\/motoki-design.co.jp\/tools\/internal-links\/"},"modified":"2026-10-31T19:02:14","modified_gmt":"2026-10-31T10:02:14","slug":"internal-links","status":"publish","type":"page","link":"https:\/\/motoki-design.co.jp\/tools\/internal-links\/","title":{"rendered":"\u5185\u90e8\u30ea\u30f3\u30af\u30fb\u5b64\u7acb\u30da\u30fc\u30b8\u8a3a\u65ad\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<div id=\"wt-links\" class=\"wt-tool\">\n\t<style>\n\t\t#wt-links .wt-steps{margin:0;padding:0 0 0 1.6em}\n\t\t#wt-links .wt-steps li{margin:0 0 .5em}\n\t<\/style>\n\n\t<p class=\"wt-lead\">URL\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u30b5\u30a4\u30c8\u5185\u306e\u5168\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066<strong>\u5185\u90e8\u30ea\u30f3\u30af\u306e\u3064\u306a\u304c\u308a<\/strong>\u3092\u8abf\u3079\u307e\u3059\u3002<strong>\u3069\u3053\u304b\u3089\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u300c\u5b64\u7acb\u30da\u30fc\u30b8\u300d\u3001\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u3001\u30c8\u30c3\u30d7\u304b\u3089\u4f55\u56de\u305f\u3069\u308c\u3070\u5c4a\u304f\u304b\u3001\u88ab\u30ea\u30f3\u30af\u306e\u591a\u3044\u30da\u30fc\u30b8<\/strong>\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u3082 AI \u306b\u3082\u898b\u3064\u3051\u3066\u3082\u3089\u3048\u306a\u3044\u30da\u30fc\u30b8\u3092\u6d17\u3044\u51fa\u3059\u3001\u5185\u90e8\u30ea\u30f3\u30af\u6539\u5584\u306e\u521d\u624b\u306b\u3069\u3046\u305e\u3002\u8868\u306f Excel \u306b\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\t<form class=\"wt-form\">\n\t\t<div class=\"wt-row\">\n\t\t\t<input class=\"wt-input\" type=\"text\" placeholder=\"example.co.jp \u307e\u305f\u306f https:\/\/example.co.jp\/\" autocomplete=\"off\" autocapitalize=\"off\" spellcheck=\"false\" inputmode=\"url\" aria-label=\"\u8abf\u3079\u305f\u3044\u30b5\u30a4\u30c8\u306eURL\">\n\t\t\t<button class=\"wt-btn\" type=\"submit\">\u8abf\u3079\u308b<\/button>\n\t\t<\/div>\n\t\t<p class=\"wt-samples\">\u304a\u8a66\u3057:\n\t\t\t<button type=\"button\" data-sample=\"motoki-design.co.jp\">motoki-design.co.jp<\/button>\n\t\t<\/p>\n\t\t<p class=\"wt-privacy-note\">\u4f1a\u54e1\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3\u4e0d\u8981\uff0f<strong>\u691c\u7d22\u5c65\u6b74\u3068\u3057\u3066\u84c4\u7a4d\u30fb\u516c\u958b\u3057\u307e\u305b\u3093\uff08\u4e00\u6642\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u4e0b\u8a18\u53c2\u7167\uff09<\/strong><\/p>\n\t<\/form>\n\n\t<div class=\"wt-status\" hidden><\/div>\n\t<div class=\"wt-result\" hidden><\/div>\n\n\t<div class=\"wt-disclaimer\">\n\t\t<strong>\u8abf\u3079\u65b9\u306b\u3064\u3044\u3066<\/strong><br>\n\t\t\u307e\u305a REST API \u3068\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u304b\u3089\u5168URL\u3092\u96c6\u3081\uff08<a href=\"\/tools\/site-pages\/\">\u30b5\u30a4\u30c8\u5185\u30da\u30fc\u30b8\u4e00\u62ec\u30c1\u30a7\u30c3\u30af<\/a>\u3068\u540c\u3058\u4ed5\u7d44\u307f\uff09\u3001\u6b21\u306b\u5404\u30da\u30fc\u30b8\u30921\u679a\u305a\u3064\u958b\u3044\u3066\u3001\u30b5\u30a4\u30c8\u5185\u3078\u306e\u30ea\u30f3\u30af\u3092\u62fe\u3044\u307e\u3059\u3002\u30d8\u30c3\u30c0\u30fc\u30fb\u30ca\u30d3\u30fb\u30d5\u30c3\u30bf\u30fc\u30fb\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u4e2d\u306e\u30ea\u30f3\u30af\u3068\u3001\u672c\u6587\u306e\u30ea\u30f3\u30af\u306f\u5206\u3051\u3066\u6570\u3048\u307e\u3059\u3002\u76f8\u624b\u30b5\u30fc\u30d0\u30fc\u306b\u8ca0\u8377\u3092\u304b\u3051\u306a\u3044\u3088\u304625\u30da\u30fc\u30b8\u305a\u3064\u9593\u9694\u3092\u3042\u3051\u3066\u53d6\u5f97\u3059\u308b\u305f\u3081\u3001300\u30da\u30fc\u30b8\u30671\u301c2\u5206\u304b\u304b\u308a\u307e\u3059\u3002\u5bfe\u8c61\u306f\u6700\u59271,000\u30da\u30fc\u30b8\u3067\u3059\u3002<strong>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u3082 REST API \u306b\u3082\u51fa\u3066\u3053\u306a\u3044\u30da\u30fc\u30b8\u306f\u3001\u30ea\u30f3\u30af\u5148\u3068\u3057\u3066\u3060\u3051\u73fe\u308c\u307e\u3059<\/strong>\uff08\u300c\u4e00\u89a7\u306b\u7121\u3044URL\u3078\u306e\u30ea\u30f3\u30af\u300d\u306b\u51fa\u307e\u3059\uff09\u3002\n\t<\/div>\n\n\t<div class=\"wt-faq\">\n\t\t<details>\n\t\t\t<summary>\u5b64\u7acb\u30da\u30fc\u30b8\u304c\u3042\u308b\u3068\u4f55\u304c\u554f\u984c\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306f\u30ea\u30f3\u30af\u3092\u305f\u3069\u3063\u3066\u30da\u30fc\u30b8\u3092\u898b\u3064\u3051\u3001\u30ea\u30f3\u30af\u306e\u591a\u3055\u3067\u30da\u30fc\u30b8\u306e\u91cd\u8981\u5ea6\u3092\u5224\u65ad\u3057\u307e\u3059\u3002\u3069\u3053\u304b\u3089\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u306f\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3067\u5b58\u5728\u306f\u4f1d\u308f\u3063\u3066\u3082<strong>\u91cd\u8981\u5ea6\u304c\u4f4e\u3044\u3068\u898b\u306a\u3055\u308c\u3001\u691c\u7d22\u7d50\u679c\u306b\u51fa\u306b\u304f\u304f<\/strong>\u306a\u308a\u307e\u3059\u3002AI \u691c\u7d22\u3082\u540c\u3058\u3067\u3001\u95a2\u9023\u30da\u30fc\u30b8\u540c\u58eb\u304c\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u307b\u3069\u6587\u8108\u3092\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u300c\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u300d\u3068\u306f\uff1f<\/summary>\n\t\t\t<p>\u30e1\u30cb\u30e5\u30fc\u3084\u30d5\u30c3\u30bf\u30fc\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u304b\u3089\u306f\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u308b\u3051\u308c\u3069\u3001\u8a18\u4e8b\u3084\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u672c\u6587\u306e\u4e2d\u304b\u3089\u306f\u4e00\u5ea6\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u3067\u3059\u3002\u5168\u30da\u30fc\u30b8\u306b\u540c\u3058\u30e1\u30cb\u30e5\u30fc\u304c\u4ed8\u304f\u306e\u3067\u3001\u30e1\u30cb\u30e5\u30fc\u306e\u30ea\u30f3\u30af\u306f\u300c\u305d\u306e\u30da\u30fc\u30b8\u304c\u91cd\u8981\u300d\u3068\u3044\u3046\u4fe1\u53f7\u3068\u3057\u3066\u306f\u5f31\u3081\u3067\u3059\u3002\u95a2\u9023\u3059\u308b\u8a18\u4e8b\u306e\u672c\u6587\u304b\u3089\u3001\u6587\u8108\u306e\u3042\u308b\u8a00\u8449\u3067\u30ea\u30f3\u30af\u3059\u308b\u306e\u304c\u52b9\u304d\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u3069\u3053\u304b\u3089\u76f4\u305b\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u9806\u756a\u306f\u3001(1) \u5b64\u7acb\u30da\u30fc\u30b8\u306e\u3046\u3061\u6b8b\u3059\u4fa1\u5024\u304c\u3042\u308b\u3082\u306e\u306b\u3001\u95a2\u9023\u8a18\u4e8b\u306e\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3092\u8db3\u3059\uff08\u4fa1\u5024\u304c\u7121\u3051\u308c\u3070 noindex \u304b\u524a\u9664\uff09\u3001(2) \u6df1\u3055\u304c4\u4ee5\u4e0a\u306e\u30da\u30fc\u30b8\u3092\u3001\u30ab\u30c6\u30b4\u30ea\u3084\u89aa\u8a18\u4e8b\u304b\u30892\u301c3\u56de\u3067\u5c4a\u304f\u3088\u3046\u306b\u3059\u308b\u3001(3) \u88ab\u30ea\u30f3\u30af\u304c\u591a\u3044\u30da\u30fc\u30b8\uff08\u30cf\u30d6\uff09\u304b\u3089\u3001\u95a2\u9023\u3059\u308b\u65b0\u3057\u3044\u8a18\u4e8b\u3078\u30ea\u30f3\u30af\u3092\u8db3\u3059\u3001\u3067\u3059\u30021\u56de\u306b\u5168\u90e8\u3084\u3089\u305a\u3001\u307e\u3068\u307e\u308a\uff08\u30ab\u30c6\u30b4\u30ea\uff09\u3054\u3068\u306b\u9032\u3081\u308b\u3068\u7ba1\u7406\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u8868\u3092Excel\u3067\u958b\u304d\u305f\u3044\u306e\u3067\u3059\u304c<\/summary>\n\t\t\t<p>\u300cExcel\u3067\u4fdd\u5b58\u300d\u3067\u3001\u5b64\u7acb\u30da\u30fc\u30b8\u30fb\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u30fb\u6df1\u3044\u30da\u30fc\u30b8\u30fb\u88ab\u30ea\u30f3\u30af\u306e\u591a\u3044\u30da\u30fc\u30b8\u30fb\u5168\u30da\u30fc\u30b8\u306e\u8868\u3092\u30b7\u30fc\u30c8\u306b\u5206\u3051\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002\u5168\u30da\u30fc\u30b8\u306e\u8868\u3067\u306f\u3001\u88ab\u30ea\u30f3\u30af\u6570\u3084\u6df1\u3055\u3067\u4e26\u3079\u66ff\u3048\u3068\u7d5e\u308a\u8fbc\u307f\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t<\/div>\n<\/div>\n\n<div class=\"wt-tool\"><div class=\"wt-policy\"><p class=\"wt-policy-title\">\ud83d\udd12 \u8abf\u67fb\u7d50\u679c\u3068\u4e00\u6642\u30c7\u30fc\u30bf\u306e\u53d6\u308a\u6271\u3044<\/p><ul><li><strong>\u8abf\u67fb\u7d50\u679c\u3092\u691c\u7d22\u5c65\u6b74\u3068\u3057\u3066\u84c4\u7a4d\u30fb\u516c\u958b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8abf\u3079\u305f\u5bfe\u8c61\u3092\u5229\u7528\u8005\u5225\u306b\u4e00\u89a7\u5316\u3057\u305f\u308a\u3001\u4ed6\u306e\u5229\u7528\u8005\u304c\u691c\u7d22\u3067\u304d\u308b\u5c65\u6b74\u3068\u3057\u3066\u516c\u958b\u3057\u305f\u308a\u3059\u308b\u6a5f\u80fd\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li><strong>\u691c\u7d22\u5c65\u6b74\u3092\u6b8b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8ab0\u304c\u4f55\u3092\u8abf\u3079\u305f\u304b\u3092\u7d10\u3065\u3051\u3066\u84c4\u7a4d\u3059\u308b\u3053\u3068\u306f\u3057\u307e\u305b\u3093\u3002\u4f1a\u54e1\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3\u3082\u4e0d\u8981\u3067\u3059\u3002<\/li><li><strong>\u7b2c\u4e09\u8005\u306b\u63d0\u4f9b\u30fb\u8ca9\u58f2\u3057\u307e\u305b\u3093\u3002<\/strong>\u55b6\u696d\u30ea\u30b9\u30c8\u3084\u5e83\u544a\u76ee\u7684\u3067\u306e\u5229\u7528\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u30b5\u30fc\u30d0\u30fc\u8ca0\u8377\u3092\u6291\u3048\u308b\u305f\u3081\u3001<strong>\u5224\u5b9a\u7d50\u679c\u3092\u6709\u52b9\u671f\u9593\u6700\u59271\u6642\u9593\u306e\u4e00\u6642\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>\u3068\u3057\u3066\u4fdd\u6301\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u9023\u7d9a\u30a2\u30af\u30bb\u30b9\u306e\u5236\u9650\u306b\u306f\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092<strong>\u30cf\u30c3\u30b7\u30e5\u5316\u3057\u305f\u5024\u3068\u5b9f\u884c\u56de\u6570<\/strong>\u3092\u4f7f\u3044\u3001\u6700\u7d42\u53d7\u4ed8\u304b\u308910\u5206\u9593\u306e\u6709\u52b9\u671f\u9650\u3092\u8a2d\u3051\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5236\u9650\u7528\u30c7\u30fc\u30bf\u306b\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u4fdd\u5b58\u3057\u307e\u305b\u3093\u3002<\/li><li>\u8abf\u3079\u305f\u5bfe\u8c61\u306f\u5171\u6709\u7528\u306bURL\u306e<code>#<\/code>\u4ee5\u964d\u306b\u4ed8\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u90e8\u5206\u306f\u901a\u5e38\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u306f\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\u3002URL\u3092\u5171\u6709\u3059\u308b\u3068\u3001\u53d7\u3051\u53d6\u3063\u305f\u65b9\u306b\u306f\u8abf\u67fb\u5bfe\u8c61\u304c\u4f1d\u308f\u308a\u307e\u3059\u3002<\/li><\/ul><\/div><\/div>\n\n<script>\n(function () {\n\tvar root = document.getElementById('wt-links');\n\tif (!root || !window.WT) return;\n\n\tvar W = WT;\n\tvar form = root.querySelector('form');\n\tvar input = root.querySelector('.wt-input');\n\tvar submit = root.querySelector('.wt-btn');\n\tvar statusBox = root.querySelector('.wt-status');\n\tvar resultBox = root.querySelector('.wt-result');\n\tvar seq = 0;\n\tvar target = '';\n\tvar current = null;\n\tvar CHECK_MAX = 1000;\n\tvar GROUPS = { page: '\u56fa\u5b9a\u30da\u30fc\u30b8', post: '\u8a18\u4e8b', hidden: '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5916', archive: '\u4e00\u89a7\u30da\u30fc\u30b8', '': '\u4e0d\u660e' };\n\n\tfunction num(n) { return (n == null ? 0 : n).toLocaleString('ja-JP'); }\n\tfunction setStatus(msg, isError) {\n\t\tif (!msg) { statusBox.hidden = true; statusBox.textContent = ''; return; }\n\t\tstatusBox.hidden = false;\n\t\tstatusBox.className = 'wt-status' + (isError ? ' is-error' : '');\n\t\tstatusBox.textContent = msg;\n\t}\n\t\/\/ \u30b5\u30fc\u30d0\u30fc\u5074\u306e wtiv_key() \u3068\u540c\u3058\u5f62\u306b\u305d\u308d\u3048\u308b\uff08\u30d1\u30b9\uff0b\u30af\u30a8\u30ea\u3001\u5c0f\u6587\u5b57\u3001\u672b\u5c3e\u306e\u30b9\u30e9\u30c3\u30b7\u30e5\u306a\u3057\uff09\u3002\n\tfunction keyOf(url) {\n\t\ttry {\n\t\t\tvar u = new URL(url);\n\t\t\tvar p = decodeURIComponent(u.pathname).toLowerCase().replace(\/\\\/$\/, '') || '\/';\n\t\t\treturn p + (u.search || '');\n\t\t} catch (e) { return url; }\n\t}\n\tfunction link(url, text) { return '<a href=\"' + W.esc(url) + '\" target=\"_blank\" rel=\"noopener nofollow\">' + W.esc(text) + '<\/a>'; }\n\n\tfunction progress(label, done, total) {\n\t\tresultBox.innerHTML = '<div class=\"wt-headline\"><div class=\"wt-target\">' + W.esc(target) + '<\/div>' +\n\t\t\t'<div class=\"wt-answer\">' + W.esc(label) + (total ? '\u3000' + num(done) + ' \/ ' + num(total) : '') + '<\/div>' +\n\t\t\t(total ? '<div class=\"wt-progress\"><span style=\"width:' + Math.round(done \/ Math.max(total, 1) * 100) + '%\"><\/span><\/div>' : '') +\n\t\t\t'<p class=\"wt-note\"><button type=\"button\" class=\"wt-mini\" id=\"wt-links-stop\">\u6b62\u3081\u308b<\/button><\/p><\/div>';\n\t\tresultBox.hidden = false;\n\t}\n\n\t\/**\n\t * \u30ea\u30f3\u30af\u306e\u3064\u306a\u304c\u308a\u3092\u8a08\u7b97\u3059\u308b\u3002\n\t * rows: \u4e00\u89a7\u306e\u884c\u3001results: page-check \u306e\u7d50\u679c\uff08url => {links, links_body, ...}\uff09\n\t *\/\n\tfunction analyze(d, rows, results) {\n\t\tvar byKey = {};\n\t\trows.forEach(function (r) { r.key = keyOf(r.url); byKey[r.key] = r; });\n\t\tvar topKey = keyOf(d.base);\n\t\trows.forEach(function (r) {\n\t\t\tr.in_all = 0; r.in_body = 0; r.out_all = 0; r.out_body = 0; r.checked = false; r.depth = null; r.in_from = [];\n\t\t});\n\t\tvar unknown = {};\n\t\tvar graph = {};\n\t\trows.forEach(function (r) {\n\t\t\tvar res = results[r.url];\n\t\t\tif (!res) return;\n\t\t\tr.checked = true;\n\t\t\tr.status = res.status;\n\t\t\tvar all = res.links || [], body = res.links_body || [];\n\t\t\tr.out_all = all.length; r.out_body = body.length;\n\t\t\tgraph[r.key] = all;\n\t\t\tvar bodySet = {};\n\t\t\tbody.forEach(function (k) { bodySet[k] = true; });\n\t\t\tall.forEach(function (k) {\n\t\t\t\tif (k === r.key) return;\n\t\t\t\tvar t = byKey[k];\n\t\t\t\tif (!t) { unknown[k] = (unknown[k] || 0) + 1; return; }\n\t\t\t\tt.in_all++;\n\t\t\t\tif (bodySet[k] && r.group !== 'archive') {\n\t\t\t\t\tt.in_body++;\n\t\t\t\t\tif (5 > t.in_from.length) t.in_from.push(r.path);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\t\/\/ \u30c8\u30c3\u30d7\u304b\u3089\u306e\u6df1\u3055\uff08\u5e45\u512a\u5148\uff09\n\t\tvar depth = {}; depth[topKey] = 0;\n\t\tvar queue = [topKey];\n\t\twhile (queue.length) {\n\t\t\tvar k = queue.shift();\n\t\t\t(graph[k] || []).forEach(function (n) {\n\t\t\t\tif (depth[n] === undefined && byKey[n]) { depth[n] = depth[k] + 1; queue.push(n); }\n\t\t\t});\n\t\t}\n\t\trows.forEach(function (r) { r.depth = depth[r.key] === undefined ? null : depth[r.key]; r.is_top = r.key === topKey; });\n\n\t\tvar checked = rows.filter(function (r) { return r.checked; });\n\t\tvar content = rows.filter(function (r) { return r.group === 'post' || r.group === 'page'; });\n\t\tvar orphans = rows.filter(function (r) { return !r.is_top && r.in_all === 0 && r.group !== 'hidden'; });\n\t\tvar bodyless = content.filter(function (r) { return !r.is_top && r.in_body === 0 && r.in_all > 0; });\n\t\tvar unreachable = rows.filter(function (r) { return r.depth === null && r.group !== 'hidden'; });\n\t\tvar deep = rows.filter(function (r) { return r.depth !== null && r.depth >= 4; });\n\t\tvar deadends = content.filter(function (r) { return r.checked && r.out_body === 0 && !r.is_top; });\n\t\tvar hubs = rows.slice().sort(function (a, b) { return b.in_all - a.in_all; }).slice(0, 15);\n\t\tvar avgIn = content.length ? content.reduce(function (a, r) { return a + r.in_body; }, 0) \/ content.length : 0;\n\t\tvar maxDepth = rows.reduce(function (a, r) { return r.depth !== null && r.depth > a ? r.depth : a; }, 0);\n\t\tvar unknownList = Object.keys(unknown).map(function (k) { return { key: k, count: unknown[k] }; }).sort(function (a, b) { return b.count - a.count; });\n\n\t\treturn { rows: rows, checked: checked, content: content, orphans: orphans, bodyless: bodyless, unreachable: unreachable, deep: deep, deadends: deadends, hubs: hubs, avgIn: avgIn, maxDepth: maxDepth, unknown: unknownList };\n\t}\n\n\tfunction checksFor(a) {\n\t\tvar c = [];\n\t\tc.push({ status: a.orphans.length ? (a.orphans.length > a.rows.length * 0.1 ? 'ng' : 'warn') : 'ok', title: a.orphans.length ? '\u3069\u3053\u304b\u3089\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u304c ' + num(a.orphans.length) + ' \u4ef6\u3042\u308a\u307e\u3059' : '\u5b64\u7acb\u30da\u30fc\u30b8\u306f\u3042\u308a\u307e\u305b\u3093', note: a.orphans.length ? '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3067\u3057\u304b\u898b\u3064\u3051\u3089\u308c\u306a\u3044\u30da\u30fc\u30b8\u3067\u3059\u3002\u6b8b\u3059\u306a\u3089\u95a2\u9023\u8a18\u4e8b\u306e\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3092\u3001\u4e0d\u8981\u306a\u3089 noindex \u304b\u524a\u9664\u3092\u3002' : '' });\n\t\tc.push({ status: a.bodyless.length ? 'warn' : 'ok', title: a.bodyless.length ? '\u30e1\u30cb\u30e5\u30fc\u3084\u30d5\u30c3\u30bf\u30fc\u304b\u3089\u3060\u3051\u30ea\u30f3\u30af\u3055\u308c\u3001\u672c\u6587\u304b\u3089\u306f\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u304c ' + num(a.bodyless.length) + ' \u4ef6\u3042\u308a\u307e\u3059' : '\u8a18\u4e8b\u30fb\u56fa\u5b9a\u30da\u30fc\u30b8\u306f\u3059\u3079\u3066\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u307e\u3059', note: a.bodyless.length ? '\u6587\u8108\u306e\u3042\u308b\u672c\u6587\u30ea\u30f3\u30af\u306e\u307b\u3046\u304c\u3001\u95a2\u9023\u6027\u3092\u5f37\u304f\u4f1d\u3048\u3089\u308c\u307e\u3059\u3002' : '' });\n\t\tif (a.unreachable.length) c.push({ status: 'warn', title: '\u30c8\u30c3\u30d7\u304b\u3089\u30ea\u30f3\u30af\u3092\u305f\u3069\u3063\u3066\u3082\u5c4a\u304b\u306a\u3044\u30da\u30fc\u30b8\u304c ' + num(a.unreachable.length) + ' \u4ef6\u3042\u308a\u307e\u3059', note: '\u5b64\u7acb\u30da\u30fc\u30b8\u3068\u3001\u5b64\u7acb\u30da\u30fc\u30b8\u304b\u3089\u3057\u304b\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u3067\u3059\u3002' });\n\t\tc.push({ status: a.deep.length ? 'warn' : 'ok', title: a.deep.length ? '\u30c8\u30c3\u30d7\u304b\u30894\u56de\u4ee5\u4e0a\u305f\u3069\u3089\u306a\u3044\u3068\u5c4a\u304b\u306a\u3044\u30da\u30fc\u30b8\u304c ' + num(a.deep.length) + ' \u4ef6\u3042\u308a\u307e\u3059\uff08\u6700\u5927 ' + a.maxDepth + ' \u56de\uff09' : '\u3059\u3079\u3066\u306e\u30da\u30fc\u30b8\u306b\u30c8\u30c3\u30d7\u304b\u30893\u56de\u4ee5\u5185\u3067\u5c4a\u304d\u307e\u3059', note: a.deep.length ? '\u30ab\u30c6\u30b4\u30ea\u30da\u30fc\u30b8\u3084\u89aa\u8a18\u4e8b\u304b\u3089\u30ea\u30f3\u30af\u3057\u3066\u30012\u301c3\u56de\u3067\u5c4a\u304f\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002' : '' });\n\t\tif (a.deadends.length) c.push({ status: 'na', title: '\u672c\u6587\u304b\u30891\u672c\u3082\u30ea\u30f3\u30af\u3057\u3066\u3044\u306a\u3044\u8a18\u4e8b\u30fb\u56fa\u5b9a\u30da\u30fc\u30b8\u304c ' + num(a.deadends.length) + ' \u4ef6\u3042\u308a\u307e\u3059', note: '\u8aad\u307f\u7d42\u3048\u305f\u4eba\u3092\u6b21\u306e\u30da\u30fc\u30b8\u3078\u6848\u5185\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002\u95a2\u9023\u8a18\u4e8b\u3078\u306e\u30ea\u30f3\u30af\u3092\u8db3\u3059\u5019\u88dc\u3067\u3059\u3002' });\n\t\tc.push({ status: 'na', title: '\u8a18\u4e8b\u30fb\u56fa\u5b9a\u30da\u30fc\u30b81\u672c\u3042\u305f\u308a\u3001\u672c\u6587\u304b\u3089\u306e\u88ab\u30ea\u30f3\u30af\u306f\u5e73\u5747 ' + a.avgIn.toFixed(1) + ' \u672c\u3067\u3059', note: '\u76ee\u5b89\u306f3\u672c\u4ee5\u4e0a\u3002\u304b\u305f\u307e\u308a\uff08\u30ab\u30c6\u30b4\u30ea\uff09\u3054\u3068\u306b\u76f8\u4e92\u30ea\u30f3\u30af\u3059\u308b\u3068\u5897\u3084\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002' });\n\t\tif (a.unknown.length) c.push({ status: 'warn', title: '\u4e00\u89a7\u306b\u7121\u3044URL\u3078\u306e\u30ea\u30f3\u30af\u304c ' + num(a.unknown.length) + ' \u7a2e\u985e\u3042\u308a\u307e\u3059', note: '\u524a\u9664\u6e08\u307f\u306e\u30da\u30fc\u30b8\u3001REST API \u306b\u51fa\u306a\u3044\u6295\u7a3f\u30bf\u30a4\u30d7\u3001\u8ee2\u9001\u3055\u308c\u308bURL\u306a\u3069\u3067\u3059\u3002\u4e0b\u306e\u8868\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002' });\n\t\treturn c;\n\t}\n\n\tfunction pageRow(r) {\n\t\treturn { kind: r.kind, path: r.path, url: r.url, title: r.title, in_all: r.in_all, in_body: r.in_body, out_body: r.out_body, depth: r.depth === null ? '\u5c4a\u304b\u306a\u3044' : r.depth, from: r.in_from.join('\\n') };\n\t}\n\tvar COLS = function () {\n\t\treturn [\n\t\t\t{ key: 'kind', label: '\u7a2e\u5225', wrap: true },\n\t\t\t{ key: 'path', label: '\u30d1\u30b9', wrap: true, html: function (r) { return link(r.url, r.path); } },\n\t\t\t{ key: 'title', label: '\u30bf\u30a4\u30c8\u30eb', wrap: true },\n\t\t\t{ key: 'in_all', label: '\u88ab\u30ea\u30f3\u30af\uff08\u5168\u4f53\uff09', cls: function (r) { return r.in_all === 0 ? 'is-bad' : ''; } },\n\t\t\t{ key: 'in_body', label: '\u88ab\u30ea\u30f3\u30af\uff08\u672c\u6587\uff09', cls: function (r) { return r.in_body === 0 ? 'is-warn' : ''; } },\n\t\t\t{ key: 'out_body', label: '\u672c\u6587\u304b\u3089\u306e\u30ea\u30f3\u30af' },\n\t\t\t{ key: 'depth', label: '\u30c8\u30c3\u30d7\u304b\u3089\u306e\u6df1\u3055', cls: function (r) { return r.depth === '\u5c4a\u304b\u306a\u3044' || r.depth >= 4 ? 'is-warn' : ''; } }\n\t\t];\n\t};\n\n\tfunction render(a, d) {\n\t\tvar c = checksFor(a);\n\t\tvar bad = c.some(function (x) { return x.status === 'ng'; }), warn = c.some(function (x) { return x.status === 'warn'; });\n\t\tvar html = W.head(bad ? 'ng' : (warn ? 'warn' : 'ok'), (d.unicode || d.domain) + (d.subdir || '') + ' \u306e\u5185\u90e8\u30ea\u30f3\u30af',\n\t\t\tW.esc(num(a.checked.length) + ' \u30da\u30fc\u30b8\u3092\u78ba\u8a8d'), ['\u5b64\u7acb ' + num(a.orphans.length) + ' \u4ef6\uff0f\u672c\u6587\u304b\u3089\u306e\u30ea\u30f3\u30af\u306a\u3057 ' + num(a.bodyless.length) + ' \u4ef6\uff0f\u6700\u5927\u306e\u6df1\u3055 ' + a.maxDepth]);\n\n\t\thtml += '<div class=\"wt-cards\">';\n\t\thtml += W.card('\u78ba\u8a8d\u3057\u305f\u30da\u30fc\u30b8', W.esc(num(a.checked.length) + ' \u4ef6'));\n\t\thtml += W.card('\u5b64\u7acb\u30da\u30fc\u30b8', a.orphans.length ? '<span style=\"color:var(--wt-ng)\">' + W.esc(num(a.orphans.length) + ' \u4ef6') + '<\/span>' : '0 \u4ef6');\n\t\thtml += W.card('\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u306a\u3057', W.esc(num(a.bodyless.length) + ' \u4ef6'));\n\t\thtml += W.card('4\u56de\u4ee5\u4e0a\u305f\u3069\u308b\u30da\u30fc\u30b8', W.esc(num(a.deep.length) + ' \u4ef6'));\n\t\thtml += W.card('\u672c\u6587\u306e\u88ab\u30ea\u30f3\u30af\uff08\u5e73\u5747\uff09', W.esc(a.avgIn.toFixed(1) + ' \u672c'));\n\t\thtml += W.card('\u4e00\u89a7\u306b\u7121\u3044\u30ea\u30f3\u30af\u5148', W.esc(num(a.unknown.length) + ' \u7a2e\u985e'));\n\t\thtml += '<\/div>';\n\t\thtml += '<div class=\"wt-toolbar\"><button type=\"button\" class=\"wt-mini\" id=\"wt-links-xlsx\">Excel\u3067\u4fdd\u5b58<\/button><span class=\"wt-count\">\u5168\u30da\u30fc\u30b8\u30fb\u5b64\u7acb\u30fb\u6df1\u3055\u30fb\u30cf\u30d6\u306e\u8868\u304c\u5165\u308a\u307e\u3059<\/span><\/div>';\n\n\t\thtml += '<h3 class=\"wt-h\">\u8a3a\u65ad\u7d50\u679c<\/h3>' + W.checks(c);\n\n\t\tfunction table(id, title, note, list, extraCols) {\n\t\t\tif (!list.length) return '';\n\t\t\tvar h = '<h3 class=\"wt-h\">' + W.esc(title) + '<\/h3>' + (note ? '<p class=\"wt-note\" style=\"margin:0 0 .8em\">' + W.esc(note) + '<\/p>' : '');\n\t\t\treturn h + W.dataTable({ id: id, filename: d.domain + '-' + id.replace('wt-links-', '') + '.csv', rows: list.map(pageRow), columns: extraCols || COLS() });\n\t\t}\n\t\thtml += table('wt-links-orphans', '\u5b64\u7acb\u30da\u30fc\u30b8\uff08\u3069\u3053\u304b\u3089\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\uff09', '', a.orphans);\n\t\thtml += table('wt-links-bodyless', '\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8', '\u30e1\u30cb\u30e5\u30fc\u30fb\u30d5\u30c3\u30bf\u30fc\u30fb\u30b5\u30a4\u30c9\u30d0\u30fc\u30fb\u4e00\u89a7\u30da\u30fc\u30b8\u304b\u3089\u3060\u3051\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u3002', a.bodyless);\n\t\thtml += table('wt-links-deep', '\u30c8\u30c3\u30d7\u304b\u30894\u56de\u4ee5\u4e0a\u305f\u3069\u308b\u30da\u30fc\u30b8', '', a.deep);\n\t\thtml += table('wt-links-hubs', '\u88ab\u30ea\u30f3\u30af\u306e\u591a\u3044\u30da\u30fc\u30b8\uff08\u30cf\u30d6\uff09', '\u3053\u3053\u304b\u3089\u95a2\u9023\u3059\u308b\u65b0\u3057\u3044\u8a18\u4e8b\u3078\u30ea\u30f3\u30af\u3092\u8db3\u3059\u3068\u52b9\u304d\u307e\u3059\u3002', a.hubs, COLS().concat([{ key: 'from', label: '\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\uff08\u4f8b\uff09', wrap: true }]));\n\t\tif (a.unknown.length) {\n\t\t\thtml += '<h3 class=\"wt-h\">\u4e00\u89a7\u306b\u7121\u3044URL\u3078\u306e\u30ea\u30f3\u30af<\/h3>';\n\t\t\thtml += W.dataTable({ id: 'wt-links-unknown', filename: d.domain + '-unknown-targets.csv', rows: a.unknown.slice(0, 300), columns: [\n\t\t\t\t{ key: 'key', label: '\u30ea\u30f3\u30af\u5148', wrap: true, html: function (r) { return link('https:\/\/' + d.domain + r.key, r.key); } },\n\t\t\t\t{ key: 'count', label: '\u30ea\u30f3\u30af\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u6570' }\n\t\t\t] });\n\t\t}\n\t\thtml += '<h3 class=\"wt-h\">\u5168\u30da\u30fc\u30b8<\/h3>';\n\t\thtml += W.dataTable({ id: 'wt-links-all', filename: d.domain + '-internal-links.csv', rows: a.rows.slice(0, 3000).map(pageRow), columns: COLS() });\n\n\t\thtml += '<h3 class=\"wt-h\">\u76f4\u3057\u65b9\u306e\u9806\u756a<\/h3><ol class=\"wt-steps\">' + [\n\t\t\t'<strong>\u5b64\u7acb\u30da\u30fc\u30b8<\/strong>\uff1a\u6b8b\u3059\u4fa1\u5024\u304c\u3042\u308b\u3082\u306e\u306f\u3001\u95a2\u9023\u3059\u308b\u8a18\u4e8b\u306e\u672c\u6587\u304b\u3089\u6587\u8108\u306e\u3042\u308b\u8a00\u8449\u3067\u30ea\u30f3\u30af\u3059\u308b\u3002\u4fa1\u5024\u304c\u7121\u3051\u308c\u3070 noindex \u304b\u524a\u9664',\n\t\t\t'<strong>\u6df1\u3044\u30da\u30fc\u30b8<\/strong>\uff1a\u30ab\u30c6\u30b4\u30ea\u30da\u30fc\u30b8\u3084\u89aa\u306b\u306a\u308b\u8a18\u4e8b\u304b\u3089\u30ea\u30f3\u30af\u3057\u3001\u30c8\u30c3\u30d7\u304b\u30892\u301c3\u56de\u3067\u5c4a\u304f\u3088\u3046\u306b\u3059\u308b',\n\t\t\t'<strong>\u30cf\u30d6\u304b\u3089\u8db3\u3059<\/strong>\uff1a\u88ab\u30ea\u30f3\u30af\u306e\u591a\u3044\u30da\u30fc\u30b8\u304b\u3089\u3001\u540c\u3058\u8a71\u984c\u306e\u65b0\u3057\u3044\u8a18\u4e8b\u3078\u30ea\u30f3\u30af\u3092\u8db3\u3059',\n\t\t\t'<strong>\u884c\u304d\u6b62\u307e\u308a\u3092\u306a\u304f\u3059<\/strong>\uff1a\u672c\u6587\u304b\u3089\u306e\u30ea\u30f3\u30af\u304c0\u672c\u306e\u8a18\u4e8b\u306b\u3001\u6b21\u306b\u8aad\u3080\u3079\u304d\u8a18\u4e8b\u3078\u306e\u30ea\u30f3\u30af\u30922\u301c3\u672c\u5165\u308c\u308b',\n\t\t\t'<strong>\u4e00\u89a7\u306b\u7121\u3044\u30ea\u30f3\u30af\u5148<\/strong>\uff1a\u524a\u9664\u6e08\u307f\u306a\u3089\u8ee2\u9001\u3092\u8a2d\u5b9a\u3057\u3001\u6b8b\u3063\u3066\u3044\u308b\u306a\u3089\u4e00\u89a7\u306b\u8f09\u308b\u3088\u3046\u306b\u3059\u308b'\n\t\t].map(function (t) { return '<li>' + t + '<\/li>'; }).join('') + '<\/ol>';\n\n\t\thtml += W.footer(d, [\n\t\t\t['site-pages', '\u5168URL\u3068 title\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u72b6\u614b\u3092\u898b\u308b'],\n\t\t\t['error-check', '\u30ea\u30f3\u30af\u5207\u308c\u3092\u8abf\u3079\u308b'],\n\t\t\t['seo-check', '\u500b\u5225\u30da\u30fc\u30b8\u306e\u5185\u90e8SEO\u3092\u8abf\u3079\u308b']\n\t\t]);\n\t\tresultBox.innerHTML = html;\n\t\tresultBox.hidden = false;\n\t}\n\n\tfunction saveExcel() {\n\t\tif (!current) return;\n\t\tvar a = current.analysis, d = current.inv;\n\t\tvar head = ['\u7a2e\u5225', '\u30d1\u30b9', 'URL', '\u30bf\u30a4\u30c8\u30eb', '\u88ab\u30ea\u30f3\u30af\uff08\u5168\u4f53\uff09', '\u88ab\u30ea\u30f3\u30af\uff08\u672c\u6587\uff09', '\u672c\u6587\u304b\u3089\u306e\u30ea\u30f3\u30af', '\u30c8\u30c3\u30d7\u304b\u3089\u306e\u6df1\u3055', '\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\uff08\u4f8b\uff09'];\n\t\tfunction rowsOf(list) { return [head].concat(list.map(function (r) { var x = pageRow(r); return [x.kind, x.path, x.url, x.title, x.in_all, x.in_body, x.out_body, x.depth, x.from]; })); }\n\t\tvar sheets = [\n\t\t\t{ name: '\u8a3a\u65ad\u7d50\u679c', rows: [['\u9805\u76ee', '\u5185\u5bb9']].concat(checksFor(a).map(function (c) { return [c.title, c.note]; })), widths: [70, 70] },\n\t\t\t{ name: '\u5b64\u7acb\u30da\u30fc\u30b8', rows: rowsOf(a.orphans) },\n\t\t\t{ name: '\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u306a\u3057', rows: rowsOf(a.bodyless) },\n\t\t\t{ name: '\u6df1\u3044\u30da\u30fc\u30b8', rows: rowsOf(a.deep) },\n\t\t\t{ name: '\u30cf\u30d6', rows: rowsOf(a.hubs) },\n\t\t\t{ name: '\u4e00\u89a7\u306b\u7121\u3044\u30ea\u30f3\u30af\u5148', rows: [['\u30ea\u30f3\u30af\u5148', '\u30ea\u30f3\u30af\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u6570']].concat(a.unknown.map(function (u) { return [u.key, u.count]; })) },\n\t\t\t{ name: '\u5168\u30da\u30fc\u30b8', rows: rowsOf(a.rows), widths: [14, 36, 50, 40, 10, 10, 10, 10, 50] }\n\t\t];\n\t\tW.xlsx(d.domain + (d.subdir || '').replace(\/\\\/\/g, '_') + '-internal-links.xlsx', sheets);\n\t}\n\n\tfunction run(value, push) {\n\t\tif (!value) return;\n\t\tvar mine = ++seq;\n\t\ttarget = value;\n\t\tcurrent = null;\n\t\tsubmit.disabled = true;\n\t\tif (push && window.history.replaceState) {\n\t\t\ttry { window.history.replaceState({}, '', location.pathname + '#' + encodeURIComponent(value)); } catch (err) { \/* \u7d9a\u884c *\/ }\n\t\t}\n\t\tsetStatus('\u5168URL\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u2026', false);\n\t\tprogress('\u5168URL\u3092\u96c6\u3081\u3066\u3044\u307e\u3059', 0, 0);\n\t\tfetch('\/tools\/wp-json\/webtools\/v1\/site-inventory?url=' + encodeURIComponent(value), { headers: { Accept: 'application\/json' } })\n\t\t\t.then(function (res) { return res.json().then(function (b) { return { ok: res.ok, body: b }; }); })\n\t\t\t.then(function (r) {\n\t\t\t\tif (mine !== seq) return;\n\t\t\t\tif (!r.ok || r.body.error) {\n\t\t\t\t\tsetStatus(r.body && (r.body.message || r.body.error) ? (r.body.message || r.body.error) : '\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002', true);\n\t\t\t\t\tresultBox.hidden = true; submit.disabled = false;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar d = r.body;\n\t\t\t\tvar rows = (d.rows || []).map(function (x) {\n\t\t\t\t\tvar top = (d.subdir || '') + '\/';\n\t\t\t\t\tvar kind = x.path === top ? 'TOP' : (x.group === 'page' ? '\u56fa\u5b9a\u30da\u30fc\u30b8' : (x.group === 'post' ? (x.type === '\u6295\u7a3f' ? '\u8a18\u4e8b' : '\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\uff1a' + x.type) : (x.group === 'archive' ? '\u4e00\u89a7\uff1a' + String(x.type).replace(\/^\u4e00\u89a7\uff1a\/, '') : (x.group === 'hidden' ? '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5916' : '\u30da\u30fc\u30b8'))));\n\t\t\t\t\treturn { kind: kind, path: x.path, url: x.url, title: x.title, group: x.group };\n\t\t\t\t});\n\t\t\t\tvar targets = rows.filter(function (x) { return x.group !== 'hidden'; }).slice(0, CHECK_MAX);\n\t\t\t\tsetStatus('\u5404\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066\u30ea\u30f3\u30af\u3092\u62fe\u3063\u3066\u3044\u307e\u3059\u2026 ' + num(targets.length) + ' \u30da\u30fc\u30b8\u3067' + Math.max(1, Math.round(targets.length \/ 25 * 3 \/ 60)) + '\u5206\u307b\u3069\u304b\u304b\u308a\u307e\u3059\u3002', false);\n\t\t\t\tprogress('\u30ea\u30f3\u30af\u3092\u62fe\u3063\u3066\u3044\u307e\u3059', 0, targets.length);\n\t\t\t\treturn W.checkPages(d.domain, targets.map(function (x) { return x.url; }), function (done, total) {\n\t\t\t\t\tif (mine === seq) progress('\u30ea\u30f3\u30af\u3092\u62fe\u3063\u3066\u3044\u307e\u3059', done, total);\n\t\t\t\t}, function () { return mine !== seq; }, { links: true, prefix: d.subdir || '' }).then(function (results) {\n\t\t\t\t\tif (mine !== seq) return;\n\t\t\t\t\tsetStatus('');\n\t\t\t\t\tsubmit.disabled = false;\n\t\t\t\t\tvar analysis = analyze(d, rows, results);\n\t\t\t\t\tcurrent = { inv: d, analysis: analysis };\n\t\t\t\t\trender(analysis, d);\n\t\t\t\t\tif (results.__error) setStatus(results.__error + '\uff08\u9014\u4e2d\u307e\u3067\u306e\u7d50\u679c\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\uff09', true);\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch(function () {\n\t\t\t\tif (mine !== seq) return;\n\t\t\t\tsetStatus('\u901a\u4fe1\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u6642\u9593\u3092\u304a\u3044\u3066\u518d\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002', true);\n\t\t\t\tsubmit.disabled = false;\n\t\t\t});\n\t}\n\n\tresultBox.addEventListener('click', function (e) {\n\t\tif (!e.target) return;\n\t\tif (e.target.id === 'wt-links-stop') { seq++; submit.disabled = false; setStatus('\u6b62\u3081\u307e\u3057\u305f\u3002', false); }\n\t\telse if (e.target.id === 'wt-links-xlsx') saveExcel();\n\t});\n\tform.addEventListener('submit', function (e) { e.preventDefault(); run(input.value.trim(), true); });\n\tform.addEventListener('click', function (e) {\n\t\tvar s = e.target.getAttribute && e.target.getAttribute('data-sample');\n\t\tif (s) { input.value = s; run(s, true); }\n\t});\n\tvar initial = location.hash ? decodeURIComponent(location.hash.slice(1)) : '';\n\tif (initial) { input.value = initial; run(initial, false); }\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>URL\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u30b5\u30a4\u30c8\u5185\u306e\u5168\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066\u5185\u90e8\u30ea\u30f3\u30af\u306e\u3064\u306a\u304c\u308a\u3092\u8abf\u3079\u307e\u3059\u3002\u3069\u3053\u304b\u3089\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u300c\u5b64\u7acb\u30da\u30fc\u30b8\u300d\u3001\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u3001\u30c8\u30c3\u30d7\u304b\u3089\u4f55\u56de\u305f\u3069\u308c\u3070\u5c4a\u304f\u304b\u3001\u88ab\u30ea\u30f3\u30af\u306e\u591a\u3044\u30da\u30fc\u30b8\u304c\u5206\u304b\u308a\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ssp_meta_description":"URL\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u30b5\u30a4\u30c8\u5185\u306e\u5168\u30da\u30fc\u30b8\u3092\u958b\u3044\u3066\u5185\u90e8\u30ea\u30f3\u30af\u306e\u3064\u306a\u304c\u308a\u3092\u8abf\u3079\u3001\u3069\u3053\u304b\u3089\u3082\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u5b64\u7acb\u30da\u30fc\u30b8\u3001\u672c\u6587\u304b\u3089\u30ea\u30f3\u30af\u3055\u308c\u3066\u3044\u306a\u3044\u30da\u30fc\u30b8\u3001\u30c8\u30c3\u30d7\u304b\u3089\u306e\u6df1\u3055\u3001\u88ab\u30ea\u30f3\u30af\u306e\u591a\u3044\u30da\u30fc\u30b8\u3092\u4e00\u89a7\u306b\u3002Excel\u4fdd\u5b58\u53ef\u3002\u4f1a\u54e1\u767b\u9332\u4e0d\u8981\u3002","ssp_meta_title":"\u5185\u90e8\u30ea\u30f3\u30af\u30fb\u5b64\u7acb\u30da\u30fc\u30b8\u8a3a\u65ad\uff5c\u7121\u6599\u3067\u5168\u30da\u30fc\u30b8\u3092\u78ba\u8a8d","ssp_meta_robots":"","ssp_meta_canonical":"","ssp_meta_image":"","ssp_meta_keyword":"","footnotes":""},"class_list":["post-231","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":1,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/231\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/231\/revisions\/232"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/media?parent=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}