[wp-trac] Re: [WordPress Trac] #3914: Two feeds on Dashboard don't work with application/xhtml+xml

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 14 03:16:03 GMT 2007


#3914: Two feeds on Dashboard don't work with application/xhtml+xml
----------------------------+-----------------------------------------------
 Reporter:  JeremyVisser    |        Owner:  anonymous   
     Type:  defect          |       Status:  new         
 Priority:  normal          |    Milestone:  2.4 (future)
Component:  Administration  |      Version:  2.3         
 Severity:  minor           |   Resolution:              
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by JeremyVisser):

 The underlying problem in this is that the {{{innerHTML}}} property is not
 properly supported in {{{application/xhtml+xml}}}. XHTML served as XML
 requires a strict document tree, not tag soup.

 The only way I can see around this is by passing the feeds as perhaps
 JSON, and parsing and manually adding the XML nodes one-by-one in
 JavaScript. That'd be painful.

 Alternatively, we could have a filter or something that allows us to turn
 off the AJAX loading of the dashboard feeds and load them directly into
 the XHTML like we used to.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3914#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list