{"id":38,"date":"2007-05-17T23:47:00","date_gmt":"2007-05-17T14:47:00","guid":{"rendered":"http:\/\/yokensaka.com\/fedora\/?p=38"},"modified":"2007-05-17T23:47:00","modified_gmt":"2007-05-17T14:47:00","slug":"%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e3%80%8cnp_archiveindex%e3%80%8d%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"http:\/\/yokensaka.com\/fedora\/?p=38","title":{"rendered":"\u30d7\u30e9\u30b0\u30a4\u30f3\u300cNP_ArchiveIndex\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p><a href=\"http:\/\/yokensaka.com\/blog\/\">\u3042\u306b\u3087\u306e\u30d6\u30ed\u30b0<\/a>\u306e\u8a18\u4e8b\u6570\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u305f\u306e\u3067\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u306b\u4e00\u89a7\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u524d\u306f\u8a18\u4e8b\u306e\u4e00\u89a7\u8868\u793a\u3055\u305b\u308b\u306e\u306b\u300cNP_Title List\u300d\u3092\u5165\u308c\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u300c<a href=\"http:\/\/japan.nucleuscms.org\/wiki\/plugins:archiveindex\">NP_ArchiveIndex<\/a>\u300d\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002<br \/>\n\u300cNP_ArchiveIndex\u300d\u306f\u30a2\u30fc\u30ab\u30a4\u30d6\u4e00\u89a7\u753b\u9762\u306b\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u306b\u8a18\u4e8b\u4e00\u89a7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u8868\u793a\u3059\u308b\u70ba\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u4e00\u89a7\u753b\u9762\u306b\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u306b\u8a18\u4e8b\u306e\u4e00\u89a7\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u3001\u30b9\u30ad\u30f3\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u5909\u6570\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n<b>\u25a0\u30b9\u30ad\u30f3\u3078\u306e\u8a18\u8ff0<\/b><br \/>\n\u30b9\u30ad\u30f3\u7de8\u96c6\u304b\u3089\u300c\u6708\u5225\u30a2\u30fc\u30ab\u30a4\u30d6\u4e00\u89a7\u30da\u30fc\u30b8\u300d\u306e\u8868\u793a\u3055\u305b\u305f\u3044\u3068\u3053\u308d\u306b\u8a18\u8ff0<br \/>\n\u7b2c\uff11\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff08\u5168\u30ab\u30c6\u30b4\u30ea\u30fc\u8868\u793a\u6642\uff09\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u8a18\u4e8b\u6570\u3001\u7b2c\uff12\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u8868\u793a\u6642\u306e\u4e00\u89a7\u8a18\u4e8b\u6570\u3001\u7b2c\uff13\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u8a73\u7d30\u6587\u306e\u8868\u793a\u3001\u975e\u8868\u793a\u3067\u3059\u3002<\/p>\n<pre><%archivelist(mtemplate)%>\n\u2193\n<%ArchiveIndex(10,50,none)%><\/pre>\n<p><b>\u25a0\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u306b\u8ffd\u8a18<\/b><\/p>\n<pre>\/*-------------------------------------------------\nNP_ArchiveIndex\n-------------------------------------------------*\/\n.archiveindex table { \/*\u30c6\u30fc\u30d6\u30eb\u306e\u30b9\u30bf\u30a4\u30eb\u6307\u5b9a*\/\nwidth: 70%;\nmargin: 1em 0 2em;\npadding: 0;\nborder-collapse: collapse;\n};\n.archiveindex th { \/*\u30ab\u30c6\u30b4\u30ea\u30fc\u540d*\/\nmargin: 0;\npadding: 2px 5px;\ntext-align: left;\n};\n.archiveindex tr.more { \/*More\u30ea\u30f3\u30af\u884c*\/\nbackground: none;\nfont-size: small;\n}\n.archiveindex td { \/*\u30bb\u30eb\u8868\u793a\u306e\u30b9\u30bf\u30a4\u30eb\u6307\u5b9a*\/\nmargin: 0;\npadding: 2px 5px;\nborder-top: 1px dotted gray;\ntext-align: left;\nvertical-align: top;\n}\n.archiveindex td.detail { \/*\u65e5\u4ed8\u8868\u793a\u30bb\u30eb*\/\nwhite-space: nowrap;\ntext-align: right;\n}\n.archiveindex td span.title{ \/*\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb*\/\n}\n.archiveindex td span.title-up { \/*\u66f4\u65b0\u3055\u308c\u305f\u8a18\u4e8b*\/\ncolor: red;\n}\n.archiveindex td span.catdesc { \/*\u30ab\u30c6\u30b4\u30ea\u30fc\u8a73\u7d30*\/\nfont-size: small;\ncolor: gray;\n}\n.archiveindex td span.nomore { \/*More\u30ea\u30f3\u30af\u7121\u52b9*\/\ncolor: #ccc;\n}<\/pre>\n<p><b>\u25a0NP_ArchiveIndex.php\u306e\u7de8\u96c6<\/b><br \/>\n\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u540d\u524d\u306e\u524d\u306b<00>\u3001<01>\u7b49\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u3001\u9806\u756a\u3092\u81ea\u7531\u306b\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u6570\u5b57\u3092\u8868\u793a\u3055\u305b\u306a\u3044\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre>255\u884c\u76ee\n$icatName = $b->getCategoryName($icat);\n\u2193\n$icatName = strip_tags($b->getCategoryName($icat));<\/pre>\n<p>NP_ArchiveIndex\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u9806\u756a\u3092NP_ContentsList\u3092\u4f7f\u3063\u3066\u4e26\u3079\u66ff\u3048\u3059\u308b\u3088\u3046\u306a\u4ed5\u69d8\u306b\u306a\u3063\u3066\u307e\u3059\u304c\u3001\u5f53\u30d6\u30ed\u30b0\u3067\u306fNP_ContentsList\u3092\u4f7f\u3063\u3066\u306a\u3044\u306e\u3067\u3046\u307e\u304f\u4e26\u3079\u66ff\u3048\u3055\u308c\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3001\u65b0\u7740\u8a18\u4e8b\u9806\u306b\u30ab\u30c6\u30b4\u30ea\u30fc\u3082\u4e26\u3079\u66ff\u3048\u3055\u308c\u308b\u3088\u3046\u306bsort by category\u306e\u90e8\u5206\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre>378\u884c\u76ee\uff5e396\u884c\u76ee\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n\/*\t\/\/sort by category\nif ($manager->pluginInstalled('NP_ContentsList')) {\n$plugin =& $manager->getPlugin('NP_ContentsList');\nif ($plugin) {\n$query = 'SELECT rid as catid FROM '. sql_table('plug_contentslist_rank') .' WHERE blog=0 AND rank<20 ORDER BY rank ASC'; \/\/ you can delete 'AND rank<20'\n$cl_res = sql_query($query);\n$arr_out2 = $arr_out;\n$arr_out = array();\nwhile ($clrank = mysql_fetch_object($cl_res)) {\n$icatName = $b->getCategoryName($clrank->catid);\n$arr_out[] = $arr_out2[$icatName];\n}\n$arr_out2 = '';\n}\n}\nelse {\nksort($arr_out);\n}*\/<\/pre>\n<p><b>\u25a0\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/b><br \/>\n\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u540d\u524d\u3092\u30aa\u30ec\u30f3\u30b8\u8272\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre>&lt;table&gt;&lt;thead title=\"%catdesc%\"&gt;&lt;tr&gt;&lt;th&gt;&lt;a href=\"%caturl%\"&gt;%catname%&lt;\/a&gt;&lt;\/th&gt;&lt;th&gt;&lt;\/th&gt;&lt;\/tr&gt;&lt;\/thead&gt;&lt;tbody&gt;\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\n&lt;table&gt;&lt;thead title=\"%catdesc%\"&gt;&lt;tr&gt;&lt;th&gt;&lt;a href=\"%caturl%\"&gt;&lt;span style=\"color: #FF6600;\"&gt;%catname%&lt;\/span&gt;&lt;\/a&gt;&lt;\/th&gt;&lt;th&gt;&lt;\/th&gt;&lt;\/tr&gt;&lt;\/thead&gt;&lt;tbody&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u3042\u306b\u3087\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u6570\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u305f\u306e\u3067\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u306b\u4e00\u89a7\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u524d\u306f\u8a18\u4e8b\u306e\u4e00\u89a7\u8868\u793a\u3055\u305b\u308b\u306e\u306b\u300cNP_Title List\u300d\u3092\u5165\u308c\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u300cNP_ArchiveIndex\u300d\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002 \u300c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-28-nucleus"],"_links":{"self":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":0,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"wp:attachment":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}