#5558 closed defect (bug) (invalid)
RDF item IDs differ from Atom/RSS item IDs
Reported by: | kurtmckee | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | Feeds | Keywords: | has-patch needs-testing close |
Focuses: | Cc: |
Description
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:
<rdf:li rdf:resource="<?php the_permalink_rss() ?>"/>
<item rdf:about="<?php the_permalink_rss() ?>">
The new lines:
<rdf:li rdf:resource="<?php the_guid() ?>"/>
<item rdf:about="<?php the_guid() ?>">
Attachments (3)
Change History (13)
#2
@
17 years ago
- Keywords has-patch needs-testing added
- Milestone changed from 2.6 to 2.5
- Version set to 2.5
#4
@
15 years ago
- Component changed from General to Feeds
- Owner anonymous deleted
itching to close as wontfix from lack of traction.
#6
@
15 years ago
let's close this, and those who want to reopen should at least test the patch then.
#8
@
15 years ago
- Cc kurtmckee added
- Resolution wontfix deleted
- Status changed from closed to reopened
I apologize for not responding back; I had no idea this didn't get accepted, and didn't notice until I ran into the bug again this week. The file I just attached will fix the problem, and it applies to trunk, revision 13579 (odd ascending numbers...nice).
I don't think that 5558.diff solves the problem completely; it leaves the second line I noted unchanged. I think that RDF's format requires that both lines be changed?