6 ms·
Why didn't hecubus(OP) take the title or headline? "How the chili pepper got to China" is a relatively small part of the article.
by roghummal 10y ago
Why didn't hecubus(OP) take the title or headline?
"How the chili pepper got to China" is a relatively small part of the article.
- oneeyedpigeon 10y agoI don't know why HN doesn't just autofill the title from the submitted URL - it would clear up a lot of these types of problem. Heck, could even parse out appropriate metadata / http headers to determine date for all those old news stories that need a year in parentheses.
- dang 10y ago> just autofill the title from the submitted URL This is a case of Jerry Weinberg's dictum that when you hear the word "just" in software development, replace it with "have a lot of trouble". It's one of those ideas that seems like it would work until you look into it. In reality it doesn't come close to working, because many web pages have titles that violate the HN guidelines, include junk, or are meaningless. There's no substitute for editorial judgment.
- GFK_of_xmaspast 10y agoAlso good luck reliably even finding the title in all the horrible kinds of html floating around out there.
- oneeyedpigeon 10y ago/html/head/title/text() should work for the vast majority of pages out there. Those that it doesn't work for, never mind - you don't lose anything wrt the current system by not being able to prefill.
- krapp 10y agoYou could also look for meta tags and social media (facebook, twitter, etc) tags, and probably build a decent profile for most sites[0]. It can be done fairly reliably, and would work well for any site that actually cares about its social media presence, but the end result is still no better for low quality titles and linkbait. To guarantee quality, HN would have to either send all submissions through a mod queue or have an interstitial preview page to let the user add or edit metadata before submission. That, functionally, is just a more complication version of looking at the article and pasting in the title. [0]shameless plug of my own work: https://github.com/kennethrapp/embedbug https://github.com/kennethrapp/embedbug
- oneeyedpigeon 10y agoOf course; I need to get into the habit of using "just" far less than I do! But even if some titles are less than perfect, a lot will be absolutely fine, and almost anything is better than a blank headline. I.e. prefill, but retain the ability to edit the headline.
- dang 10y agoOk, we added the main title to the subtitle above.