Make Your Hexo Blog Support Baidu Xiongzhang URL Auto-Push, 24-Hour Baidu Indexing
Baidu launched Xiongzhanghao (Bear’s Paw). To make hexo support Xiongzhang push, I added the Xiongzhang push feature on top of the hexo-baidu-url-submit plugin.
Articles pushed on the same day will be indexed within 24 hours. With this, Baidu indexing speed is very fast.
No more waiting forever for Baidu to index your content.
Xiongzhang Support
Change the content in package.json to:
"hexo-baidu-url-submit": "https://github.com/Num142857/hexo-baidu-url-submit",
baidu_url_submit Configuration
baidu_url_submit:
count: 1000 ## Submit the latest link
host: time-friend.com ## Domain registered on Baidu Webmaster Platform
token: xxxxx ## Note: this is your secret key, so please don't publish blog source code in public repositories!
path: baidu_urls.txt ## Text file address, new links will be saved in this text file
xz_appid: 'xxxxxx' ## Your Xiongzhang appid
xz_token: 'xxxxxx' ## Your Xiongzhang token
xz_count: 10 ## Select the latest 10 items from all submitted data, this number depends on your Xiongzhang account
Deploy Configuration
deploy:
- type: baidu_url_submitter # Baidu
- type: baidu_xz_url_submitter # Baidu Xiongzhang