Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
In user settings below the "Your signature:" box you should see something like
 
Custom Node Title Definition
Available tokens are %T - the title, %D - the create date, %N the node_id, and %S, the section (SOPW,Q&A,... but only for root nodes)
**caveat: don't use [ or ], rather use [ and ]
** FORM GOES HERE ** UNAVAILABLE ON THIS NODE BECAUSE IT IS NOT ON THE Perl Monks Approved HTML tags. If you want to see the real deal, just go to user settings

The idea came about in http://perlmonks.org: Title, or Trash? and has come up a couple of times since then.

Like mentioned above, the available tokens are:
%T - title of the node
%N - node_id of the node
%D - create time of the node (GMT)
%S - roughly the section of the node (for root nodes), but always the type of the node.

Do not use use [] in there, because they will be expanded (turned into links), and that doesn't look good at the top of a browser window.

What you Custom Node Title Definition affects, is:
<TITLE>Teh Text at the top of yer browser window, usually ;)</TITLE>

So if my Custom Node Title Definition was:  %S|PM|%N|%D|%T
If I went to view
Coding superstitions
I would see (at the time of this writing, titles may have changed)
perlmeditation|PM|136904|2002-01-07 18:40:47|Superstitions

Multi-Format Log Parser - Version 2.0
perlcraft|PM|135860|2002-01-02 23:02:21|Multi-Format Log Parser - Version 2.0

New line wrapping feature
monkdiscuss|PM|19880|2000-06-26 17:15:23|New line wrapping feature

Newest Nodes
superdoc|PM|3628|2000-02-17 19:12:24|Newest Nodes

RE: RE: New line wrapping feature
note|PM|19901|2000-06-26 19:58:40|RE: RE: New line wrapping feature

** note that as advertised, when viewing replies directly, most of the time they show up as of type "note". The %S token will correspond roughtly to section only for root nodes. There is no need to generate extra hits on the server for replies.

Parallel Downloads using Parallel::ForkManager or whatever works!!!
perlquestion|PM|136983|2002-01-07 21:37:13|Parallel Downloads using Parallel::ForkManager or whatever works!!!

Lingua::Ispell
modulereview|PM|32245|2000-09-13 04:22:11|<!--review-->Lingua::Ispell

Simple Module Tutorial
perltutorial|PM|102347|2001-08-05 21:30:41|Simple Module Tutorial

tye
user|PM|22609|2000-07-14 18:45:20|tye

pmdev wiki
wiki|PM|106868|2001-08-22 02:44:52|pmdev wiki

You get the idea.

More tokens could be made available, but since the <TITLE></TITLE> is prime realestate, I don't see any additional tokens as really usefull (%D was a streach).

Many thanks to vroom for fixing things up and everybody who contributed, peace.

P.S.pmdevers note - the obvious patch is at user settings, and the other one is at basichead

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"


In reply to New Feature Announcement: Custom Node Title Definition by crazyinsomniac

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (8)
    As of 2014-12-18 06:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

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





      Results (43 votes), past polls