闲聊

不多逼逼了.上干货

如何写一篇文章同步到多个博客网站

最近通过hexo 建立了博客网站,发现流量少的可怜,那把文章发到各个博客网站呢,我又懒
那通过一番研究 终于搞定了
通过MetaWebLog API 同步到博客园,以及其他博客支持 MetaWebLog API 的网站,并封装好了插件 供大家直接使用

1.安装模块

hexo 根目录下安装模块

需要配合 metaweblog-api 使用 ,安装

npm i metaweblog-api

再下载我写好的模块

npm i hexo-sync-mp-blog

配置

_config.yml 的deploy: 追加

1
2
3
4
5
6
7
8
9
10
11

deploy:

- type: hexo-sync-mp-blog # 固定
blogtype: 博客园 # 博客网站标题
checkdays: 3 # 同步几天内的的 文章的时间 即MD的date属性
username: 你的用户名
password: 你的密码
apiurl: https://rpc.cnblogs.com/metaweblog/cymx #网站提供的MetaWebLog url
wait: 30 #等待时间 毫秒

发布

hexo d

目前支持的网站

博客园

通过 https://i.cnblogs.com/settings 博客后台设置,其他设置中设置允许 MetaWeblog 博客客户端访问

最新文章

  1. 基础学习day09--内部类
  2. 【wikioi】1281 Xn数列(矩阵乘法)
  3. nodeJs入门篇之认识nodejs
  4. 【转】匹配dll(exe)和pdb方法
  5. NET Core全新的配置管理
  6. java获取指定地址图片高度宽度简单代码
  7. 小程序实现非swiper组件的自定义伪3D轮播图
  8. uni-app调用原生的文件系统管理器(可选取附件上传)
  9. tomcat多实例
  10. 传参导出Excel表乱码问题解决方法
  11. C#中Request.ServerVariables详细说明及代理
  12. NTT学习笔记
  13. Git学习笔记05-撤销修改
  14. AssetBundle Manager and Example Scenes
  15. Hello,Power BI
  16. C# Byte[]、Image、Bitmap 之间的相互转换
  17. C# 后缀名
  18. B3
  19. 用MapReduce读HBase写MongoDB样例
  20. CentOS 7.2 安装 MySQL 5.6.24

热门文章

  1. thinkphp5.1中适配百度富文本编辑器ueditor
  2. 【疑难杂症】关于用pydotplus生成iris.pdf报错问题
  3. Beats: Filebeat和pipleline processors
  4. Node.js躬行记(23)——Worker threads
  5. 引擎之旅 Chapter.4 日志系统
  6. Linux命令系列之top——里面藏着很多鲜为人知的宝藏知识
  7. 220702 T1 玩具 (图的同构,全排列判定)
  8. 2021 CCPC 威海站 VP记录(题解)
  9. 成功解决:Can‘t find Python executable “python“, you can set the PYTHON env variable.
  10. Unexpected token u in JSON at position 0