hello-efficiency-inc / raven-reader

📖 All your articles in one place. Beautiful.
https://ravenreader.app
MIT License
2.76k stars 218 forks source link

Can't subscribe to feed if XML lacks `title` tag #733

Open m4theushw opened 1 year ago

m4theushw commented 1 year ago

Describe the bug I'm trying to subscribe to a feed but upon clicking on Subscribe the dialog closes and the feed is not added to the list of subscriptions.

To Reproduce Steps to reproduce the behavior:

  1. Click on Add
  2. Enter https://every.to/napkin-math/feed.xml into the feed url
  3. Press Enter
  4. Click on Subscribe

Expected behavior I should be able to subscribe to the feed above.

Additional context I cloned the repo and found that it's crashing when trying to insert the feed into the DB. Looking closely to the feed's XML I noticed that it lacks the title tag. Could we fallback to description or at least show an error?

image