hear hear!

I sugguest the only tokens available be:
%T - the actual post title
%D - the gmt date the post was created
%N - the node_id

It would be user setting, blank by default (in which case it's just the node_title in the title). It would be have a 12 character limit (<INPUT TYPE="text"..., and anything other than %T %D and %N would be represented litelarlly, so that
perlmonks (%N) %T
for this post would translate into
perlmonks (128020)(crazyinsomniac) Re^2: http://perlmonks.org: Title, or Trash?

That'd be pretty easy to implement, some potential code (which should work if some pmdev-er wants to submit the patches), on user settings (with appropriate html around)

[{textfield:customnodetitledefinition,12}] # or, in case that don't work (i don't recall, i'll have to check) [{setvar:customnodetitledefinition,12}]
and on basichead
my $V=getVars $USER; my $pt = (exists $$V{customnodetitledefinition} and defined $$V{customnodetitledefinition} )? $$V{customnodetitledefinition} : undef; return qq{<TITLE>$$NODE{title}</TITLE>} unless $pt; $pt =~ s/\%T/$$NODE{title}/; $pt =~ s/\%N/$$NODE{node_id}/; $pt =~ s/\%D/$$NODE{createtime}/; return qq{<TITLE>$pt</TITLE>};

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"


In reply to (crazyinsomniac) Re^2: http://perlmonks.org: Title, or Trash? by crazyinsomniac
in thread http://perlmonks.org: Title, or Trash? by suaveant

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.