LWN.net Logo

Reading comments

Reading comments

Posted Jun 5, 2003 13:30 UTC (Thu) by utoddl (subscriber, #1232)
In reply to: Reading comments by corbet
Parent article: A quick LWN update

Well, two things come to mind.

First, if you added, for example, an id="comment.1.2.3" attribute to the existing comments' <div> tags (meaning in this case "the 3rd reply to the 2nd reply to the 1st comment"), then each comment could have it's own URL. That way I could send a note to my bos that says "Hey, I posted a really clever comment on LWN; check out http://lwn.net/Articles/35049/#comment.1.1.1 to see what I said about you."

Second, if you did the above, then the "Comments (27 posted)" link at the bottom of an article could point directly to, say, "http://lwn.net/Articles/34740/#comment.1". After all, I probably just read the article, so why should I have to scroll down through it to get to the first comment. If you followed this scheme, I wouldn't have to scroll.


(Log in to post comments)

Reading comments

Posted Jun 5, 2003 14:59 UTC (Thu) by corbet (editor, #1) [Link]

FWIW, each comment does already have its own URL; comments are proper content items like everything else on the site. Your comment, for example, can be found at this URL.

The other item (not having to scroll down to comments) has come up before. It's on the list, and shouldn't be all that hard to do.

Reading comments

Posted Jun 5, 2003 18:58 UTC (Thu) by utoddl (subscriber, #1232) [Link]

FWIW, each comment does already have its own URL; comments are proper content items like everything else on the site.

I figured that out eventually. Actually, in my example above, http://lwn.net/Articles/35049/#comment.1.1.1 hits itself! Go figure. I just liked the dot notation because it shows where things are in relation to other comments, but <div id="#comment.35049"> would certainly work just as well.

Anyway, it'll be nice to have that facility working. Maybe when you get a slow news week soon...

...or when you open the source and one of us has a slow day. That's how this Open Source stuff is supposed to work, right? :-)

Reading comments

Posted Jun 5, 2003 19:02 UTC (Thu) by utoddl (subscriber, #1232) [Link]

(Well, no, it hits its parent, i.e. your comment. Still...)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds