[wp-trac] [WordPress Trac] #3420: Posting via xmlrpc breaks microformat markup

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 1 17:09:16 GMT 2006


#3420: Posting via xmlrpc breaks microformat markup
---------------------+------------------------------------------------------
 Reporter:  conoro   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:           
Component:  XML-RPC  |     Version:  2.0.5    
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 I posted this on the "Requests and Feedback" forum but was told it might
 be more appropriate as a trac ticket. Apologies if it is not.

 There are two things currently breaking the posting of hreview (and
 possibly other microformats) via XMLRPC to
 wordpress.org/wordpress.com/wpmu blogs. I'll post them as separate
 tickets.

 The first is that kses.php is stripping harmless class attributes which
 are the core of microformat markup. To allow hreviews to be posted, the
 following trivial change is required in kses.php.

 In allowedposttags, abbr is currently listed as follows:


 'abbr' => array ('title' => array ())

 this just needs to change to:


 'abbr' => array ('title' => array (), 'class' => array ())

 Would you consider doing this fix to provide further support for
 microformats as you already do for XFN? I'll continue to test the other
 microformats like hcard, hcalendar etc to see if they run into any
 problems.  Thanks.

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


More information about the wp-trac mailing list