[wp-trac] [WordPress Trac] #7772: XMLRPC interface doesn't reflect enclosures back as <enclosure> attributes

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 21 04:21:12 GMT 2008


#7772: XMLRPC interface doesn't reflect enclosures back as <enclosure> attributes
------------------------+---------------------------------------------------
 Reporter:  redsweater  |       Owner:  josephscott
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  2.8        
Component:  XML-RPC     |     Version:             
 Severity:  normal      |    Keywords:             
------------------------+---------------------------------------------------
 The new enclosure support in WP 2.6 accepts an enclosure specified as an
 <enclosure> element on a submitted post, but doesn't  advertise the
 presence of that enclosure as an <enclosure> element on get requests.

 Instead, the enclosures are represented as custom field attributes, which
 is probably fine, but which doesn't provide a valid way for a basic XMLRPC
 MetaWeblog client to get at the existing enclosure value on a given post.

 I am not sure whether only the first enclosure should be exhibited as an
 <enclosure> element, or whether all of them should be. But the <enclosure>
 element should be used to convey an existing enclosure item to XMLRPC
 MetaWeblog clients.

 Daniel

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7772>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list