[wp-trac] [WordPress Trac] #2864: Magpie falling behind feed developments

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 26 23:27:38 GMT 2006


#2864: Magpie falling behind feed developments
--------------------------+-------------------------------------------------
 Reporter:  skeltoac      |       Owner:  skeltoac               
     Type:  enhancement   |      Status:  new                    
 Priority:  normal        |   Milestone:  2.1                    
Component:  Optimization  |     Version:  2.0.3                  
 Severity:  normal        |    Keywords:  magpie rss atom rdf xml
--------------------------+-------------------------------------------------
 MagpieRSS doesn't know how to handle new elements in XML. It doesn't
 understand Atom 1.0 or RSS 2.0 very well. It is lossy. It doesn't use
 wp_object_cache. It needs an update.

 Rather than tweak Magpie to handle each new thing that comes along, I've
 put together an XML parser that handles Atom, RSS and RDF feeds and
 provides an way to add support for new kinds of XML elements. It has
 default logic to handle any XML data in a feed and can be extended via
 plugins to add logic for handling special elements. It uses
 wp_object_cache whenever possible; otherwise it falls back on the
 database.

 fetch_rss is emulated very well and much extra data is available in the
 array returned but some elements, such as Atom elements with both
 attributes and inner text, may lose some of their meaning. It may be best
 to start using a lossless format or tweak the array so that attributes are
 always preserved.

 This code is in use on wordpress.com right now. It needs scrutiny and
 testing on other platforms as well.

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


More information about the wp-trac mailing list