From owner-freebsd-chat Thu Feb 21 12:44:44 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 92E0C37B427 for ; Thu, 21 Feb 2002 12:44:32 -0800 (PST) Received: (qmail 70037 invoked by uid 100); 21 Feb 2002 20:44:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15477.23596.790760.377432@guru.mired.org> Date: Thu, 21 Feb 2002 14:44:28 -0600 To: "Jeremy C. Reed" Cc: freebsd-chat@freebsd.org Subject: Re: Cross platform bookmarks and address books? In-Reply-To: References: X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jeremy C. Reed types: > On 21 Feb 2002, Dag-Erling Smorgrav wrote: > > Eric Anderson writes: > > > So how does one add to the list easily? Paste the url's in to a > > > form? Just curious.. > > Obviously. > It would be nice if all browsers could have hooks to allow adding > bookmarks and viewing bookmarks using some standard format. Then you could > write whatever tool you want to manage it. You don't need that kind of functionality for adding bookmarks. All you need is the ability to pass a URL to an external command. w3m provides that - actually, it provides three of them, allowing you to invoke one of three differenrt "external browsers" on either the current link or the current page. > So then you wouldn't have to "paste .. in to a form". For example, > selecting "add bookmark" could send the URL, title, etc. to some helper > application. My third "external browser" in w3m is a script that adds a URL to my web-based link farm. > And clicking "view bookmarks" (or whatever) would run the helper > application so it could either output the top level links or categories or > it could run as a standalone application. The link farm means that you put one bookmark on each machine - the list of link farm. Or make it your home page. > This would all seem valuable to me. I should write some patches for links > and lynx to use some helper tools. And then write some scripts that > compare new .netscape/bookmarks.html with current bookmarks data and merge > in new; and also regenerate netscape bookmarks.html from master list. Might I suggest that your interface can be done with a near-trivial API. Let the user specify one program. If you invoke it with an argument, that argument is a URL to add to the bookmark set. If you invoke it with no arguments, then it should print to standard output an HTML page to be displayed. Whether that page is a collection of links or a link to the real web page is up to the developer of the command in question. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message