<?xml version="1.0" encoding="windows-1252"?>
<node id="247497" title="Laziness, Lizards and Monks" created="2003-04-02 09:29:51" updated="2005-08-10 14:23:23">
<type id="1036">
monkdiscuss</type>
<author id="114691">
Aristotle</author>
<data>
<field name="doctext">
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.

&lt;readmore&gt;
&lt;code&gt;
&lt;!DOCTYPE NETSCAPE-Bookmark-file-1&gt;
&lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"&gt;
&lt;TITLE&gt;Keywords&lt;/TITLE&gt;
&lt;H1&gt;Keywords&lt;/H1&gt;

&lt;DL&gt;&lt;p&gt;
    &lt;DT&gt;&lt;H3 ID="NC:BookmarksRoot#$e04aa1df"&gt;Keywords&lt;/H3&gt;
    &lt;DL&gt;&lt;p&gt;
        &lt;DT&gt;&lt;A HREF="http://www.perlmonks.org/index.pl?node=%s" SHORTCUTURL="pm"&gt;Perl Monks Search&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://www.perlmonks.org/?node_id=106&amp;op=message&amp;message=%s" SHORTCUTURL="pmc"&gt;Perl Monks Chat&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://www.perlmonks.org/?node_id=106&amp;op=message&amp;message=/msg+put_your_username_here+[id://%s]" SHORTCUTURL="pmb"&gt;Perl Monks Bookmark&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://search.cpan.org/search?mode=module&amp;n=100&amp;query=%s" SHORTCUTURL="cpan"&gt;CPAN Module query&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://freshmeat.net/search/?section=projects&amp;q=%s" SHORTCUTURL="fm"&gt;freshmeat.net&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://www.freedb.org/freedb_search.php?allfields=NO&amp;fields=artist&amp;fields=title&amp;allcats=YES&amp;grouping=cats&amp;words=%s" SHORTCUTURL="fd"&gt;freedb.org&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://www.google.com/search?num=100&amp;q=%s" SHORTCUTURL="gw"&gt;Google Web&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://images.google.com/images?safe=off&amp;q=%s" SHORTCUTURL="gi"&gt;Google Image&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://www.google.com/search?svnum=100&amp;cat=gwd/Top&amp;q=%s" SHORTCUTURL="gd"&gt;Google Directory&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://news.google.com/news?svnum=100&amp;q=%s" SHORTCUTURL="gn"&gt;Google News&lt;/A&gt;
        &lt;DT&gt;&lt;A HREF="http://groups.google.com/groups?num=100&amp;q=%s" SHORTCUTURL="gg"&gt;Google Groups&lt;/A&gt;
    &lt;/DL&gt;&lt;p&gt;
&lt;/DL&gt;&lt;p&gt;
&lt;/code&gt;
&lt;/readmore&gt;

To use, DL the code, save the file somewhere, &lt;strong&gt;search&amp;replace "put_your_username_here" with your own username&lt;/strong&gt;, 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:

&lt;dl&gt;&lt;dt&gt;&lt;b&gt;pm&lt;/b&gt; foo
&lt;/dt&gt;&lt;dd&gt;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 [id://106].

&lt;/dd&gt;&lt;dt&gt;&lt;b&gt;pmc&lt;/b&gt; blah blah blah
&lt;/dt&gt;&lt;dd&gt;Mnemonic for "Perl Monks Chat". You will utter "blah blah blah" onto the chatterbox. This is cool, though not very useful.

&lt;/dd&gt;&lt;dt&gt;&lt;b&gt;pmb&lt;/b&gt; 31415
&lt;/dt&gt;&lt;dd&gt;Mnemonic for "Perl Monks Bookmark". This needs a node ID, which it turns into an &amp;#91;id://31415] style link to /msg to yourself. Intended to be used while browsing, deleting the usual &lt;tt&gt;http://www.perlmonks.org/index.pl?node_id=&lt;/tt&gt; prefix in the address bar and typing "pmb " in front of the node ID.

&lt;/dd&gt;&lt;dt&gt;&lt;b&gt;cpan&lt;/b&gt; Foo::Bar
&lt;/dt&gt;&lt;dd&gt;Perform a CPAN module query for [cpan://Foo::Bar].

&lt;/dd&gt;&lt;/dl&gt;

&lt;p&gt;As a freebie, you also get &lt;tt&gt;qw(gw gg gd gi gn)&lt;/tt&gt; shortcuts for Google Web, Groups, Directory, Images and News searches, respectively, an &lt;b&gt;fm&lt;/b&gt; shortcut for Freshmeat queries and an &lt;b&gt;fd&lt;/b&gt; one for [http://freedb.org|freedb] searches.&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;

&lt;p align="right"&gt;&lt;em&gt;Makeshifts last the longest.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;small&gt;20030403 Edit by [Corion]: &lt;tt&gt;s!\broot\b!put_your_username_here!&lt;/tt&gt; (plus some other minor formattings)&lt;/small&gt;&lt;/p&gt;</field>
</data>
</node>
