[wp-xmlrpc] XML-RPC method for searching WP blog posts?
Robert Baldock
rbaldock at tiscali.co.uk
Sat Aug 18 08:47:25 UTC 2012
Marko -
Thanks for that.
I decided to take another approach in the end which was to install the
JSON API plugin and then run searches via regular GET requests to WordPress.
Robert
On 17/08/2012 23:14, Marko Heijnen wrote:
> 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
> <mailto: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 <mailto:wp-xmlrpc at lists.automattic.com>
>> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
>
>
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
More information about the wp-xmlrpc
mailing list