Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
This should be a quick 2-second patch to add a bit of functionality to the Writeups page on each user's nodes.

Basically when you view a user's writeups, you see a linkable anchor to their particular writeup, and then within that, you have the option to see the ' reply to' and ' thread' links to go up one or to the top node in the thread.

If the 'Node ID' was linkable on the actual Writeups page, a user could enter the thread from the top and begin reading down, without having to click on the particular reply in question (i.e. it would go to the root node). Sometimes I'd like to see the whole thread, outside my own reply, but having to click on my own reply, then on ' thread' from there is one extra click I'd rather not have to do (not to mention the load on the server for the useless click and query to bring up my reply, which I use to bounce to the top of the thread anyway, and the network delay associated with that query; 21 seconds between pages now).

It currently looks like this:

Node ID Writeup Rep Created
190426 Re: owner of a file 6 2002-08-15 11:05:16
190417 Re: Showing , etc in HTML 2 2002-08-15 10:48:52
What I'm suggesting would look like this (i.e. the Node ID would link to the root node of that reply):
Node ID Writeup Rep Created
190426 Re: owner of a file 6 2002-08-15 11:05:16
190417 Re: Showing , etc in HTML 2 2002-08-15 10:48:52

The query to return the Node ID is already being done, why not just wrap it in [id://node_id|node_id] tags.. seems simple and non-destructive to the rest of the site integrity.

In reply to Linkable Node ID in Writeups by hacker

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2022-01-24 21:10 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (65 votes). Check out past polls.