[wp-xmlrpc] XML-RPC method for searching WP blog posts?

Marko Heijnen mailing at markoheijnen.nl
Fri Aug 17 22:14:04 UTC 2012


Hey Robert,

There isn't a method for searching. There is btw a wp.getPosts for getting blog posts but it doesn't have a search parameter.
I created a ticket for it: http://core.trac.wordpress.org/ticket/21623 but to get into WordPress it will take at least till the end of this year when 3.5 will be released.

Only thing you can do now is create your own method.

Marko

On Aug 17, 2012, at 9:16 PM, Robert Baldock <rbaldock at tiscali.co.uk> wrote:

> This is my first post to the wp-xmlrpc mailing list.
> 
> I have a pretty simple question: is there an XML-RPC method supported by WordPress which allows you to search for blog posts?
> 
> All of the APIs listed in the WordPress Codex only seem to have a "getPost" method which requires you to know the ID of the post.
> 
> I'd prefer to search for posts by text in the title or content.
> 
> Any input would be much appreciated.
> 
> 
> Robert
> 
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-xmlrpc/attachments/20120818/f272931c/attachment.htm>


More information about the wp-xmlrpc mailing list