是否有可能使用Word preSS API,使在字press.com帖子? [英] Is it possible to use Wordpress API to make posts on wordpress.com?

查看:151
本文介绍了是否有可能使用Word preSS API,使在字press.com帖子?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个词preSS API可用于制造岗位托管在自己的服务器/网站字preSS博客。但是,是有可能也使岗位托管在使用API​​字press.com博客?如果是这样,我在哪里可以找到详细信息,如到的网址,使API请求,等等?

I'm aware that the wordpress API can be used to make posts to wordpress blogs hosted on your own server/website. However, is it possible to also make posts to blogs hosted on wordpress.com using the api? If so, where can I find the details such as the URLs to which to make the api requests, etc?

目前我只是在增加新的职位,以托管字press.com博客和验证登录信息(这样的功能,这将验证登录信息不做改变,例如,一个方法,该方法返回数字感兴趣在博客文章中,就可以了)。

Currently I'm only interested in adding new posts to blogs hosted on wordpress.com and verifying the login info (so any function which will verify the login info without changing anything, e.g a method which returns the number of posts in the blog, would be fine).

我将使用PHP和preferably使用XML-RPC,使API请求。

I will be using PHP and preferably use XML-RPC to make the API requests.

推荐答案

是的,你可以使用API​​。你需要的URL是的http://<&BLOGNAME GT; .word press.com / xmlrpc.php

Yes, you can use the API. The url you'll need is http://<blogname>.wordpress.com/xmlrpc.php

我已经使用Windows Live作家的应用发布到自己的文字press.com的博客,并在建立阶段,这是它要求我提供的数据。

I have made use of the Windows Live Writer application to post to my own wordpress.com blog, and in the setup phase, this is the data it asked me to provide.

至于建议只读打电话来测试登录,我怕我的API知识的非常的生疏,所以我只能建议您查看API文档。

As for suggesting a read-only call to test login, I'm afraid my knowledge of the API is very rusty, so I can only suggest looking at the API docs.

心连心

这篇关于是否有可能使用Word preSS API,使在字press.com帖子?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆