Closed hoyii closed 13 hours ago
@hoyii thanks for reporting. That's a bug. Both GUID and URL are stated as optional in the spec.
I think the best approach would be to fallback to a hash of combination of other uniquely identifiable elements (title, date and maybe content).
Reproduction
Click the "New Feed" button, enter the RSS subscription: https://v2ex-create.nexmm.com/rss.xml, and click the Confirm button. Once added successfully, only the first article will be displayed:
Possible Causes
I reviewed the source code, and the FeedID and GUID of this RSS subscription are both empty.So, an ID conflict occurred, which resulted in the inability to write article information into the database:
I suspect there is an issue with the judgment here, because this XML file does not have a URL as its GUID
Or is it a problem with the format of RSS subscriptions themselves? I'm not sure about this.
If possible, I hope you can provide some ideas for me to modify the code. Thank you!