My name is Zhiqiang Li
- 👨💻 I’m a Microsoft MVP.
- 💕 Open source enthusiast.
- 👔 Software engineer.
- 🧚♂️ Anime lover.
- 🌱 Like to research technology
- ❤ My favorite language: C#、Go、Lua.
博客园文章快捷发布工具
License: MIT License
My name is Zhiqiang Li
如果图片路径后添加了图片注释,dotnet-cnblog 会将注释一同读入文件路径中导致文件打开错误
例如:
文件路径为 img/文件名.png "图片注释"
那么打开路径就为上面一串错误路径
所以需要将带有“” 的字符删除
作者:晓晨Master
问题反馈:https://github.com/stulzq/dotnet-cnblogs-tool/issues
提取图片成功,共 15 个。
上传失败,正在重试 1,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 2,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 3,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
并且是已经勾选了 允许MetaWeblog博客客户端访问的
不需要配置博客MetaWeblog API地址以及您的博客地址,就直接配置完成了???然后验证时就会报错Specify --help for a list of available options and commands.
请问Mac版本是如何配置的
/Users/wanjunbao/Downloads/dotnet-cnblogs.v1.4.2.osx-x64/dotnet-cnblog -upload "/Applications/Typora.app/Contents/Resources/TypeMark/assets/icon/icon_512x512.png" "/Applications/Typora.app/Contents/Resources/TypeMark/assets/icon/icon_256x256.png"
ubuntu 22.04
执行 ./dotnet-cnblog
报错:
No usable version of libssl was found
Aborted (core dumped)
我的尝试1:
$ sudo apt -y install libssl-dev
输出如下:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libssl-dev is already the newest version (3.0.2-0ubuntu1.6).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
我的尝试2:
$ sudo apt install -y aspnetcore-runtime-6.0
C:\Users\wickyan\Desktop\dotnet>dotnet-cnblog
__ __ _ __ __ _____ __ __ ______ __
___/ / ___ / /_ / |/ / ___ / /_ / ___/ ___ / / / / ___ ___ _ ___ /_ __/ ___ ___ / /
/ _ / / _ \/ __/ / / / -_)/ __/ / /__ / _ \ / _ \ / / / _ \ / _ `/ (_-< / / / _ \/ _ \ / /
\_,_/ \___/\__/ /_/|_/ \__/ \__/ \___/ /_//_//_.__//_/ \___/ \_, / /___/ /_/ \___/\___//_/
/___/
作者:晓晨Master
问题反馈:https://github.com/stulzq/dotnet-cnblogs-tool/issues
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Dotnetcnblog.Utils.TeaHelper.Decrypt(Byte[] data, Byte[] key)
at Dotnetcnblog.Program.Init()
at Dotnetcnblog.Program.Main(String[] args)
使用版本:https://github.com/stulzq/dotnet-cnblogs-tool/releases/tag/v1.4.1
系统版本:win10专业版20H2 & win10专业版1909
您好,这是我第一次使用dotnet-cnblog,报了一个这样的错误.
我想尝试更换版本,但不知道如何卸载原先的版本,亟待您的回复.谢谢
我的邮箱,[email protected]
提取图片成功,共 2 个。
上传失败,正在重试 1,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 2,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 3,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 1,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 2,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,正在重试 3,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
上传失败,异常:XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
最新版使用dotnet tool install安装的,将工具添加到右键菜单不能使用
但是使用命令的方式
dotnet-cnblog proc -f <markdown文件路径>
可以使用
以前的版本可以,昨天另一台电脑安装的最新版不行
如题,我博客园id密码应该没输错啊,博客园那里允许 MetaWeblog 博客客户端访问也设置了
设置用户名密码时,没有输入密码后异常
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array. at Dotnetcnblog.Utils.TeaHelper.Decrypt(Byte[] data, Byte[] key) at Dotnetcnblog.Program.Init() at Dotnetcnblog.Program.Main(String[] args)
调用任何命令都会如此!
请问配置文件存储在哪里?
为什么图片还是无法处理
运行 dotnet-cnblog proc -f test.md,报错如下
上传失败,正在重试 1,异常:Error while copying content to a stream.
上传失败,正在重试 2,异常:Error while copying content to a stream.
上传失败,正在重试 3,异常:Error while copying content to a stream.
上传失败,异常:Error while copying content to a stream.
Error while copying content to a stream.
我看到了判断文件编码的方式只是使用了带 BOM的方式,但是有很多时候都是不带 BOM 的,这时的判断是会出错的
刚好我写了博客,关于判断 UTF8 和 GBK 的
不知道能否使用我的方式
而且我也想添加 https://www.qiniu.com/ 的图片上传,因为我经常需要把博客发布在 csdn 和博客园
提示如下:
上传失败,正在重试 1,异常:'
', hexadecimal value 0x0B, is an invalid character.
上传失败,正在重试 2,异常:'
', hexadecimal value 0x0B, is an invalid character.
上传失败,正在重试 3,异常:'
', hexadecimal value 0x0B, is an invalid character.
上传失败,异常:'
', hexadecimal value 0x0B, is an invalid character.
已正确配置访问令牌。图片格式也都是png或者jpg。
你好,请问目前支持上传gif到博客园吗
你好,请问上传图片时报错XMLRPC FAULT [500]: "! Metaweblog not working for your blog"
怎么办?
博客园后台已设置【允许 MetaWeblog 博客客户端访问】
工具很好用,请问下是否支持批量转换md文件?
__ __ _ __ __ _____ __ __ ______ __
/ / ___ / / / |/ / ___ / / / / ___ / / / / ___ ___ _ ___ / __/ ___ ___ / /
/ _ / / _ / __/ / / / -)/ / / / / _ \ / _ \ / / / _ \ / _ `/ (-< / / / _ / _ \ / /
_,/ _/_/ //|/ _/ __/ _/ /////.__/// _/ _, / // // _/_///
/__/
作者:晓晨Master
问题反馈:https://github.com/stulzq/dotnet-cnblogs-tool/issues
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Dotnetcnblog.Utils.TeaHelper.Decrypt(Byte[] data, Byte[] key) in E:\OpenSource\dotnet-cnblogs-tool\src\dotnet-cnblogs\Utils\TeaHelper.cs:line 56
at Dotnetcnblog.Program.Init() in E:\OpenSource\dotnet-cnblogs-tool\src\dotnet-cnblogs\Program.cs:line 81
at Dotnetcnblog.Program.Main(String[] args) in E:\OpenSource\dotnet-cnblogs-tool\src\dotnet-cnblogs\Program.cs:line 26
提取图片成功,共 21 个。
上传失败,正在重试 1,异常:The SSL connection could not be established, see inner exception.
上传失败,正在重试 2,异常:The SSL connection could not be established, see inner exception.
上传失败,正在重试 3,异常:The SSL connection could not be established, see inner exception.
上传失败,异常:The SSL connection could not be established, see inner exception.
The SSL connection could not be established, see inner exception.
上传失败,正在重试 1,异常:The SSL connection could not be established, see inner exception.
上传失败,正在重试 2,异常:The SSL connection could not be established, see inner exception.
上传失败,正在重试 3,异常:The SSL connection could not be established, see inner exception.
上传失败,异常:The SSL connection could not be established, see inner exception.
The SSL connection could not be established, see inner exception.
上传失败,正在重试 1,异常:The SSL connection could not be established, see inner exception.
....
....
....
The SSL connection could not be established, see inner exception.
使用typora
<img src="D:\OneDrive\Java\流程图\多分支.png" alt="多分支" style="zoom:65%;" />
![类和对象内存分配机制](D:\OneDrive\Java\流程图\类和对象内存分配机制.svg)
以上两种会报错
上传失败,异常:XMLRPC FAULT [500]: "! only allow (.jpg|.gif|.png|.jpeg)$"
建议利用 Github Actions 直接发布 Released 版本,毕竟很多人的计算机环境都是没有 .NET 环境的
如果不支持,有没有其他类似工具推荐?谢谢
提取图片成功,共 1 个。
上传失败,正在重试 1,异常:The remote server returned an error: (400) Bad Request.
上传失败,正在重试 2,异常:The remote server returned an error: (400) Bad Request.
上传失败,正在重试 3,异常:The remote server returned an error: (400) Bad Request.
上传失败,异常:The remote server returned an error: (400) Bad Request.
The remote server returned an error: (400) Bad Request.
处理完成!文件保存在:123-cnblog.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.