Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7744 closed defect (bug) (fixed)

XML-RPC needs a method to expose a list of all the post tags

Reported by: josephscott's profile josephscott Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords: tags, xmlrpc
Focuses: Cc:

Description

We have means for exposing post categories, but no way for exposing all of the post tags. Perhaps a wp.getTags that would be similar to metaWeblog.getCategories?

Attachments (2)

xmlrpc.php.diff (1.7 KB) - added by josephscott 16 years ago.
wp-includes--wlwmanifest.xml.diff (381 bytes) - added by josephscott 16 years ago.

Download all attachments as: .zip

Change History (6)

#1 @josephscott
16 years ago

Patch to add wp.getTags method to XML-RPC. Returns an array of structs, each struct looks like:

{
  "count"     = 1;
  "html_url"  = "http://localhost/~joseph/wp/trunk/?tag=blue";
  "name"      = "blue";
  "rss_url"   = "http://localhost/~joseph/wp/trunk?feed=rss2&tag=blue";
  "slug"      = "blue";
  "tag_id"    = 13;
}

#2 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9143]) List post tags via XMLRPC. Props josephscott. fixes #7744

#3 @josephscott
16 years ago

Added one line update to wlwmanifest.xml file so that Windows Live Writer will know that it can use wp.getTags.

#4 @ryan
16 years ago

(In [9218]) Update wlw manifest for get tags support. Props josephscott. fixes #7744

Note: See TracTickets for help on using tickets.