{"id":3297,"date":"2019-11-27T22:47:27","date_gmt":"2019-11-27T14:47:27","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=3297"},"modified":"2019-11-27T22:47:27","modified_gmt":"2019-11-27T14:47:27","slug":"%e7%bb%87%e6%a2%a6%e7%bd%91%e7%ab%99%e5%9c%b0%e5%9b%be%e7%94%9f%e6%88%90%e6%8f%92%e4%bb%b6%e5%8f%91%e5%b8%83%e6%96%87%e7%ab%a0%e5%90%8e%e8%87%aa%e5%8a%a8%e7%94%9f%e6%88%90%e5%9c%b0%e5%9b%be","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/3297.html","title":{"rendered":"\u7ec7\u68a6\u7f51\u7ad9\u5730\u56fe\u751f\u6210\u63d2\u4ef6+\u53d1\u5e03\u6587\u7ae0\u540e\u81ea\u52a8\u751f\u6210\u5730\u56fe"},"content":{"rendered":"

\u7ec7\u68a6\u7f51\u7ad9\u5730\u56fe\u751f\u6210\u63d2\u4ef6\uff0c\u53ef\u540c\u65f6\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u751f\u62105\u79cd\u5730\u56fe\u6587\u4ef6\u3002
\n\"\"<\/a><\/p>\n

\u4e0b\u8f7d\u5730\u5740\uff08\u6839\u636e\u81ea\u5df1\u7f51\u7ad9\u7f16\u7801\u9009\u62e9\u5b89\u88c5\uff09<\/h2>\n

<\/i>\u672c\u5730\u4e0b\u8f7d<\/a><\/p>\n

<\/i>\u767e\u5ea6\u7f51\u76d8<\/a>
\n\u63d0\u53d6\u7801: 3bjg<\/p>\n

\u5b89\u88c5\u597d\u540e\u7684\u751f\u6210\u83dc\u5355\u5728\u6a21\u5757\u4e00\u680f\u91cc\u9762<\/p>\n

\"\"<\/a><\/p>\n

\u5982\u679c\u4f60\u60f3\u628a\u751f\u6210\u7f51\u7ad9\u5730\u56fe\u8fd9\u4e2a\u83dc\u5355\u653e\u5728\u751f\u6210\u4e00\u680f\u91cc\u9762\u3002\u53ef\u6253\u5f00\/dede\/inc\/inc_menu.php\u6587\u4ef6\uff0c\u641c\u7d22makehtml_map_guide.php\uff0c\u5927\u7ea6\u5728146\u884c\uff0c\u628a\u5b83\u4fee\u6539\u6210makehtml_sitemap.php\u5c31\u884c\u4e86\u3002\u5982\u4e0b\u56fe\uff1a<\/p>\n

\"\"<\/a><\/p>\n

\u5982\u679c\u4f60\u60f3\u53d1\u5e03\u6587\u7ae0\u540e\u81ea\u52a8\u751f\u6210\u7f51\u7ad9\u5730\u5740\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c<\/p>\n

1\u3001\u540e\u53f0-\u7cfb\u7edf-\u7cfb\u7edf\u57fa\u672c\u53c2\u6570\uff0c\u6dfb\u52a0\u53d8\u91cf<\/strong><\/p>\n

\u53d8\u91cf\u540d\u79f0:cfg_makesitemap<\/p>\n

\u53d8\u91cf\u7c7b\u578b:\u5e03\u5c14(Y\/N)<\/p>\n

\u53c2\u6570\u8bf4\u660e:\u53d1\u8868\u6587\u7ae0\u540e\u9a6c\u4e0a\u66f4\u65b0\u5730\u56fe<\/p>\n

\u53d8\u91cf\u503c:Y<\/p>\n

\u6240\u5c5e\u7ec4:\u7ad9\u70b9\u8bbe\u7f6e<\/p>\n

\"\"<\/a><\/p>\n

\u4fdd\u5b58\u3002<\/p>\n

2\u3001\u6253\u5f00 \/dede\/inc\/inc_archives_functions.php \uff0c\u641c\u7d22<\/strong><\/p>\n

global $arcID<\/code><\/pre>\n

\u5728\u5b83\u4e0a\u9762\u6dfb\u52a0\u4e0b\u9762\u4ee3\u7801\uff1a<\/p>\n

\/\/\u53d1\u8868\u6587\u7ae0\u540e\u9a6c\u4e0a\u66f4\u65b0\u5730\u56fe \u5f00\u59cb\r\nglobal $cfg_basedir,$cfg_templets_dir,$cfg_plus_dir,$cfg_makesitemap;\r\nif($cfg_makesitemap == 'Y')\r\n{\r\n\t$maps = array('sitemap.html','sitemap.txt','sitemap.xml','google.xml','rss.xml');\r\n\t$pv = new PartView();\r\n\tforeach($maps as $m)\r\n\t{\r\n\t\t$pv->SetTemplet($cfg_basedir.$cfg_templets_dir.$cfg_plus_dir.'\/'.$m);\r\n\t\t$pv->SaveToHtml(dirname(__FILE__).'\/..\/..\/'. $m);\r\n\t}\r\n}\r\n\/\/\u53d1\u8868\u6587\u7ae0\u540e\u9a6c\u4e0a\u66f4\u65b0\u5730\u56fe \u7ed3\u675f<\/code><\/pre>\n

\u4fdd\u5b58\u3002\u7136\u540e\u53d1\u5e03\u6587\u7ae0\u8bd5\u8bd5\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u7f51\u7ad9\u5185\u5bb9\u662f\u624b\u52a8\u53d1\u5e03\u3002\u5982\u679c\u4f60\u91c7\u96c6\uff0c\u4e0d\u5efa\u8bae\u8ba9\u5b83\u81ea\u5df1\u751f\u6210\u3002\u6bd5\u7adf\u91c7\u96c6\u91cf\u662f\u5f88\u5927\u7684\uff0c\u6bcf\u53d1\u4e00\u7bc7\u6587\u7ae0\u5c31\u751f\u6210\u4e00\u6b21\u5730\u56fe\uff0c\u8fd9\u6837\u5bf9\u670d\u52a1\u5668\u538b\u529b\u86ee\u5927\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u7ec7\u68a6\u7f51\u7ad9\u5730\u56fe\u751f\u6210\u63d2\u4ef6\uff0c\u53ef\u540c\u65f6\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u751f\u62105\u79cd\u5730\u56fe\u6587\u4ef6\u3002 \u4e0b\u8f7d\u5730\u5740\uff08\u6839\u636e\u81ea\u5df1\u7f51\u7ad9\u7f16\u7801\u9009\u62e9\u5b89\u88c5\uff09 \u672c\u5730\u4e0b\u8f7d \u767e […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1094,180,424],"class_list":["post-3297","post","type-post","status-publish","format-standard","hentry","category-web","tag-1094","tag-180","tag-424"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/3297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=3297"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/3297\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=3297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=3297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=3297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}