如何在 wordpress 博客上发表评论?

编程入门 行业动态 更新时间:2024-10-27 10:30:09
本文介绍了如何在 wordpress 博客上发表评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我有一个与 wordpress 博客紧密结合的 django 站点.我想在 django 站点上有一个表单,用于向 wordpress 博客发布评论(用于审核).

I have a django site that's tightly coupled with a wordpress blog. I want to have a form on the django site that posts comments (for moderation) to the wordpress blog.

我一直看到对评论 apis 和 xmlrpc 的引用,所以我觉得这应该是可能的.

I keep seeing references to comment apis and xmlrpc, so I feel like this should be possible.

1) 我可以从 python 调用什么 POST/GET 来发表评论到 wordpress 博客文章?

1) what POST / GET can I call, from python, to post a comment to a wordpress blogpost?

2) 为了加分,你知道管理这个的 python 库吗?

2) for extra points, do you know a python library that manages this?

推荐答案

我看到 python-博客 项目在您正在寻找的 wordpress apis 上有友好的 python 包装器,特别是错误报告和 补丁 让您使用 wordpress XMLRPC 调用.

I see that python-blogger project has friendly python wrapper over wordpress apis that you are looking for, there specifically is bug-report and a patch to have you post comment on the wordpress site using the wordpress XMLRPC call.

这篇关于如何在 wordpress 博客上发表评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-18 09:34:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/935664.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何在   博客   wordpress

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!