Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

RE: Including number of replies in Newest Nodes

by mdillon (Priest)
on Jun 09, 2000 at 06:05 UTC ( #17254=note: print w/ replies, xml ) Need Help??


in reply to Including number of replies in Newest Nodes

i'm not sure how the database for Perl Monks is set up, but i suspect that this is not a simple addition. unless every node stores the id of its top-level parent node (in addition to the id of its immediate parent), then multiple SQL queries would need to be made to traverse the tree of children and get a reply count.

this could be entirely incorrect, but i suspect vroom would have added this feature if it weren't near impossible to do easily in SQL.


Comment on RE: Including number of replies in Newest Nodes
RE: RE: Including number of replies in Newest Nodes
by athomason (Curate) on Jun 09, 2000 at 09:30 UTC
    On the contrary, it's already been done everywhere else on the site. The Monastery Gates shows the number of replies along with each message, as does each individual section. Recursive replies wouldn't need to be counted, only top level. I only suggest adding that functionality to the Newest Nodes page.
      OK. i think it's basically useless to only count top-level replies, since the purpose of showing the count is presumably to be able to compare it with an earlier value and thus notice additions to a thread easier without having to correlate and count the appropriate comments in the Notes/Replies.

      p.s. i need more -- votes on stupid drivel like this.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://17254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-12-29 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (187 votes), past polls