Closed adamqqqplay closed 2 months ago
Thank you very much for your suggestion. Since Elog is a program implemented in node, it needs a set of Restful api to interact with typecho. But as I read the documentation of typecho and the plugin mechanism, it looks like it doesn't provide a direct api interface for md documents to be uploaded to the blog site, but rather a plugin mechanism for developers to expose the relevant Restful api interfaces outwardly.
But I can't find any plugin that exposes APIs for uploading documents/images etc. I found the following plugin that exposes part of typecho's APIs, but its readme doesn't seem to have any related post interfaces.
If you want to use Elog to synchronize documents to typecho blog, there are several prerequisites
If you find a typecho plugin that matches Elog's calls, I'll put adapting typecho on the agenda. Until then, Elog has no plans to adapt typecho.
Finally, thanks again for your use and suggestions!
非常感谢你的建议。因为 Elog 是用 node 实现的程序,它需要一套Restful api来和typecho进行交互。但我看了 typecho 的文档以及插件机制,它看起来并没有直接提供 api 接口让 md 文档上传到博客站点,而是提供了插件机制,让开发者向外暴露相关的 Restful api 接口。
但我暂时没找到相关的插件向外暴露上传文档/图片等 API,我找到以下插件暴露了typecho 的部分 API,但它的readme 文档貌似没有找到 相关的 post 接口
如果要实现 使用 Elog 同步文档到typecho 博客,有以下几个前提
如果你有找到符合 Elog 调用的 typecho 插件,我会把适配typecho提上日程。在这之前,Elog 并没有计划适配typecho。
最后,再次感谢你的使用和建议!
你当前使用的Elog版本
v0.13.3
描述一下此特性
Hello Elog developers, I am very happy to find such an excellent project that makes it easier for everyone to write blogs. However, I found that this project currently does not support publishing articles to typecho, a popular blogging platform.
Typecho is a lightweight blogging platform similar to wordpress. It has a complete documentation and plug-in mechanism and should be well connected with the elog project.
I hope to add new features in elog to output markdown documents to the typecho blog. Thanks in advance!
附加信息
No response