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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I wrote my own interface to newest nodes and run it on my website. It uses jdporter's modules to access the XML interfaces available on PerlMonks to retrieve a list of new nodes and information about them. It caches this information in a local database. When I log in to it, I get a list of new nodes since the last time I used it. The list is threaded with all links to new nodes in white and older parent nodes in cyan.

If I click on a link, a new window opens to view the node from PerlMonks. As usual, the node is displayed with all of its descendants. Occassionally I'll see a thread that looks like it might be interesting but I can't really tell from the title. It would be nice if I could just look at the root node to see what the thread is about without asking the PerlMonks server to format the entire thread. Then, once I decide I'd like to see the replies, I could pull up the whole thread.

On each node, there is a link labeled 'print' that will bring up the node by itself but it will be formatted differently and there's no reply link. There's another option to print with replies which will display the entire thread with print formatting.

Would it be possible to get a displaymode that would only show the selected node without replies but otherwise formatted like a normal node view, including such things as the reply and code download links? Something like this could also be nicer ways to link to the 'Name Space' node and other large threads.

Edited: removed link to the 'Name Space' node.

90% of every Perl application is already written.

In reply to Single node displaymode request by pfaut

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2021-11-29 08:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found