xml rpc - Wordpress XML RPC - Latest posts within Category -


I am using the Jobbes nat wordpress wrapper by Alex James Brown. This essentially makes all XML RPC calls available on the net.

I am using GetRecentPosts (5) calls, e.g. "Hold the 5 most recent posts", but it gives everything from the whole blog.

Do I just want to get the latest posts within class X?

I need Gaterent Posts ("My Category", 5);

Is it possible with the existing XML RPC API?

I do not really want to resort to pulling down 20 allRecentPosts and then sub-filtering by category, because it will be so disabled, because I will be a site on the blog site to bring this site.

Many thanks.

I do not think this is a default XML-RPC method that does this though, Hook in the xmlrpc_methods filter (see below), you can add new methods, though this probably means that you have to add some code to your .Net cover.

add_filter ('xmlrpc_methods', 'add_xmlrpc_method'); Function add_xmlrpc_method ($ methods) {$ methods ['foo'] = 'bar'; Return methods; } Function Bar ($ AGR) {...}

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -