Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I don't know Go's flavor of regex but is this correct parsing code: https://github.com/outcoldman/hackernews-personal-blogs/blob...
Are you taking care that if the tag spans over multiple lines (linebreaks in between), you're still parsing it right?
You do seem to be resolving relative paths with:
feedUrl := matches[1]
I've been playing around with Node-RED[1] for a while and thought I would recreate this using Node-RED (also being a big fan of Node-RED). The flow[2], i.e. code, is online to have a look at (editable but not deployable) and the feed[3] is cached and updated every hour or so.
It's only a small Heroku server so it might well be down or about to crash, I make no promises!
Thanks to the OP for the inspiration, I did take a lot of ideas from the original codebase :)
[1]=https://nodered.org
Recommend checking out https://github.com/miniflux/v2
n.b. I haven't tested importing 600+ feeds!