开发者

Input XML for WordPress' XMLRPC

Is there any example of the XML structure f开发者_运维知识库or WordPress' XMLRPC service? Specifically with the metaWeblog.newPost method inside.

Thanks a lot!


I think you'll find that the Atom Publishing Protocol ("AtomPub") is a much more well-defined, well-documented, easy to use API than Metaweblog's XMLRPC API. The format of AtomPub is that of the Atom Syndication Format which is very cleanly defined and has lots of implementations in many different languages.

AtomPub has been supported in WordPress since version 2.3, so unless you're on an older version than that, it should just be to POST your <entry> documents to your heart's desire.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜