Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Replies / Direct replies (and more!)

by blazar (Canon)
on Oct 20, 2008 at 13:38 UTC ( [id://718224]=monkdiscuss: print w/replies, xml ) Need Help??

I've just read the last entry of Tidings as of the time of this writing. BTW: how could one link to an individual one? <a name> tags are missing that I can see - unless an author feels like manually adding it... PM is generally very precise about stable cross linking... thus IMHO a suitable mechanism should be provided...

Whatever, that is an aside: I've just read the last entry of Tidings and it says:

In The Monastery Gates and the posting sections (Seekers of Perl Wisdom, etc.), the metadata shown for each node includes the count of replies. This can be either the total number of replies (all "descendents") or just the number of direct replies (immediate "children"). You select which in your User Settings — a checkbox labeled "Show count of all replies".

When you have selected showing only the count of direct replies (the option is unchecked), then The Monastery Gates, etc. will show counts labeled as "N direct replies". Previously it said "N replies", just as in the other case.

Why not allowing both à la: "Direct replies #N / Total replies #M"?

On a more general basis, to be fair I've read both talexb's request for more advanced statistics in nodes' headers for posting sections and jdporter's reply to the point of that kind of info already being in RAT and... requiring "significantly non-trivial change" to be brought elsewhere. Now, such a change appears to have been done, which is why I could post this very message, and... the next step would be to allow for some customized header to be defined in terms of a user supplied string along with some placeholder variables for replies, direct replies, and so on. A dream?

--
If you can't understand the incipit, then please check the IPB Campaign.

Replies are listed 'Best First'.
Re: Replies / Direct replies (and more!)
by jdporter (Paladin) on Oct 20, 2008 at 14:11 UTC
    <a name> tags are missing that I can see ... thus IMHO a suitable mechanism should be provided...

    That was discussed, and I think rather authoritatively answered by tye, in Problem with id:// shortcuts and anchors.

    Why not allowing both à la: "Direct replies #N / Total replies #M"?

    "significantly non-trivial change"

    That is the answer. Do you want me to elaborate?

    such a change appears to have been done

    What do you mean? Appears where? If you mean in RAT, that was written entirely from scratch; techniques done there have no bearing on what would need to be done to things like The Monastery Gates and the sections.

    customized header to be defined in terms of a user supplied string along with some placeholder variables

    Sounds like a great idea. But in case you didn't guess — it would require a substantial amount of work. :-)

    Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.
      <a name> tags are missing that I can see ... thus IMHO a suitable mechanism should be provided...

      That was discussed, and I think rather authoritatively answered by tye, in Problem with id:// shortcuts and anchors.

      I personally believe that that one is a completely different matter, and I know because I asked the question in the first place! So perhaps I didn't explain myself clearly here and I need to clarify: there, I was after a quick / easy way to hyperlink to anchors when do they exist already, in terms of PM's existing shortcuts or more precisely, an enhancement of them. Here, I'm "complaining" that individual entries in Tidings do not provide a any hyperlinking method that I know of, either by means of <a name> tags or not, either quick or not.

      For example now I can refer to the piece of news that inspired this thread as the to "the one at the top there" but in a year or so it won't mean much. The node type is supposed to be "wiki" and indeed "recent edits" are available (but then what does "recent" mean? Older ones will disappear firts or later?) so perhaps what comes closest is the link to the single edit. But then that displays the source of the edit, while it would be much preferrable to display the rendered thingie as well...

      such a change appears to have been done

      What do you mean? Appears where? If you mean in RAT, that was written entirely from scratch; techniques done there have no bearing on what would need to be done to things like The Monastery Gates and the sections.

      It may well be that I misunderstood completely. As I had read it, it was "once" impossible to display in posting sections the number of direct replies, due to... err well... "significantly non trivial changes," right? So I've read that it is now possible to display it and I had inferred that those changes had been applied: now you're telling me that my understanding is wrong. I can cope with that: worse luck!

      customized header to be defined in terms of a user supplied string along with some placeholder variables

      Sounds like a great idea. But in case you didn't guess — it would require a substantial amount of work. :-)

      Unfortunately, I guessed, and I realize. It would be nice if I had the technical expertise, the time, and hubris enough to hack that thing, in which case I would contribute personally, but sadly enough I lack all three of them.

      --
      If you can't understand the incipit, then please check the IPB Campaign.
        individual entries in Tidings do not provide a any hyperlinking ... by means of <a name> tags

        You're right; I completely misunderstood you. Sorry.
        That's a good idea. I'll see if I can make a patch to have name anchors added automatically.

        it was "once" impossible to display in posting sections the number of direct replies

        It has always been possible to display either "direct replies" or "total replies" but not both. Which one you see is controlled by a flag in your User Settings. What would be nice is to be able to see them both, and I thought that's what you were asking for. To do this would require a non-trivial amount of work.
        The recent change merely added the word "direct" to the displayed text when showing the number of direct replies, so that you don't have to go to your User Settings to see what you set the flag to if you don't remember.

        It would be nice if I had the technical expertise, the time, and hubris enough to hack that thing

        Your heart is in the right place. :-)

        Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://718224]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found