3 ms·
I don’t know why updates to things like Adblock filters aren’t distributed over RSS
by gumby 3y ago
I don’t know why updates to things like Adblock filters aren’t distributed over RSS
- chrismorgan 3y agoI presume you have in mind framing each item as a diff, and storing, say, the last week’s worth of diffs (beyond which point you’ll need to download the full thing separately)?
- gumby 3y agoThe criteria aren’t usually that large so could be inline, or, as you say, could be a diff with a link to the full thing if the current version installed is too old.
- cxr 3y agoWhat would be the benefit?
- gumby 3y agoInstead of spinning any update infrastructure you just use existing RSS library code.
- cxr 3y agoCan you be more specific? Existing update "infrastructure" as I understand it consists of updating a file so that when you hit its URL you get the contents of the new filter list instead of the old one. RSS is the same mechanism—you rewrite the contents of /feed.xml, for example—but for no net benefit—it just adds a layer of indirection, plus you deal with "XML" containers. That is, the format looks like XML and even pretends to be XML but very well may not be, due to the legacy of RSS.
- gumby 3y agoRSS lets you easily load older versions, not just the latest.
- crtasm 3y agoThey're just .txt files on a webserver: https://github.com/uBlockOrigin/uAssets/tree/master/filters https://github.com/uBlockOrigin/uAssets/tree/master/filters