[wp-trac] [WordPress Trac] #5558: RDF item IDs differ from Atom/RSS item IDs

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 1 01:04:21 GMT 2008


#5558: RDF item IDs differ from Atom/RSS item IDs
-----------------------+----------------------------------------------------
 Reporter:  kurtmckee  |       Owner:  anonymous
     Type:  defect     |      Status:  new      
 Priority:  normal     |   Milestone:  2.5      
Component:  General    |     Version:           
 Severity:  normal     |    Keywords:           
-----------------------+----------------------------------------------------
 After moving my Wordpress install to a new domain, I have discovered that
 RDF item IDs are generated using {{{the_permalink_rss()}}}, while Atom and
 RSS item IDs are generated using {{{the_guid()}}}. Thus, Atom and RSS
 items maintain their old IDs, while RDF items suddenly have brand new IDs,
 causing duplication in aggregators.

 It appears that this can be fixed by modifying two lines in feed-rdf.php.

 The original lines:[[BR]]
 {{{ <rdf:li rdf:resource="<?php the_permalink_rss() ?>"/> }}}[[BR]]
 {{{ <item rdf:about="<?php the_permalink_rss() ?>"> }}}

 The new lines:[[BR]]
 {{{ <rdf:li rdf:resource="<?php the_guid() ?>"/> }}}[[BR]]
 {{{ <item rdf:about="<?php the_guid() ?>"> }}}

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


More information about the wp-trac mailing list