linkwallet
linkwallet copied to clipboard
Accessing the scraped text?
Would it be possible to add a way to access the scraped text? I see at https://github.com/tardisx/linkwallet/blob/8215eaa82168e555042919e1cdfe994a92c6fb9c/content/content.go#L26 that it is just appending all text elements together, but would it be possible to add a readability parser to get an article view saved? Basically I want to protect my bookmarks from link rot.
Thanks for the project!
Agreed, this would be great. Possibly pulling in the shiori go-readability library? https://github.com/go-shiori/go-readability
Yeah, something like that would probably work well. Another route (if trying to keep the down the complexity of the server codebase and make it work with js-only sites) would be to import readability.js in the bookmarklet to get the article view from the browser when bookmarking, but that would not work for manually adding urls or bulk imports.