GNU General Public License v3.0

项目介绍

cjh0613/hexo-submit-urls-to-search-engine 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 GNU General Public License v3.0 许可证,目前获得 185 个 Star、22 次 Fork。

仓库全名
cjh0613/hexo-submit-urls-to-search-engine
开源许可证
GNU General Public License v3.0
Star 数
185
Fork 数
22
未关闭 Issue
4

README 摘要

hexo-submit-urls-to-search-engine The project is being tested publicly, welcome to use and submit feedback! If you don't want to be disturbed by excessive group messages, you can join and set it to mute, and then open the communication when you need it. Roadmap Roadmap, 开发计划、路线图 Documentation 中文使用文档 hexo-submit-urls-to-search-engine 中国内地用户务必阅读! English docs hexo-submit-urls-to-search-engine Documentation English…

完整内容见 GitHub 原始 README 或本页 。

常见问题

hexo-submit-urls-to-search-engine 用什么语言开发?

主要使用 JavaScript 编写,采用 GNU General Public License v3.0 许可证,目前有 185 个 Star。

hexo-submit-urls-to-search-engine 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 hexo-submit-urls-to-search-engine 的源码?

可以直接克隆仓库:git clone https://github.com/cjh0613/hexo-submit-urls-to-search-engine.git,默认分支为 master;安装与运行步骤见仓库 README。

hexo-submit-urls-to-search-engine 最近还在维护吗?

仓库最近一次更新为 2月22日,当前有 4 个未关闭 Issue;Star 数为 185,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Hexo plugin to submit URLs of new posts to Google, Bing, Baidu search engine , that make search engines index your pages earlier. Hexo插件:主动推送Hexo博客新链接至谷歌必应百度搜索引擎,提升网站收录质量和速度。

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

JavaScript

Release

README

hexo-submit-urls-to-search-engine

峡州仙士

The project is being tested publicly, welcome to use and submit feedback!

If you don’t want to be disturbed by excessive group messages, you can join and set it to mute, and then open the communication when you need it.

Roadmap

Roadmap, 开发计划、路线图

Documentation

中文使用文档 hexo-submit-urls-to-search-engine 中国内地用户务必阅读!

English docs hexo-submit-urls-to-search-engine Documentation

English 中文繁體 日本語 العربية Español Português Français Deutsch Türkçe Italiano Русский 한국어 Čeština Nederlands Svenska Dansk Suomi Polski Українська עברית Română Magyar Ελληνικά Hrvatski ไทย हिंदी বাংলা Bahasa Indonesia Kiswahili Tiếng Việt norsk

Donate

Hexo plugin to submit URLs of new posts to Google, Bing, Baidu search engine to improve the quality and speed of website collection.

These three major search engines have occupied 97% of the global search engine market share (including Yahoo, ecosia, etc. using bing index). Later, I may add the function of submitting links to Yandex.

GitHub stars GitHub forks Please click on the top right of the page star and fork【请点击页面顶部靠右star与fork】

GitHub release GitHub top language GitHub code size in bytes GitHub repo size GitHub platforms GitHub issues GitHub closed issues Libraries.io dependency status for GitHub repo GitHub commit activity GitHub contributors

Quick start

Just “Quick start”, visit hexo-submit-urls-to-search-engine Documentation for more.

1.install

npm install --save hexo-submit-urls-to-search-engine

or

yarn add hexo-submit-urls-to-search-engine

2.Edit hexo _config.yml

(1)hexo_submit_urls_to_search_engine

Of course, you can use environment variables to record the key, visit document for more.

hexo_submit_urls_to_search_engine:
  submit_condition: count # Submitted condition, optional value: count | period, Now only supports count
  count: 10 # Submit the latest 10 links
  period: 900 # Submit a link with a modification time of 900 seconds
  google: 0 #  Whether to submit to Google, optional values: 1 | 0 (0: No; 1: Yes)
  bing: 1 #  Whether to submit to bing, optional value: 1 | 0 (0: no; 1: yes)
  baidu: 1 # Whether to submit to baidu, optional value: 1 | 0 (0: no; 1: yes)
  txt_path: submit_urls.txt ## The address of the text document, the link to be pushed will be saved in this text document
  baidu_host: https://cjh0613.github.io ## Domain name registered in Baidu webmaster platform
  baidu_token: xxxxx ## Please note that this is your secret key, so do not publish the website source code in the public repository!
  bing_host: https://cjh0613.github.io ## Domain name registered in Bing webmaster platform
  bing_enable_indexnow: false # Is the Bing IndexNow feature enabled? The optional values are: true (Yes) | false (No). Only v2.1.1 and above can enable this feature.
  bing_token: xxxxx ## Please note that this is your secret key, so do not publish the website source code in the public repository!
  google_host: https://cjh0613.github.io ## Domain name registered in Google webmaster platform
  google_key_file: Project.json # Store the json file of the google key in the root directory of the website (same location as the hexo _config.yml file), please do not publish the source code of the website in the public warehouse!
  google_proxy: 0 # Set the proxy used to submit urls to Google
  replace: 0  # Whether to replace some substrings in links, optional value: 1 | 0 (0: no; 1: yes)
  find_what: http://cjh0613.github.io/blog
  replace_with: https://cjh0613.com
(2)deploy
deploy:
- type: cjh_google_url_submitter
- type: cjh_bing_url_submitter
- type: cjh_baidu_url_submitter

If you can push successfully, please click “Star” as support, thank you!

3.finish

Run:

hexo clean && hexo generate && hexo deploy

And enjoy!

success response:

Bing response:  { d: null }

Baidu response:  {"remain":2999,"success":1}

Google response:  { urlNotificationMetadata:
   { url:
      'https://cjh0613.github.io',
     latestUpdate:
      { url:
         'https://cjh0613.github.io',
        type: 'URL_UPDATED',
        notifyTime: '2020-06-12T05:37:25.701779228Z' } } }

评论

暂无评论