laarcnew | comments | discord | tags | ask | show | place | submitlogin

Good idea! How does lobsters do it? I see that it has something to do with fetch-url-attributes: https://github.com/lobsters/lobsters/blob/11592ac0a6d28e7b935fe6b78e3e5821a45d2af3/app/controllers/stories_controller.rb#L63-L69

FWIW, the laarc bookmarklet (https://www.laarc.io/bookmarklet.html) does this for you, but frustratingly Chrome recently made it impossible to install bookmarklets by dragging and dropping them onto the toolbar. I'll try for a lobsters-esque solution.

EDIT: Found the algorithm lobsters uses: https://github.com/lobsters/lobsters/blob/11592ac0a6d28e7b935fe6b78e3e5821a45d2af3/app/models/story.rb#L890-L971




Welcome | Guidelines | Bookmarklet | Feature Requests | Source | Contact | Twitter | Lists

RSS (stories) | RSS (comments)

Search: