[wp-xmlrpc] XMLRPC link management into core

Joseph Scott joseph at randomnetworks.com
Wed Aug 29 16:02:28 GMT 2007


On Aug 29, 2007, at 1:01 AM, Stefan Holmberg wrote:

> Hi fellows, I'm new here, Stefan Holmberg - from Sweden.
>
> Just got into WP and must say I'm so impressed I have more or less  
> given up on my selfcoded commercial CMS script (written in asp.net,  
> I am from the MS side of the world...). While the WP admin gui is  
> sometimes not too intuitive the frontend and programmability (is  
> there such a word in english...) features are amazing.
>
> I have just published my very first plugin wpLinkMentor http:// 
> php.aspcode.net/category/wplinkmentor/ - which extends the XML-RPC  
> interface with some link(blogroll) management functions. I created  
> it simply because I needed it - and published it in the spirit of  
> free code. Maybe someone has a use of it.
>
> Just got an email from Joseph where he/you say
> "We'd like to get wpLinkMentor into the core of WordPress.  I've
> glanced over the code and looks pretty straight forward, although I'd
> like to refine the API some."
>
> That email makes me
> a) happy and kind of flatterned :)
> b) nervous

Matt asked me to get this into core WordPress, so in it goes :-)

I want to go ahead an jump into a specific API for core.  For our  
other wp.* methods we've followed the metaWeblog.* format for method  
arguments, so I'd suggest the following methods/arguments:

wp.getLinkCategories
	blog_id (int) required
	username (string) required
	password (string) required
	
wp.getLinks
	blog_id (int) required
	username (string) required
	password (string) required
	category_id (int) required
	limit (int) optional

wp.newLink
	blog_id (int) required
	username (string) required
	password (string) required
	link (struct) required
		name (string) required
		url (string) required
		description (string) required, empty
		visible (int) required
		rel (string) required, empty
		rss (string) required, empty
		notes (string) required, empty
		image (string) required, empty
		categories (array) required
			(int)
			
wp.editLink
	blog_id (int) required
	username (string) required
	password (string) required
	link (struct) required
		id (int) required
		name (string) required
		url (string) required
		description (string) required, empty
		visible (int) required
		rel (string) required, empty
		rss (string) required, empty
		notes (string) required, empty
		image (string) required, empty
		categories (array) required
			(int)
	
wp.deleteLink
	blog_id (int) required
	username (string) required
	password (string) required
	link_id (int) required


--
Joseph Scott
http://joseph.randomnetworks.com/




More information about the wp-xmlrpc mailing list