Bookmarks.html: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{profile-file|filename=bookmarks.html}}
{{profile-file|filename=bookmarks.html}}
bookmarks.html stores bookmarks. The [[Bookmarks Manager]] provides an interface to edit, import, and export this file.
bookmarks.html stores [[bookmarks]] in Firefox 2 and below and in other Mozilla browsers.   The Bookmarks Manager (accessible from the Bookmarks menu) provides an interface to edit, import, and export this file.
 
'''Note:''' Starting in Firefox 3, [[places.sqlite]] is used instead of bookmarks.html for storing bookmarks.  When first upgrading to Firefox 3, the contents of bookmarks.html are imported.  Thereafter,  by default, the bookmarks.html file is no longer updated.  


==Editing==
==Editing==
Though it's usually not necessary to do so because of the UI provided, those knowledgable in [[HTML]] can edit this file. The file is a simple HTML structure that includes definition lists, anchors, and headers. A typical bookmarks.html bookmark contains the URL, name, and other meta data:
Although the Bookmarks Manager is the primary interface for managing bookmarks, bookmarks.html can be edited directly. The file uses a simple HTML structure that includes definition lists, anchors, and headers. A typical bookmarks.html bookmark contains the URL, name, and other meta data:
  <nowiki><DT><A HREF="http://www.w3.org/TR/2004/CR-CSS21-20040225/"  
  <nowiki><DT><A HREF="http://www.w3.org/TR/2004/CR-CSS21-20040225/"  
  ADD_DATE="1079992089" LAST_VISIT="1132078168" LAST_CHARSET=
  ADD_DATE="1079992089" LAST_VISIT="1132078168" LAST_CHARSET=
  "ISO-8859-1" ID="rdf:#$kLc2Z">Cascading Style Sheets, level
  "ISO-8859-1" ID="rdf:#$kLc2Z">Cascading Style Sheets, level
   2 revision 1</A></nowiki>
   2 revision 1</A></nowiki>
As with any other file in the profile, the application should be closed before changes are made or else the changes will be overwritten.
The application should be closed before changes are made, else the changes will be overwritten.


==Moving==
==Moving==
Line 14: Line 16:


==Deleting==
==Deleting==
Deleting bookmarks.html will delete your bookmarks. A new file containing the default bookmarks will be created on start up.
Deleting bookmarks.html will delete your bookmarks in Mozilla Suite/SeaMonkey and a new file containing the default bookmarks will be created on start up.  In Firefox 2 or below,  deleting bookmarks.html will have no apparent effect because the bookmarks.html file will be recreated on start up  from the [[bookmarks.bak]] backup file.  Deleting bookmarks.html has no effect in Firefox 3, which no longer uses that file for bookmark storage.


==Related files and folders==
==Related files and folders==
Line 21: Line 23:
* [[bookmarks.html.moztmp]]
* [[bookmarks.html.moztmp]]
* [[bookmarks-(date).html]]
* [[bookmarks-(date).html]]
* [[bookmarks-(number).html]]


==See also==
==See also==
* [[Bookmarks not saved]]
* [[Bookmarks not saved]]
* [[Import bookmarks]]
* [[Import bookmarks]]
* [[Export bookmarks]]
* [[Lost bookmarks]]
* [[Lost bookmarks]]
* [[Multiple bookmarks files created]]
* [[Lost bookmarks after Firefox 3 upgrade]]
* [[browser.bookmarks.autoExportHTML]]
 


[[Category:Bookmarks]]
[[Category:Bookmarks]]
[[Category:Profile contents (Firefox)]]
[[Category:Profile contents (Firefox)]]
[[Category:Profile contents (Mozilla Suite)]]
[[Category:Profile contents (Mozilla Suite)]]

Latest revision as of 01:30, 25 November 2008

bookmarks.html stores bookmarks in Firefox 2 and below and in other Mozilla browsers. The Bookmarks Manager (accessible from the Bookmarks menu) provides an interface to edit, import, and export this file.

Note: Starting in Firefox 3, places.sqlite is used instead of bookmarks.html for storing bookmarks. When first upgrading to Firefox 3, the contents of bookmarks.html are imported. Thereafter, by default, the bookmarks.html file is no longer updated.

Editing

Although the Bookmarks Manager is the primary interface for managing bookmarks, bookmarks.html can be edited directly. The file uses a simple HTML structure that includes definition lists, anchors, and headers. A typical bookmarks.html bookmark contains the URL, name, and other meta data:

<DT><A HREF="http://www.w3.org/TR/2004/CR-CSS21-20040225/" 
 ADD_DATE="1079992089" LAST_VISIT="1132078168" LAST_CHARSET=
 "ISO-8859-1" ID="rdf:#$kLc2Z">Cascading Style Sheets, level
  2 revision 1</A>

The application should be closed before changes are made, else the changes will be overwritten.

Moving

This file can be moved to a different profile without any extra effort.

Deleting

Deleting bookmarks.html will delete your bookmarks in Mozilla Suite/SeaMonkey and a new file containing the default bookmarks will be created on start up. In Firefox 2 or below, deleting bookmarks.html will have no apparent effect because the bookmarks.html file will be recreated on start up from the bookmarks.bak backup file. Deleting bookmarks.html has no effect in Firefox 3, which no longer uses that file for bookmark storage.

Related files and folders

See also