Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I've added two new display types for all nodes: print and xml.

print takes you to a page without all the hoopla, like your nodelets, the search box, and all that stuff. You can specify an external style sheet to use for printing in your user settings. Otherwise, a default style sheet will be used.

xml is probably only useful for people who want to write some sort of alternative interface to Perl Monks. Right now, it only returns content of static nodes, which means it doesn't work for nodes like Newest Nodes (which is a superdoc and hence dynamic), or The Monastery Gates. I don't know how useful it'll be yet, but I'd appreciate any suggestions/questions.

As an aside, there's now xml node thread, for getting a threaded list of replies to a node. Pass it a param id (the node_id of the node in question), for instance: /index.pl?node=xml%20node%20thread&id=180845.

Also, notice the links in the upper left hand corner.

Thanks


In reply to New Display Types by ar0n

Title:
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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-18 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found