Re:Show HN: Infinite Scroll Wikipedia
by r3trohack3r on Friday January 14, 2022 @09:16AM
(#29934635)
Each article is stored as a separate json file (0.json, 1.json, …, n.json). I have a static file containing the total number of articles. I download that file first, and then Math.random() to pick each entry.
What is the logic for generating the feed? Is there some link hopping from article to article? Or is it based on some usage data (eg what article is more popular than usual today)? Or perhaps there is some altogether different logic?