Subject: Re: I lost all my Mozilla Bookmarks.
To: Wolfgang S. Rupprecht <wolfgang+gnus20041217T131831@dailyplanet.dontspam.wsrcc.com>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 12/18/2004 14:44:18
[ On Friday, December 17, 2004 at 13:50:36 (-0800), Wolfgang S. Rupprecht wrote: ]
> Subject: Re: I lost all my Mozilla Bookmarks.
>
> Mozilla and Firefox appear to use some machine-dependent database
> files for the bookmarks.

I think any mozilla-based browser can be pointed at a shared standard
HTML file with the following in the user.js startup file:

	user_pref("browser.bookmarks.file", "~/mozbookmarks.html");

Here's what the top of mine looks like:

	<!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</H1>

There's nothing even remotely architecture-dependent in it.

I've shared that file across NFS for some time now, and have used it
between at least i386 and alpha, though I can't say that I've ever tried
adding a bookmark at _exactly_ the same time from two different hosts.
I would expect the normal NFS locking problems to prevail and the file
to be clobbered.

I don't remember what happens when two browsers are running and one
updates the file -- IIRC though the other browser noticed the changed
timestamp and re-read the file.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>