Netscape bookmarks

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
Doctype: '''<!DOCTYPE NETSCAPE-Bookmark-file-1>'''
Doctype: '''<!DOCTYPE NETSCAPE-Bookmark-file-1>'''
== Date format ==
Netscape bookmark file dates, e.g., the <tt>ADD_DATE</tt> field, are in ''seconds'' since January 1, 1970.
== See also ==
== See also ==

Revision as of 19:01, 20 January 2016

File Format
Name Netscape bookmarks

Netscape kept its bookmarks in a file named bookmarks.html (or bookmark.htm in versions for archaic operating systems permitting only 8+2 filenames) in the user profile directory. It was (kinda, sorta) HTML, with a weird doctype specific to Netscape and some offenses against HTML decency like odd nesting of elements. It used some particular combinations of tags and attributes to represent the bookmark structure. Specific items changed over time in different versions as new features were added, but the basic structure remained similar to allow bookmarks to be shared between different browser versions. The format remained in use in early Mozilla browsers before switching to the SQLite-based bookmark database (with automatic backups in a JSON-based format) used in the current Firefox (since version 3.0).

Doctype: <!DOCTYPE NETSCAPE-Bookmark-file-1>

Date format

Netscape bookmark file dates, e.g., the ADD_DATE field, are in seconds since January 1, 1970.

See also


Personal tools