Re: bookmarks as RDF? (fwd)

for reference

---------- Forwarded message ----------
Date: Tue, 05 Nov 2002 15:08:57 +1030
From: Michael Gratton <mike@vee.net>
To: Bob DuCharme <bobdc@snee.com>
Cc: mozilla-rdf@mozilla.org
Newsgroups: netscape.public.mozilla.rdf
Subject: Re: bookmarks as RDF?
Resent-Date: Mon, 4 Nov 2002 20:48:45 -0800 (PST)
Resent-From: mozilla-rdf@mozilla.org


Hi Bob,

Bob DuCharme wrote:

> What would it take for me to save the contents of my bookmarks as RDF?

If it's not too late, have a look at the attached XUL file in
Mozilla[0]. It does two things:

  - display your bookmarks as a XUL tree.
  - export your bookmarks as RDF

The code is very crusty, inlcuding the hard-coded export destination,
but shows a simple way to achieve this.

Please let m eknow if you have any problems/questions, but CC me in as I
don't read the list/group very often.

/mike

[0] - You'll need the following (dangerous) pref set:
user_pref("signed.applets.codebase_principal_support", true);

-- 
Mike Gratton <jabber:mjg@jabber.vee.net> <http://web.vee.net/>
"I'd rather be anywhere, doing anything"

Received on Tuesday, 5 November 2002 07:32:48 UTC