https://github.com/garywill/bash-edit-cnblogs-metaweblog
博客园已发文章批量编辑更新 Bash script to use MetaWeblog API to edit (update) posts with local .md files
https://github.com/garywill/bash-edit-cnblogs-metaweblog
api bash cnblogs curl edit-post metaweblog script shell terminal xml-rpc
Last synced: about 2 months ago
JSON representation
博客园已发文章批量编辑更新 Bash script to use MetaWeblog API to edit (update) posts with local .md files
- Host: GitHub
- URL: https://github.com/garywill/bash-edit-cnblogs-metaweblog
- Owner: garywill
- Created: 2022-07-16T05:15:56.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-30T05:25:01.000Z (almost 4 years ago)
- Last Synced: 2025-03-22T01:43:51.485Z (about 1 year ago)
- Topics: api, bash, cnblogs, curl, edit-post, metaweblog, script, shell, terminal, xml-rpc
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 博客园已发文章批量编辑更新
This is a Bash script to use MetaWeblog API (sometimes called XML-RPC, a kind of old-school-designed API) to batch update a blog website's posts with local `.md` files.
Uses **`editPost`** method <<--- **Just this one**! No `newPost` or other features implimented.
我有一个水出来的IT博客,早已基本不发新文(我不是码农,年纪也大了),偶尔编辑一下旧文。这个bash脚本批量将 **博客园(cnblogs.com)** 内容与本地`.md`文件同步。
(请打开`.sh`文件自行编辑)
## Dependencies
A simple Unix-like enviroment (模拟出来的也可以)及里面有:
- bash
- curl