Browser.bookmarks.sort.resource

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

The Bookmarks Manager in Mozilla has several sort options available by clicking on column headers or via the View menu. This preference keeps track of the current sorted attribute. (The order in which the attribute is sorted is determined by browser.bookmarks.sort.direction.)

Since bookmarks in Mozilla are an RDF datasource, the attribute is specified by the namespace URL (http://home.netscape.com/NC-rdf or http://home.netscape.com/WEB-rdf) and the RDF property name.

Possible values and their effects

rdf:http://home.netscape.com/NC-rdf#Name

Sort by bookmark name (Default)

rdf:http://home.netscape.com/NC-rdf#URL

Sort by URL

rdf:http://home.netscape.com/NC-rdf#ShortcutURL

Sort by bookmark keyword

rdf:http://home.netscape.com/NC-rdf#Description

Sort by description

rdf:http://home.netscape.com/NC-rdf#BookmarkAddDate

Sort by bookmark creation date

rdf:http://home.netscape.com/WEB-rdf#LastModifiedDate

Sort by bookmark modification date

rdf:http://home.netscape.com/WEB-rdf#LastVisitDate

Sort by date of last visit to bookmark URL

UI

Mozilla Firefox 1.0–1.5

The “Sorted by ______” menu items under “Bookmarks → Manage Bookmarks... → View” and clicking the column headers in the list view set this preference to the corresponding values above.

Mozilla Firefox 2.0

The “Sorted by ______” menu items under “Bookmarks → Organize Bookmarks... → View” and clicking the column headers in the list view set this preference to the corresponding values above.

First checked in

2002-03-12 by Ben Goodger

Has an effect in

  • Mozilla Suite (1.0 RC1–1.3)
  • Mozilla Firefox (all versions)

Related bugs

Related preferences