Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#7744 closed defect (bug) (fixed)

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

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

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 18 years ago.
wp-includes--wlwmanifest.xml.diff​ (381 bytes ) - added by josephscott 18 years ago.

Download all attachments as: .zip

Change History (6)

#1 @josephscott
18 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
18 years ago

  • Resolution → fixed
  • Status new → closed

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

#3 @josephscott
18 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
18 years ago

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

Note: See TracTickets for help on using tickets.