News for hackers. Stuff that matters.
Re:Show HN: Monitor a Hacker News post over time by nneonneo on Thursday January 02, 2020 @04:10PM (#21939859)
I think it should identify posts by ID rather than by post title - it seems that reposts and dupes confuse it (for example, the current top post was posted a total of three times per HN search: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que..., which causes the apparent history in this tool to bounce around a lot: https://hacker-news-analytics.christianfei.com/stats/The%20P...)
Re:Show HN: Monitor a Hacker News post over time by christian_fei on Thursday January 02, 2020 @04:16PM (#21939908)
i agree, it initially was like that, then i thought the experience would be better by using the title to identify a post.
Re:Show HN: Monitor a Hacker News post over time by uoaei on Thursday January 02, 2020 @04:31PM (#21940060)
Internally, represent the articles as IDs. This will eliminate duplicate posts, though not necessarily duplicate articles linked in posts. You can periodically fetch and cache the title pretty easily, since the ID is most of the (interesting characters in the) URL for the page.