简体   繁体   English

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

[英]How can I post a comment to a wordpress blog?

I have a django site that's tightly coupled with a wordpress blog. 我有一个与wordpress博客紧密结合的django网站。 I want to have a form on the django site that posts comments (for moderation) to the wordpress blog. 我希望在django网站上有一个表单,可以将评论(适度)发布到wordpress博客。

I keep seeing references to comment apis and xmlrpc, so I feel like this should be possible. 我一直看到评论apis和xmlrpc的引用,所以我觉得这应该是可能的。

1) what POST / GET can I call, from python, to post a comment to a wordpress blogpost? 1)我可以从python调用什么POST / GET,将评论发布到wordpress博客帖子?

2) for extra points, do you know a python library that manages this? 2)对于额外的积分,你知道一个管理这个的python库吗?

我看到python-blogger项目对你正在寻找的wordpress apis有友好的python包装,特别是bug报告和一个补丁 ,你可以使用wordpress XMLRPC调用在wordpress网站上发表评论。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM