Looking a bit further, news.yc doesn't seem to be very SEO friendly or accessible either. Maybe there was a reason for not needing to be SEO friendly, but not accessible? By this I mean that apart from the topic not being in the title, there's no use of HTML tags to confer semantics from the blocks of text, e.g. no use of H1-H6 tags, no use of lists for comments.
Is there a reason for this? I just thought it was good practice, but I'm still just starting out in web design.
Yes. Like now as I'm writing this reply if I wanted to bookmark this page, it would read "Y Combinator: Add Comment". From where you're reading it would read "Y Combinator Startup News". It would be more convenient for me if it was instead the original discussion/submission title. Right now, I copy the title beforehand, and paste it in when bookmarking.
I second that. I bookmark many comments threads and the default title comes up as "Y-Combinator startup news". Then I copy the post title and paste it in my title field. It would be nice if I can skip the copy-paste step.
As I said on the feature request thread, "The HTML header's title should have more page context in it so the browser's Back menu isn't a list of identical titles making selection difficult."
So if I'm viewing a comment, e.g. http://news.ycombinator.com/comments?id=13273 , the title could be "ralph's comment #13273 on Please tell us what features you'd like in news.ycombinator". Just sticking to the thread's title isn't sufficient since I'll still end up with many Back menu items the same as I traverse the "parent" links. Each different page should ideally have a distinct title.
Perhaps the problem is due to the code starting to emit HTML very early on, before it knows what the title should be, in order to start providing data to the browser. As opposed to building all the HTML for the page before sending a byte.
Whoops! Guys, if you hover the mouse over the submission title and right click, click on "Bookmark This Link...". This will add it WITH the submission title, instead of the default "Y Combinator Startup News".
12 comments
[ 2.9 ms ] story [ 27.3 ms ] threadIs there a reason for this? I just thought it was good practice, but I'm still just starting out in web design.
Damn fast feedback, excellent work.
So if I'm viewing a comment, e.g. http://news.ycombinator.com/comments?id=13273 , the title could be "ralph's comment #13273 on Please tell us what features you'd like in news.ycombinator". Just sticking to the thread's title isn't sufficient since I'll still end up with many Back menu items the same as I traverse the "parent" links. Each different page should ideally have a distinct title.
Perhaps the problem is due to the code starting to emit HTML very early on, before it knows what the title should be, in order to start providing data to the browser. As opposed to building all the HTML for the page before sending a byte.