Is it possible in the customization to enter each thread where the new comments begin? I have mentioned before that I'm not a programmer, so that's my excuse if this is a stupid question.
posted by norm to feature requests at 4:52 PM (24 comments total)
preceding new comments would be snazzy.
I imagine it's pretty tricky to implement. If it were a quick fix, Matt would've snuck it in during his time off. From a programmatic perspective, it would be kind of difficult to figure out where a new comment is.
The way I figure the implementation works - and this is just as a user, I haven't seen an code - is almost every time you hit a MetaFilter page, your "last visited" information (both in the cookie and the database, I believe, but definitely in the cookie) are updated to the current time. Since obviously the messages you're seeing in a thread are older then the current time, putting a line in would be tricky.
What may be doable - again, off the top of my head - is passing in the number of new posts in the query string. Matt's got those weird non-query string things though, so I don't know how workable that is. But if he figures out the number of posts on a page (the count of records being returned from the db) and subtracts the number of new posts, then putting in an indicator is relatively easy.
Putting in an anchor may be tricky, because you can't know what the post id of the first new comment is until you actually get to the outputtin' of the comment, not without some fancy (read: time and processor wasting) footwork before displaying the page.
Well, putting in the anchor's easy, but automagically starting the page off at the anchor's a pain, though definitely doable given some time.
(what may work though is a link at the top of the page to "New Posts" that jumps to a pre-determined anchor name, like newposts or somesuch)
Again, I'm just guessing at the functionality from what I've seen it do and how I'd go about implementing the things I've seen Matt do. Considering how much more knowledgeable Matt is of these things than I am, I could very likely be astoundingly off-base.
Either way, it's a safe bet that it's tricky, otherwise Matt would've done it. :-)
posted by cCranium at 8:24 AM on February 16, 2001