News for hackers. Stuff that matters.
Re:Open source Pocket code by zerop on Friday August 20, 2021 @12:45PM (#28248170)
I would like to know what engine they use to fetch the text of the article from URL? That technology is neat.
Re:Open source Pocket code by dineshdb on Saturday August 21, 2021 @04:06AM (#28255144)
I think this[0] comes close to what is used to extract text from an HTML document. Fetching can be done via any HTTP client. Will need jsdom to convert the text to DOM before feeding it to readability.

[0]: https://github.com/mozilla/readability

Re:Open source Pocket code by zerop on Saturday August 21, 2021 @05:23AM (#28255498)
Thanks for sharing. Given the description, it can also be used as back-end for build link preview, like FB.