I've made myself a couple of Mozilla bookmarks with keywords that let me navigate the monastery as well as CPAN with very little hassle and thought I'd share. I've been using them for a while, and I can't imagine doing without these neat little helpers anymore.
To use, DL the code, save the file somewhere, search&replace "put_your_username_here" with your own username, go to Mozilla's bookmark manager and import it. You'll get a new folder "Keywords" in your bookmarks, and henceforth you'll have the following shortcuts available to type into the addressbar:
<!DOCTYPE NETSCAPE-Bookmark-file-1> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <TITLE>Keywords</TITLE> <H1>Keywords</H1> <DL><p> <DT><H3 ID="NC:BookmarksRoot#$e04aa1df">Keywords</H3> <DL><p> <DT><A HREF="http://www.perlmonks.org/index.pl?node=%s" SHORTC +UTURL="pm">Perl Monks Search</A> <DT><A HREF="http://www.perlmonks.org/?node_id=106&op=message& +message=%s" SHORTCUTURL="pmc">Perl Monks Chat</A> <DT><A HREF="http://www.perlmonks.org/?node_id=106&op=message& +message=/msg+put_your_username_here+[id://%s]" SHORTCUTURL="pmb">Perl + Monks Bookmark</A> <DT><A HREF="http://search.cpan.org/search?mode=module&n=100&q +uery=%s" SHORTCUTURL="cpan">CPAN Module query</A> <DT><A HREF="http://freshmeat.net/search/?section=projects&q=% +s" SHORTCUTURL="fm">freshmeat.net</A> <DT><A HREF="http://www.freedb.org/freedb_search.php?allfields +=NO&fields=artist&fields=title&allcats=YES&grouping=cats&words=%s" SH +ORTCUTURL="fd">freedb.org</A> <DT><A HREF="http://www.google.com/search?num=100&q=%s" SHORTC +UTURL="gw">Google Web</A> <DT><A HREF="http://images.google.com/images?safe=off&q=%s" SH +ORTCUTURL="gi">Google Image</A> <DT><A HREF="http://www.google.com/search?svnum=100&cat=gwd/To +p&q=%s" SHORTCUTURL="gd">Google Directory</A> <DT><A HREF="http://news.google.com/news?svnum=100&q=%s" SHORT +CUTURL="gn">Google News</A> <DT><A HREF="http://groups.google.com/groups?num=100&q=%s" SHO +RTCUTURL="gg">Google Groups</A> </DL><p> </DL><p>
- pm foo
- Mnemonic for "Perl Monks". Go to node "foo". As always, you can also enter a node ID there. I usually "enter" the monastery by typing "pm 106" into my addressbar, bringing me to the Default Node.
- pmc blah blah blah
- Mnemonic for "Perl Monks Chat". You will utter "blah blah blah" onto the chatterbox. This is cool, though not very useful.
- pmb 31415
- Mnemonic for "Perl Monks Bookmark". This needs a node ID, which it turns into an [id://31415] style link to /msg to yourself. Intended to be used while browsing, deleting the usual http://www.perlmonks.org/index.pl?node_id= prefix in the address bar and typing "pmb " in front of the node ID.
- cpan Foo::Bar
- Perform a CPAN module query for Foo::Bar.
As a freebie, you also get qw(gw gg gd gi gn) shortcuts for Google Web, Groups, Directory, Images and News searches, respectively, an fm shortcut for Freshmeat queries and an fd one for freedb searches.
Have fun!
Makeshifts last the longest.
20030403 Edit by Corion: s!\broot\b!put_your_username_here! (plus some other minor formattings)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Laziness, Lizards and Monks
by jasonk (Parson) on Apr 02, 2003 at 15:06 UTC | |
by data64 (Chaplain) on Apr 04, 2003 at 18:28 UTC | |
Re: Laziness, Lizards and Monks
by hossman (Prior) on Apr 02, 2003 at 20:15 UTC | |
by data64 (Chaplain) on Jul 14, 2005 at 20:17 UTC | |
by hossman (Prior) on Jul 14, 2005 at 21:51 UTC | |
by Aristotle (Chancellor) on Apr 02, 2003 at 20:41 UTC | |
by hossman (Prior) on Apr 02, 2003 at 20:57 UTC |
Back to
Perl Monks Discussion