3 ms·
What does it do when Algolia doesn't find the post? An "advanced" feature request: Some sites are rewritten, for example https://example.blogspot.com.ar https:
by gus_massa 11y ago
What does it do when Algolia doesn't find the post?
An "advanced" feature request: Some sites are rewritten, for example https://example.blogspot.com.ar https://example.blogspot.com.ar is transformed to by HN to https://example.blogspot.com https://example.blogspot.com and BlogSpot will transform it to whatever country you are, so it would be nice to add in version 2 some canonizations to make it more compatible with HN. Also, medium is a nightmare, because it adds a random mark to the url and the HN post may have a different random mark. And the nytimes adds something like &r_1=0 or something. (Probably medium is the more important use case.)
Another idea: Can you transform this into a bookmarklet?
- marinintim 11y agoIf Algolia doesn't find it, DoHN reports it and suggests to submit it to HN. Right now there is one canonization -- it strips utm tags, I'll think about more canonizations, thanks! I thought about bookmarklet, but decided to postpone -- due to CSP bookmarklets don't work in quite few places (like Github).
- marinintim 11y agoI added bookmarklet (it works if there is no CSP nor Noscript enabled).