Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Proposal for some new/improved shortcut types

by jdporter (Canon)
on Feb 12, 2006 at 19:52 UTC ( #529682=pmdevtopic: print w/ replies, xml ) Need Help??
jdporter has raised the following topic:

I recently fixed the wp:// link handler so that it goes to wikipedia's search function (which is smart, like PM's Search box, in that it goes directly to the matching page if there's only one).

This led me to thinking about other shortcut types as well. As a result, I'd like to make the following patches to handlelinks settings:

Some of these are more controversial than others, I suppose. What do y'all think?

Someone in the cb also suggested adding a shortcut type for del.icio.us. Could be fun, but I personally don't see much utility in it. Opinions?

We're building the house of the future together.

Comment on Proposal for some new/improved shortcut types
Select or Download Code
Re: Proposal for some new/improved shortcut types
by xdg (Monsignor) on Feb 12, 2006 at 21:41 UTC

    As long as we're dreaming...

    I see myself more likely to use those than to send people off to C2. Dict seems to be a useful change, though.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re: Proposal for some new/improved shortcut types
by spiritway (Vicar) on Feb 12, 2006 at 23:32 UTC

    I like the idea of sending 'jargon' to esr's site, rather than a secondary one. In general I prefer to go to the original source if possible.

    I'm not sure what the advantage is of using www.dict.org. Is it that dict.org is free (as in speech)?

Re: Proposal for some new/improved shortcut types (pending revamp)
by tye (Cardinal) on Feb 13, 2006 at 01:37 UTC

    I've revamped handleLinks() to make writing new shortcuts easier and more robust (finding several bugs in existing ones). I'll try to deploy this change in the next few days which will make your work easier.

    Part of the motivation is to make it so typing, for example, "wp://cucumber" in the PerlMonks search box just takes you to the described place.

    To be clear, neither of these improvements are available yet. I'll post when they are.

    - tye        

Re: Proposal for some new/improved shortcut types
by Fletch (Chancellor) on Feb 13, 2006 at 19:19 UTC

    Neat ideas, but:

    • How often are they going to get used (I've been a user 5 years today and I've never used any of the existing shortcuts mentioned)
    • You're reimplementing what a lot of modern browsers do in their location bars already (more an argument against the "makes the search box smarter")
    • While you're kitchen sink-ing you'd need thott:// to lookup World Of Warcraft items on http://www.thottbot.com/ :)

    </Devil's Advocate>

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 romping around the Monastery: (7)
As of 2014-10-25 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls