4 ms·
HN could really use some kind of tag for when a submission goes to a file instead of a web page.
by Causality1 5y ago
HN could really use some kind of tag for when a submission goes to a file instead of a web page.
- CamperBob2 5y agoWhy?
- wizzwizz4 5y agoIt would be useful for many. I have several computers that can browse the web but can't render PDF files (or run PDF.js). Things don't have to be useful for everyone to be a good idea.
- Causality1 5y agoSo my phone does what I expect it to do. When I open a link I might be opening it in another tab to read later, or switching to a different app while it loads, or something else. If it's a file I'm going to get a pop-up asking me what I want to do with it. Depending on where my finger was I might open the file with the wrong app or dismiss the pop-up making me either download it again or go find the file in a file manager. It also clutters up my Downloads folder with things I'm going to read or skim once and never look at again.
- ajsfoux234 5y agoThere is: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=pdf&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... It seems that the submitter hasn't applied it
- mkl 5y agoThere's no option for that when submitting. I think it's probably moderator-applied.
- grzm 5y agoIt's just text as part of the title. The submitter can do it (until the edit time runs out).
- Tomte 5y agoIt usually happens automatically, but obviously not this time. That makes it very hard to think about it, because it mostly works. My hypothesis is that HN's detection only looks for file extension, not content type headers, because it doesn't fetch the submission itself.
- scott_s 5y agogrzm is correct, it does not happen automatically. See https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html.