Opened 17 years ago
Closed 17 years ago
#3761 closed (duplicate)
feeds.py should allow user set guid tag
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.syndication | Version: | dev |
Severity: | Keywords: | guid, | |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
/django/contrib/syndication/feeds.py specifies the RSS item guid property to be identical to link. guid, by RSS 2 specification must be a *UNIQUE* id for the rss item. However, it is quite possible that multiple items in the feed will have the same link. Leaving the default for guid to be the same as item is fine, but there should definitely be code to allow the developer to override using the same style as the other feed properties:
def item_guid(self, item):
Change History (2)
comment:1 Changed 17 years ago by
Triage Stage: | Unreviewed → Design decision needed |
---|---|
Version: | 0.95 → SVN |
comment:2 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Oops. Dupe of #3760 which has a patch