[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 02:44:54 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 DD32):

 Been brought up again, this time in #4746

 After looking at the source code, theres only really 2 options:

 1. serve the "ajax" data as text/html regardless of the
 get_option('html_type') setting
 2. Modify the way the news is loaded, so that instead of HTML it returns a
 XML document or something.

 The reason it only happens with one of the feeds is simply a fluke,
 They're all invalid documents being served as "application/xhtml+xml", Its
 just that 2 of the feeds manage to be parsed due to their simple nature,
 the planetnews feed result however includes <ul> which the XML parser
 gives up on.

 Theres a XML Validator here: http://www.validome.org/xml/validate/ which
 will give the error messages of the feeds.

 (NOTE: When i've refered to 'feed' in this message i've meant the ouput of
 index-extra.php, not the actual RSS feed that thats reading)

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

More information about the wp-trac mailing list