3 ms·
>if I were to run a web forum then I must provide an API or data dump to download the posts created by the users It's implicitly provided by hosting the forum,
by drbawb 3y ago
>if I were to run a web forum then I must provide an API or data dump to download the posts created by the users
It's implicitly provided by hosting the forum, blog, etc. at a publicly accessible URL. HTTP is an API, HTML is a data interchange format. There's this weird idea (which I've seen parroted both in this article, and in u/spez's discourse on the topic) that "scraping" is somehow evil and bad, when it's actually an intentional feature of the web. Scraping is quite literally how Google built its search empire. It seems to me, now that the major players are sufficiently centralized and entrenched, they want to turn scraping into a boogeyman so nobody can follow in their wake.
The advantage of providing a "real" API is to (a) limit scope narrower than an account/session, and (b) eliminate the overhead implicit in laying out the content for human eyeballs; reducing processing costs for both the server and client.
I find it somewhat hypocritical for Reddit et al. to provide the former for free, and charge for the latter, when the latter is explicitly designed to optimize their costs.
- Terr_ 3y agoUltimately this is about DRM again, or at least on the same spectrum of motives and behavior: The corporate middleman wants to be able to force restrictions on how consumers manage or view the content that is being produced by other users. Either forcing you to run a proprietary closed-source client--like their official smartphone app--or else making the desktop rendering so gnarled that you pretty much have to view it exactly the way they intent while having their code pierce your privacy. It's not just about making sure ads are displayed anymore, I'm sure there's some executive who has asked about preventing people from copy-pasting text...