Site updated: 2022-11-01 15:45:46

This commit is contained in:
qinglong 2022-11-01 15:45:47 +08:00
parent d52e8edc5f
commit baa42440cc
99 changed files with 159 additions and 244 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
<author>
<name>Hito li</name>
</author>
<updated>2022-10-31T07:30:00.000Z</updated>
<updated>2022-11-01T07:20:00.000Z</updated>
<category term="hito" />
<category term="無言" />
<category term="博客" />
@ -16,6 +16,24 @@
<category term="笔记" />
<category term="心得体会" />
<category term="踩坑" />
<entry>
<id>https://blog.jingxiyuan.cn/2022/11/01/360%E7%8B%AC%E7%AB%8B%E7%89%88%E5%B0%8F%E5%B7%A5%E5%85%B7/</id>
<title>360独立版小工具</title>
<link rel="alternate" href="https://blog.jingxiyuan.cn/2022/11/01/360%E7%8B%AC%E7%AB%8B%E7%89%88%E5%B0%8F%E5%B7%A5%E5%85%B7/"/>
<content type="html">&lt;h4 id=&#34;360独立版小工具&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#360独立版小工具&#34;&gt;#&lt;/a&gt; 360 独立版小工具&lt;/h4&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/newscreen623936500.jpg&#34; alt=&#34;&#34; /&gt;&lt;br /&gt;
360 全家桶众说纷纭但工具箱还是挺实用的,这波小工具可以单独下载使用,有需要的朋友赶紧下载吧!&lt;/p&gt;
&lt;p&gt;&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly9wYW4uamluZ3hpeXVhbi5jbi8lRTglQkQlQUYlRTQlQkIlQjYvJUU3JUIzJUJCJUU3JUJCJTlGLzM2MCVFNSVCMCU4RiVFNSVCNyVBNSVFNSU4NSVCNw==&#34;&gt;下载地址&lt;/span&gt;&lt;/p&gt;
&lt;h4 id=&#34;部分工具截图&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#部分工具截图&#34;&gt;#&lt;/a&gt; 部分工具截图&lt;/h4&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/1a2e50f738d4a8c1.png&#34; alt=&#34;&#34; /&gt;&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/21d1ee247aa7c69f.png&#34; alt=&#34;&#34; /&gt;&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/newscreen624392843.jpg&#34; alt=&#34;&#34; /&gt;&lt;/p&gt;
</content>
<category term="Windows" scheme="https://blog.jingxiyuan.cn/categories/Windows/" />
<category term="工具" scheme="https://blog.jingxiyuan.cn/categories/Windows/%E5%B7%A5%E5%85%B7/" />
<category term="360小工具" scheme="https://blog.jingxiyuan.cn/tags/360%E5%B0%8F%E5%B7%A5%E5%85%B7/" />
<updated>2022-11-01T07:20:00.000Z</updated>
</entry>
<entry>
<id>https://blog.jingxiyuan.cn/2022/10/31/%E4%B8%80%E9%94%AE%E5%85%B3%E9%97%ADWindows10-11%E7%B3%BB%E7%BB%9F%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0/</id>
<title>一键关闭Windows10/11系统自动更新</title>
@ -1158,63 +1176,4 @@ server &amp;#123;
<category term="socketIO" scheme="https://blog.jingxiyuan.cn/tags/socketIO/" />
<updated>2022-09-21T01:46:00.000Z</updated>
</entry>
<entry>
<id>https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91/</id>
<title>Hexo + Theme.Shoka + algolia搜索踩坑</title>
<link rel="alternate" href="https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91/"/>
<content type="html">&lt;h1 id=&#34;hexo-themeshoka安装&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#hexo-themeshoka安装&#34;&gt;#&lt;/a&gt; Hexo + Theme.Shoka 安装&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;https://blog.jingxiyuan.cn/2022/09/14/Hexo%E5%AE%89%E8%A3%85%E6%91%B8%E7%B4%A2/&#34;&gt;安装介绍&lt;/a&gt;&lt;/p&gt;
&lt;h1 id=&#34;algolia注册&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#algolia注册&#34;&gt;#&lt;/a&gt; algolia 注册&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly93d3cuYWxnb2xpYS5jb20vdXNlcnMvc2lnbl9pbg==&#34;&gt;algolia&lt;/span&gt; 不支持国内邮箱注册,而 google 和 github 由于国内被墙也没法使用。所以只能先注册&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly9hcHAubmV0bGlmeS5jb20v&#34;&gt; netlify&lt;/span&gt; 然后通过 netlify 注册 algolia。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;登录 algolia 后创建一个 index名字随意记住既可。&lt;/p&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-32-20.png&#34; alt=&#34;2022-09-17-23-32-20.png&#34; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;点击右上角红点,弹出窗口点 settings 按钮。&lt;/p&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-35-04.png&#34; alt=&#34;2022-09-17-23-35-04.png&#34; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;点击 API KEYS获取 appId 和 adminApiKey 填入 hexo 的_config.yml 中 apiKey 暂时不填。&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code class=&#34;language-yml&#34;&gt;algolia:
appId: #Your appId
apiKey: #Your apiKey
adminApiKey: #Your adminApiKey
chunkSize: 5000
indexName: blog #&amp;quot;shoka&amp;quot;
fields:
- title #必须配置
- path #必须配置
- categories #推荐配置
- content:strip:truncate,0,2000
- gallery
- photos
- tags
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;
&lt;p&gt;点击 All Api Keys - New Api key 创建一个 api keyIndices 选先前让记住的 indexACL 选下面图片中的选项。&lt;/p&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-47-50.png&#34; alt=&#34;2022-09-17-23-47-50.png&#34; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;把第 5 步中新建的 api key 填入到第 4 步中的配置中,到此已经完成了百分之九十,只需要重新编译发布即可。不过编译步骤多了一步,在 hexo g 后需要再执行 hexo algolia至此搜索功能就大功告成了。&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
</content>
<category term="Linux" scheme="https://blog.jingxiyuan.cn/categories/Linux/" />
<category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
<category term="经验分享" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/" />
<category term="博客" scheme="https://blog.jingxiyuan.cn/tags/%E5%8D%9A%E5%AE%A2/" />
<category term="Hexo" scheme="https://blog.jingxiyuan.cn/tags/Hexo/" />
<category term="Shoka" scheme="https://blog.jingxiyuan.cn/tags/Shoka/" />
<category term="algolia" scheme="https://blog.jingxiyuan.cn/tags/algolia/" />
<category term="踩坑" scheme="https://blog.jingxiyuan.cn/tags/%E8%B8%A9%E5%9D%91/" />
<category term="搜索" scheme="https://blog.jingxiyuan.cn/tags/%E6%90%9C%E7%B4%A2/" />
<updated>2022-09-17T15:12:00.000Z</updated>
</entry>
</feed>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,6 +6,18 @@
"description": "hito的博客",
"home_page_url": "https://blog.jingxiyuan.cn",
"items": [
{
"id": "https://blog.jingxiyuan.cn/2022/11/01/360%E7%8B%AC%E7%AB%8B%E7%89%88%E5%B0%8F%E5%B7%A5%E5%85%B7/",
"url": "https://blog.jingxiyuan.cn/2022/11/01/360%E7%8B%AC%E7%AB%8B%E7%89%88%E5%B0%8F%E5%B7%A5%E5%85%B7/",
"title": "360独立版小工具",
"date_published": "2022-11-01T07:20:00.000Z",
"content_html": "<h4 id=\"360独立版小工具\"><a class=\"anchor\" href=\"#360独立版小工具\">#</a> 360 独立版小工具</h4>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/11/01/newscreen623936500.jpg\" alt=\"\" /><br />\n360 全家桶众说纷纭但工具箱还是挺实用的,这波小工具可以单独下载使用,有需要的朋友赶紧下载吧!</p>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly9wYW4uamluZ3hpeXVhbi5jbi8lRTglQkQlQUYlRTQlQkIlQjYvJUU3JUIzJUJCJUU3JUJCJTlGLzM2MCVFNSVCMCU4RiVFNSVCNyVBNSVFNSU4NSVCNw==\">下载地址</span></p>\n<h4 id=\"部分工具截图\"><a class=\"anchor\" href=\"#部分工具截图\">#</a> 部分工具截图</h4>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/11/01/1a2e50f738d4a8c1.png\" alt=\"\" /><br />\n<img data-src=\"https://file.jingxiyuan.cn/images/2022/11/01/21d1ee247aa7c69f.png\" alt=\"\" /><br />\n<img data-src=\"https://file.jingxiyuan.cn/images/2022/11/01/newscreen624392843.jpg\" alt=\"\" /></p>\n",
"tags": [
"Windows",
"工具",
"360小工具"
]
},
{
"id": "https://blog.jingxiyuan.cn/2022/10/31/%E4%B8%80%E9%94%AE%E5%85%B3%E9%97%ADWindows10-11%E7%B3%BB%E7%BB%9F%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0/",
"url": "https://blog.jingxiyuan.cn/2022/10/31/%E4%B8%80%E9%94%AE%E5%85%B3%E9%97%ADWindows10-11%E7%B3%BB%E7%BB%9F%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0/",
@ -276,24 +288,6 @@
"netty",
"socketIO"
]
},
{
"id": "https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91/",
"url": "https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91/",
"title": "Hexo + Theme.Shoka + algolia搜索踩坑",
"date_published": "2022-09-17T15:12:00.000Z",
"content_html": "<h1 id=\"hexo-themeshoka安装\"><a class=\"anchor\" href=\"#hexo-themeshoka安装\">#</a> Hexo + Theme.Shoka 安装</h1>\n<p><a href=\"https://blog.jingxiyuan.cn/2022/09/14/Hexo%E5%AE%89%E8%A3%85%E6%91%B8%E7%B4%A2/\">安装介绍</a></p>\n<h1 id=\"algolia注册\"><a class=\"anchor\" href=\"#algolia注册\">#</a> algolia 注册</h1>\n<ol>\n<li>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly93d3cuYWxnb2xpYS5jb20vdXNlcnMvc2lnbl9pbg==\">algolia</span> 不支持国内邮箱注册,而 google 和 github 由于国内被墙也没法使用。所以只能先注册<span class=\"exturl\" data-url=\"aHR0cHM6Ly9hcHAubmV0bGlmeS5jb20v\"> netlify</span> 然后通过 netlify 注册 algolia。</p>\n</li>\n<li>\n<p>登录 algolia 后创建一个 index名字随意记住既可。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-32-20.png\" alt=\"2022-09-17-23-32-20.png\" /></p>\n</li>\n<li>\n<p>点击右上角红点,弹出窗口点 settings 按钮。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-35-04.png\" alt=\"2022-09-17-23-35-04.png\" /></p>\n</li>\n<li>\n<p>点击 API KEYS获取 appId 和 adminApiKey 填入 hexo 的_config.yml 中 apiKey 暂时不填。</p>\n</li>\n</ol>\n<pre><code class=\"language-yml\">algolia:\n appId: #Your appId\n apiKey: #Your apiKey\n adminApiKey: #Your adminApiKey\n chunkSize: 5000\n indexName: blog #&quot;shoka&quot;\n fields:\n - title #必须配置\n - path #必须配置\n - categories #推荐配置\n - content:strip:truncate,0,2000\n - gallery\n - photos\n - tags\n</code></pre>\n<ol start=\"5\">\n<li>\n<p>点击 All Api Keys - New Api key 创建一个 api keyIndices 选先前让记住的 indexACL 选下面图片中的选项。</p>\n<p><img data-src=\"https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-47-50.png\" alt=\"2022-09-17-23-47-50.png\" /></p>\n</li>\n<li>\n<p>把第 5 步中新建的 api key 填入到第 4 步中的配置中,到此已经完成了百分之九十,只需要重新编译发布即可。不过编译步骤多了一步,在 hexo g 后需要再执行 hexo algolia至此搜索功能就大功告成了。</p>\n</li>\n</ol>\n",
"tags": [
"Linux",
"服务",
"经验分享",
"博客",
"Hexo",
"Shoka",
"algolia",
"踩坑",
"搜索"
]
}
]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

81
rss.xml
View File

@ -10,8 +10,8 @@
</author>
<description>hito的博客</description>
<language>zh-CN</language>
<pubDate>Mon, 31 Oct 2022 15:30:00 +0800</pubDate>
<lastBuildDate>Mon, 31 Oct 2022 15:30:00 +0800</lastBuildDate>
<pubDate>Tue, 01 Nov 2022 15:20:00 +0800</pubDate>
<lastBuildDate>Tue, 01 Nov 2022 15:20:00 +0800</lastBuildDate>
<category term="hito" />
<category term="無言" />
<category term="博客" />
@ -19,6 +19,24 @@
<category term="笔记" />
<category term="心得体会" />
<category term="踩坑" />
<item>
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/11/01/360%E7%8B%AC%E7%AB%8B%E7%89%88%E5%B0%8F%E5%B7%A5%E5%85%B7/</guid>
<title>360独立版小工具</title>
<link>https://blog.jingxiyuan.cn/2022/11/01/360%E7%8B%AC%E7%AB%8B%E7%89%88%E5%B0%8F%E5%B7%A5%E5%85%B7/</link>
<category term="Windows" scheme="https://blog.jingxiyuan.cn/categories/Windows/" />
<category term="工具" scheme="https://blog.jingxiyuan.cn/categories/Windows/%E5%B7%A5%E5%85%B7/" />
<category term="360小工具" scheme="https://blog.jingxiyuan.cn/tags/360%E5%B0%8F%E5%B7%A5%E5%85%B7/" />
<pubDate>Tue, 01 Nov 2022 15:20:00 +0800</pubDate>
<description><![CDATA[ &lt;h4 id=&#34;360独立版小工具&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#360独立版小工具&#34;&gt;#&lt;/a&gt; 360 独立版小工具&lt;/h4&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/newscreen623936500.jpg&#34; alt=&#34;&#34; /&gt;&lt;br /&gt;
360 全家桶众说纷纭但工具箱还是挺实用的,这波小工具可以单独下载使用,有需要的朋友赶紧下载吧!&lt;/p&gt;
&lt;p&gt;&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly9wYW4uamluZ3hpeXVhbi5jbi8lRTglQkQlQUYlRTQlQkIlQjYvJUU3JUIzJUJCJUU3JUJCJTlGLzM2MCVFNSVCMCU4RiVFNSVCNyVBNSVFNSU4NSVCNw==&#34;&gt;下载地址&lt;/span&gt;&lt;/p&gt;
&lt;h4 id=&#34;部分工具截图&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#部分工具截图&#34;&gt;#&lt;/a&gt; 部分工具截图&lt;/h4&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/1a2e50f738d4a8c1.png&#34; alt=&#34;&#34; /&gt;&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/21d1ee247aa7c69f.png&#34; alt=&#34;&#34; /&gt;&lt;br /&gt;
&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/11/01/newscreen624392843.jpg&#34; alt=&#34;&#34; /&gt;&lt;/p&gt;
]]></description>
</item>
<item>
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/10/31/%E4%B8%80%E9%94%AE%E5%85%B3%E9%97%ADWindows10-11%E7%B3%BB%E7%BB%9F%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0/</guid>
<title>一键关闭Windows10/11系统自动更新</title>
@ -1159,65 +1177,6 @@ server &amp;#123;
<pubDate>Wed, 21 Sep 2022 09:46:00 +0800</pubDate>
<description><![CDATA[ &lt;p&gt;&lt;em&gt;今天前端开发跟我反馈用 vue 的 socketio 连接不上后台服务,连接无反应无任何报错。所以不清楚是前端代码问题还是后台服务的问题。由于框架为另一同事搭建,我只负责处理后端业务逻辑部分,所以第一时间我也不清楚具体的原因。于是我找了个第三方的 socket 工具尝试连接,果然有问题。但是只是提示连接不上,无明显错误原因。到后台查看发现有提示 Unknown transport for request 错误,最后通过调试发现 netty-socketio 的库中 AuthorizeHandler 类有段处理 transport 的代码只能接受大写的 WEBSOCKET 或者 POLLING于是我在工具中按要求填上结果还是不行。然后我在网上搜索也未发现有相关问题只发现有网友提示需要用 socketio 的库,不要自己写 socket 连接。于是我找了 socket.io.js 来连接,结果还是一样。经过大量调试改代码,最后突发奇想,有没有可能跟 netty-socketio 的版本有关系,于是我把版本从 1.7.20 升级到 1.7.21,结果就奇迹般的好了。&lt;/em&gt;&lt;/p&gt;
&lt;h6 id=&#34;总结就好像大力出奇迹实在找不到原因的时候不妨升级一下版本说不定问题就解决了呢o_o&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#总结就好像大力出奇迹实在找不到原因的时候不妨升级一下版本说不定问题就解决了呢o_o&#34;&gt;#&lt;/a&gt; 总结就好像大力出奇迹实在找不到原因的时候不妨升级一下版本说不定问题就解决了呢O (∩_∩) O&lt;/h6&gt;
]]></description>
</item>
<item>
<guid isPermalink="true">https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91/</guid>
<title>Hexo + Theme.Shoka + algolia搜索踩坑</title>
<link>https://blog.jingxiyuan.cn/2022/09/17/Hexo-Theme-Shoka-algolia%E6%90%9C%E7%B4%A2%E8%B8%A9%E5%9D%91/</link>
<category term="Linux" scheme="https://blog.jingxiyuan.cn/categories/Linux/" />
<category term="服务" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/" />
<category term="经验分享" scheme="https://blog.jingxiyuan.cn/categories/Linux/%E6%9C%8D%E5%8A%A1/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/" />
<category term="博客" scheme="https://blog.jingxiyuan.cn/tags/%E5%8D%9A%E5%AE%A2/" />
<category term="Hexo" scheme="https://blog.jingxiyuan.cn/tags/Hexo/" />
<category term="Shoka" scheme="https://blog.jingxiyuan.cn/tags/Shoka/" />
<category term="algolia" scheme="https://blog.jingxiyuan.cn/tags/algolia/" />
<category term="踩坑" scheme="https://blog.jingxiyuan.cn/tags/%E8%B8%A9%E5%9D%91/" />
<category term="搜索" scheme="https://blog.jingxiyuan.cn/tags/%E6%90%9C%E7%B4%A2/" />
<pubDate>Sat, 17 Sep 2022 23:12:00 +0800</pubDate>
<description><![CDATA[ &lt;h1 id=&#34;hexo-themeshoka安装&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#hexo-themeshoka安装&#34;&gt;#&lt;/a&gt; Hexo + Theme.Shoka 安装&lt;/h1&gt;
&lt;p&gt;&lt;a href=&#34;https://blog.jingxiyuan.cn/2022/09/14/Hexo%E5%AE%89%E8%A3%85%E6%91%B8%E7%B4%A2/&#34;&gt;安装介绍&lt;/a&gt;&lt;/p&gt;
&lt;h1 id=&#34;algolia注册&#34;&gt;&lt;a class=&#34;anchor&#34; href=&#34;#algolia注册&#34;&gt;#&lt;/a&gt; algolia 注册&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly93d3cuYWxnb2xpYS5jb20vdXNlcnMvc2lnbl9pbg==&#34;&gt;algolia&lt;/span&gt; 不支持国内邮箱注册,而 google 和 github 由于国内被墙也没法使用。所以只能先注册&lt;span class=&#34;exturl&#34; data-url=&#34;aHR0cHM6Ly9hcHAubmV0bGlmeS5jb20v&#34;&gt; netlify&lt;/span&gt; 然后通过 netlify 注册 algolia。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;登录 algolia 后创建一个 index名字随意记住既可。&lt;/p&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-32-20.png&#34; alt=&#34;2022-09-17-23-32-20.png&#34; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;点击右上角红点,弹出窗口点 settings 按钮。&lt;/p&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-35-04.png&#34; alt=&#34;2022-09-17-23-35-04.png&#34; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;点击 API KEYS获取 appId 和 adminApiKey 填入 hexo 的_config.yml 中 apiKey 暂时不填。&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code class=&#34;language-yml&#34;&gt;algolia:
appId: #Your appId
apiKey: #Your apiKey
adminApiKey: #Your adminApiKey
chunkSize: 5000
indexName: blog #&amp;quot;shoka&amp;quot;
fields:
- title #必须配置
- path #必须配置
- categories #推荐配置
- content:strip:truncate,0,2000
- gallery
- photos
- tags
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;
&lt;p&gt;点击 All Api Keys - New Api key 创建一个 api keyIndices 选先前让记住的 indexACL 选下面图片中的选项。&lt;/p&gt;
&lt;p&gt;&lt;img data-src=&#34;https://file.jingxiyuan.cn/images/2022/09/17/2022-09-17-23-47-50.png&#34; alt=&#34;2022-09-17-23-47-50.png&#34; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;把第 5 步中新建的 api key 填入到第 4 步中的配置中,到此已经完成了百分之九十,只需要重新编译发布即可。不过编译步骤多了一步,在 hexo g 后需要再执行 hexo algolia至此搜索功能就大功告成了。&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></description>
</item>
</channel>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long