我怎样才能发布到一个字preSS博客评论? [英] How can I post a comment to a wordpress blog?
问题描述
我有一个是紧耦合的一个词preSS博客Django的网站。我想对Django的网站形式,职位注释(适量)字preSS博客。
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.
我一直看到引用评论API和xmlrpc的,所以我觉得这应该是可能的。
I keep seeing references to comment apis and xmlrpc, so I feel like this should be possible.
1)什么POST / GET我可以打电话,从蟒蛇,张贴到一个字preSS的博文评论?
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?
推荐答案
我看到的蟒蛇博主的项目有超过你正在寻找的字preSS的API友好的Python包装,有专门的错误报告和的补丁有你使用的字preSS 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.
这篇关于我怎样才能发布到一个字preSS博客评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!