Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

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

This includes the permalink information.

See here:

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

share|improve this answer
    
Damn. I missed that one. Thanks. –  nevvermind Nov 29 '11 at 10:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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