Feed class reference contains false info
|Reported by:||minder||Owned by:||Jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I noticed this when I tried to make feed from objects that do not have get_absolute_url method (short messages for frontpage that don't need to have their own pages). I wrote item_link so that it points to the page that displayed recent messages but it turned out, that the feed readers were displaying only the last message - both rss and atom. It turned out this was caused by the lack of unique id for each item in the feed.
The only way to make unique ids I could find in the docs was item_guid method (it returns obj.id in my case) but the docs clearly state that this method is only used in atom feeds. It is not. I tried it with RSS feed and it worked.
Change History (7)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|