0

I'm new to WP and I must fetch pages/posts from a blog in another subdomain. I'm using ZF to do this. I've recently found out the getPages doesn't get me what I want (posts; duh!). I didn't see any "getPosts" rpc methods for WP, so I've tried blogger.getRecentPosts. That's better, but now I don't have the permalinks. It would've been nice for it to return the same values as getPages does (title, permalink etc.).

I'm considering modifying (through filters, ofc) the WP's RPC server to return pages and all the relevant information, but, for now..
Is there a RPC method for WP to get Posts and their permalinks?

1 Answer 1

0

Use the metaWeblog api instead: "metaWeblog.getRecentPosts".

This includes the permalink information.

See here:

http://mindsharestrategy.com/2010/wp-xmlrpc-metaweblog/

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.