Skip to content

上传markdown文件到wordpress。(建议先测试单个文件)原理:markdown转html,然后通过python-wordpress-xmlrpc进行上传。

Notifications You must be signed in to change notification settings

ZY945/wordpress-python-battch-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

参考项目

https://github.com/nefu-ljw/python-markdown-to-wordpress

使用方法

# 1.创建虚拟环境
python -m venv test-env
# 2.进入虚拟环境
.\test-env\Scripts\activate
# 3.更新pip
python.exe -m pip install --upgrade pip
# 4.下载所需模块
pip install -r requirements.txt
# 5.启动脚本(可以现根据所需进行修改)
py.exe .\app.py

目前进度

1.未测试本地图片上传逻辑 2.部分文章存在,显示```为“`

About

上传markdown文件到wordpress。(建议先测试单个文件)原理:markdown转html,然后通过python-wordpress-xmlrpc进行上传。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages