Perl programmer for hire: download my resume (PDF).
John Bokma MexIT
freelance Perl programmer

Lean and Mean Bookmarks

Friday, July 22, 2011 | 0 comments

Close to six PM I removed all the default bookmarks from Firefox and imported the culled bookmarks HTML backup I had created yesterday to only restore the keymarks and live bookmarks.

Deleting default bookmarks from Firefox
Deleting default bookmarks from Firefox

The default bookmarks were deleted via the formerly more aptly named "Bookmarks Manager", the "Library". I opened this dialog window by selecting "Organize Bookmarks..." in the "Bookmarks" menu of Firefox. Next I selected in the left pane of the "Library" dialog the "Bookmarks Toolbar" entry under "All Bookmarks", selected all bookmarks in the right pane, and selected the "Delete" option in the context (right mouse button) menu. Then I repeated this step for the "Bookmarks Menu" entry in the left pane. Since the "Unsorted Bookmarks" entry was still empty, I was done.

Next, I imported the culled version of a HTML export of the bookmarks I had made yesterday. I had removed most entries, leaving only the the "Quick Searches" (keymarks) in the "Bookmarks Menu" and the "Quick" folder and the live bookmarks in the "Bookmarks Toolbar". An outline of how the bookmarks HTML file looks after I had edited it is given below:

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>
<DL><p>
    <DT><H3 ...>Quick Searches</H3>
    <DL><p>
        <DT><A HREF="http://www.google.com/search?q=%s" ...>[g] Google</A>
	:
        <DT><A HREF="http://www.answers.com/%s" ...>[a] Answers.com</A>
	:
    </DL><p>
    <DT><H3 ...>Bookmarks Toolbar</H3>
<DD>Add bookmarks to this folder ...
    <DL><p>
        <DT><H3 ...>Quick</H3>
        <DL><p>
            <DT><A ...>JDK 6 Documentation</A>
	    :
            <DT><A ...>Apache Ant User Manual</A>
	:
        </DL><p>
        <DT><A FEEDURL="http://rss.slashdot.org/..." ...>Slashdot</A>
	:
        <DT><A FEEDURL="http://www.digg.com/rss/index.xml" ...>digg</A>
	:
    </DL><p>
</DL><p>

The modified version of the bookmarks backup was imported via the "Import HTML..." entry in the "Import and Backup" menu of the "Library" window. Since the imported "Bookmarks Toolbar" ended up under the "Bookmarks Menu" entry I had to manually cut this folder's contents and paste it under the actual "Bookmarks Toolbar" folder. Finally I deleted the, now empty, imported "Bookmarks Toolbar" folder.

Imported bookmarks and folders after some reorganization.
Imported bookmarks and folders after some reorganization.

Lean & Mean Bookmarks related

If you want Lean and Mean Bookmarks too, please read the following articles I've written as well:

Also today

Please post a comment | read 0 comments | RSS feed