{"id":172782,"date":"2020-10-26T14:44:51","date_gmt":"2020-10-26T06:44:51","guid":{"rendered":"http:\/\/4563.org\/?p=172782"},"modified":"2020-10-26T14:44:51","modified_gmt":"2020-10-26T06:44:51","slug":"xiuno-bbs-%e4%bd%bf%e7%94%a8-jsdelivr-%e5%8a%a0%e9%80%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=172782","title":{"rendered":"xiuno BBS \u4f7f\u7528 jsdelivr \u52a0\u901f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  xiuno BBS \u4f7f\u7528 jsdelivr \u52a0\u901f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xinyana <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<blockquote>\n<p>\u4eca\u5929\u642d\u5efa\u4e86\u4e00\u4e2a\u8bba\u575b,\u9009\u7528\u6bd4\u8f83\u8f7b\u91cf\u7ea7\u7684 \u4fee\u7f57\u8bba\u575b:Xiuno BBS 4.0,\u672c\u6587\u8bb2\u8ff0\u9759\u6001\u6587\u4ef6\u4f7f\u7528 jsdelivr \u52a0\u901f\u7684\u6b65\u9aa4<\/p>\n<\/blockquote>\n<h3>\u4e00. \u8bba\u575b\u57fa\u7840\u8d44\u6e90\u52a0\u901f<\/h3>\n<p>Xiuno \u8bba\u575b\u9ed8\u8ba4\u4f7f\u7528\u5927\u91cf\u7684 js \u548c css,\u5373\u4f7f\u66f4\u6362\u4e3b\u9898,\u8fd9\u4e9b\u57fa\u7840\u8d44\u6e90\u4f9d\u7136\u9700\u8981\u52a0\u8f7d<\/p>\n<p>\u8fd9\u4e00\u90e8\u5206\u7684\u9759\u6001\u6587\u4ef6\u52a0\u901f\u662f\u4e2a\u5927\u5934.\u4f46\u662f\u65b9\u6cd5\u5374\u6700\u7b80\u5355<\/p>\n<h4>\u5c06<code>conf\/conf.php<\/code>\u6587\u4ef6\u7684 74 \u884c~79 \u884c\u66ff\u6362\u4e3a\u4ee5\u4e0b\u4ee3\u7801:<\/h4>\n<pre><code> 'view_url' =&gt; 'https:\/\/cdn.jsdelivr.net\/gh\/gdtool\/xiunobbs\/view\/',   'upload_url' =&gt; 'upload\/',   'upload_path' =&gt; '.\/upload\/',   'logo_mobile_url' =&gt; 'https:\/\/cdn.jsdelivr.net\/gh\/gdtool\/xiunobbs\/view\/img\/logo.png',   'logo_pc_url' =&gt; 'https:\/\/cdn.jsdelivr.net\/gh\/gdtool\/xiunobbs\/view\/img\/logo.png',   'logo_water_url' =&gt; 'https:\/\/cdn.jsdelivr.net\/gh\/gdtool\/xiunobbs\/view\/img\/water-small.png', <\/code><\/pre>\n<h3>\u4e8c. \u63d2\u4ef6\u9759\u6001\u6587\u4ef6\u52a0\u901f<\/h3>\n<p>\u63d2\u4ef6\u9759\u6001\u8d44\u6e90,\u4e00\u822c\u9700\u8981\u4fee\u6539 hook \u6587\u4ef6\u5939\u5185\u7684 htm \u94a9\u5b50,\u4e00\u822c\u6587\u4ef6\u540d\u4e3a:<code>hook\/...htm<\/code><\/p>\n<p>\u5c06<code>..\/plugin<\/code> \u66ff\u6362\u4e3a <code>https:\/\/cdn.jsdelivr.net\/gh\/gdtool\/plugins\/plugins<\/code><\/p>\n<p>\u53ea\u9700\u5b8c\u6210\u4ee5\u4e0a\u4e24\u6b65,\u4f60\u7684\u8bba\u575b\u5c06\u4f1a\u5065\u6b65\u5982\u98de<\/p>\n<h3>\u52a0\u901f\u540e\u7684\u6548\u679c<\/h3>\n<p>\u52a0\u901f\u6bd4\u4f8b\u5728 98%\u4ee5\u4e0a,\u4e00\u4e2a\u9875\u9762\u5728\u672c\u5730\u52a0\u8f7d\u7684\u8d44\u6e90\u53ea\u6709 4kb<\/p>\n<p>\u672c\u6587\u7528\u5230\u7684 github \u5e93:<\/p>\n<p>https:\/\/github.com\/gdtool\/xiunobbs<\/p>\n<p>https:\/\/github.com\/gdtool\/plugins<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/10\/20201027_5f977ba18c2dd.png\" alt=\"xiuno BBS \u4f7f\u7528 jsdelivr \u52a0\u901f\" \/><\/p>\n<p>\u8f6c\u8f7d\u8bf7\u4fdd\u7559\u539f\u6587\u94fe\u63a5<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3803125\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Smash <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a BBS \u4e0d\u662f\u6302\u4e86\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3803126\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xinyana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Smash \u5b98\u7f51\u6302\u4e86,\u4f46\u662f\u7a0b\u5e8f\u662f\u771f\u7684\u597d\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3803127\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xinyana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u800c\u4e14\u8fd9\u4e2a\u8bba\u575b\u6709\u4e9b\u4eba\u5728\u63a5\u76d8\u7ee7\u7eed\u5f00\u53d1,\u6709\u4e2a\u53eb\u5c0f\u767d \u8fd8\u662f\u5c0f\u5154\u7684 \u8fd8\u6709\u5176\u4ed6\u7248\u672c,\u54ea\u6015\u539f\u7248\u7684 4.0 \u4e5f\u8db3\u591f\u7528\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3803128\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ZAESKY <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u54c7\uff0c\u5c45\u7136\u80fd\u5728\u8fd9\u91cc\u770b\u5230\u6709\u7528 xiuno \u7684\u5927\u4f6c\uff0c\u6211\u4e5f\u662f\u4e00\u76f4\u5728\u7528 xiuno\uff0c\u90a3\u4e2a\u77e5\u4e4e\u84dd\u4e3b\u9898\u5c31\u662f\u6211\u5199\u7684\uff0c\u867d\u7136\u5199\u7684\u4e0d\u662f\u5f88\u597d\u263a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3803129\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : syozzz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u81ea\u5df1\u7684\u535a\u5ba2\u5207\u5230\u4e86 jsdelivr \u611f\u89c9\u8fd8\u662f\u6162                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3803130\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : solider245 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\uff0c\u4f60\u90a3\u4e2a GITHUB \u5730\u5740\u90fd\u6253\u4e0d\u5f00\uff0c\u4f60\u4e0d\u80fd\u653e\u4e00\u4e2a\u4e0d\u5b58\u5728\u7684\u5730\u5740\u7ed9\u6211\u4eec\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3803131\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xinyana <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @solider245 https:\/\/github.com\/gdtool\/xiunobbs                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>xiuno BBS \u4f7f\u7528 jsde&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/172782"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172782"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/172782\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172782"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}