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

by suaveant (Parson)
on Nov 28, 2001 at 01:33 UTC ( #127920=monkdiscuss: print w/replies, xml ) Need Help??

So... recently is was brought up in the CB that people dislike the new title, showing - page as opposed to the page name first, which shows up better in the taskbar and helps distinguish browser windows. So, I volunteered to post this message to get an idea on what the PM thinks overall.

I think it should probably be moved back, or changed to something like PM: page, to bring the most informative info to the front, but still show it is within Perlmonks... thoughts, ideas, comments, suggestions?

                - Ant
                - Some of my best work - (1 2 3)

Replies are listed 'Best First'.
Re: Title, or Trash?
by chip (Curate) on Nov 28, 2001 at 01:38 UTC
    No point in a fully-formed URL in the title. Just "Perl Monks" or "" as a prefix would be fine.

        -- Chip Salzenberg, Free-Floating Agent of Chaos

Re: Title, or Trash?
by FoxtrotUniform (Prior) on Nov 28, 2001 at 01:39 UTC

    I don't like it. While it's nice to have an indication that a browser titled "Comment..." is, in fact, open to Perl Monks, I think the spelled out URL is overkill (and not particularly attractive, to boot). I'd rather see a smaller marker (like PM:) in its place.

    Update:I should point out that the "PM: foobar" suggestion was suaveant's, not mine.

      For what it's worth, I second the vote for "PM: Page_Title"
      It would give a quick indication that a window is Perlmonks for those like me who usually have several going at the same time, but is still short and sweet like a baby covered in chocolate syrup.
      Ok, forget about the baby part.

      requisite obfuscation sig below:
      perl -e 's;;uoli;;$a=length;y;g-w;e-u;;;$a--;s;j;$a;;print"$_\n";'
Re: Title, or Trash?
by Chmrr (Vicar) on Nov 28, 2001 at 02:09 UTC

    I don't find it overly useful -- it makes the tabs in Galeon just show "http://Perlmo.." which doesn't tell me much about what they point to. It might be better if it were shortern like the "PM:" suggested elsewhere. Personally, I don't see much advantage in them -- but if others find 'em useful, then keep 'em, by all means.

    Update: Apparently it's been taken out, at least as of the time of this writing (17:30 EST, Nov. 27) So the only place you'll see http://Perlmonks is in this node's title. ;>

    perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^+*`^ ve^#$&V"+@( NO CARRIER'

Re: Title, or Trash?
by gt8073a (Hermit) on Nov 28, 2001 at 12:31 UTC
    Can titles be user settable?
    PM1="\u@\h::\w"(sic) sort of thing.
    no clue on why user, but to each their own

    Will perl for money
    JJ Knitis
    (901) 756-7693

      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: 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>};

      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;"

      this sounds like The Real Way To Do Ittm! It is good to have a common identifier in the title so that your (cool and lisp-expandable) windowmanager can match the title against a regular expression and do some special features to the perlmonks surfing window, or that your time- and focustracking application can find out what your doing right now. Of course there are hundreds of other uses in a user customizable setting that the original developers never thought of and that 83% of all users can't imagine at all :)

      Regards... Stefan
      you begin bashing the string with a +42 regexp of confusion

Re: Title, or Trash?
by dws (Chancellor) on Nov 28, 2001 at 02:26 UTC
    URLs in titles are useful when you're looking at a printed copy of a page and need to manually re-enter the URL. But given the context that a Monastary page provides, anyone with half a clue should be able to get back to the page in question.

    I say, lose the

      IE (and I assume other browsers) have the ability of putting the URL itself onto the printed page in addition to the page title. So if you're printing something that you think people might want to recall later in their browser, that option should be there... Unless my memory is failing in this respect. It's been a while since I tried printing a web page (though the chick in the office down the hall from me must go through a ream a week with all of the web pages and e-mail she prints).
Re: Title, or Trash?
by mikeB (Friar) on Nov 28, 2001 at 01:39 UTC
    I wouldn't mind the current way if it didn't stutter... in some cases the "" shows up twice.

    The up side of the new way is that all my perlmonks shortcuts would sort together if they weren't in a separate folder :)

    Either way works for me.

Re: Title, or Trash?
by blakem (Monsignor) on Nov 28, 2001 at 06:04 UTC
    As long as someone is mucking with the page titles, could we try putting the nodeid in the title? Something like:
    Re: getting file info? (127978)
    Someone mentioned it a while ago, and I think it would make crosslinking within the site a bit easier.


Re: Title, or Trash?
by $code or die (Deacon) on Nov 28, 2001 at 02:36 UTC
    I don't see it. Except in this node of course. Perhaps it's been removed already, but I get the same title format we used to have.

    Simon Flack ($code or die)
    $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
    =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
Re: Title, or Trash?
by herveus (Parson) on Nov 28, 2001 at 03:14 UTC

    "me too"

    The change makes it more difficult to sort out which window is which when I am stuck on a Windows box. When I have ten or fifteen nodes open at once, the task bar only shows 'http:' or so. I'm all for putting the node title back to the front.

    'http://www.perlmonks.mumble' was not such a good idea...


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://127920]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-08-17 12:44 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (287 votes). Check out past polls.