• Stars
    star
    133
  • Rank 271,327 (Top 6 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

hexo-submit-urls-to-search-engine

峡州仙士

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

QQ Group:1079685183 点击直接调用 QQ 添加(凑人数)

Telegram group: https://t.me/hexoseo

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

中文使用文档 中国内地用户务必阅读!

English docs

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 English docs or 中文详细文档 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 English docs or 中文详细文档 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_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' } } }

More Repositories

1

tencent-sensitive-words

腾讯的离线敏感词库
500
star
2

strict-sensitive-word

轻量超严格敏感词库
57
star
3

anti-selfish-browser

Boycott IE and other selfish browsers, supports 105 languages.当IE访问网站的时候将自动跳转到升级提示页面。 检测到其他中国内地流氓浏览器访问,弹框提示更换。
HTML
46
star
4

python-pub

python获取所有qq好友、全部群所有成员部分信息,并保存列表至电子表格
Python
16
star
5

python-travis-pyinstaller

利用Travis CI、Github构建Python在线编译打包环境,自动生成windowsEXE二进制文件
Python
8
star
6

awesome-tunhuo

非常时期囤货手册
6
star
7

IOTQQ

Shell
4
star
8

Mirror

代理网站一键部署。实测支持访问google系列(包括youtube)、维基百科等, 它是直接使用 now.sh 提供的服务,通过脚本批量代理可以代理很多子域名
JavaScript
4
star
9

info-hub

信息收集:资产收集、邮箱收集
Python
3
star
10

awesome-mastodon-cn

中文长毛象精选清单
3
star
11

tianruoocr_last

C#
2
star
12

redirect

本项目提供在中国大陆引用维基百科Wikipedia以便墙内访问者浏览的快捷方法
HTML
2
star
13

ContractTemplate

800实用合同模版,下载链接https://cjh0613.github.io/ContractTemplate
HTML
2
star
14

pandownload-fake-server

1
star
15

font

收藏的字体,可通过 https://cjh0613.gitee.io/font 或者 https://cjh0613.github.io/font 访问
HTML
1
star
16

Boycott-IE

When the IE browser (including the browser using the IE kernel) accesses the website, it will automatically jump to the browser upgrade page. 当IE浏览器(包括使用IE内核的浏览器)访问网站的时候将自动跳转到浏览器升级提示页面
HTML
1
star
17

XuetangX-GetAnswer

获取学堂在线的练习答案
Python
1
star
18

huorong-rules

1
star