Date: Thu, 21 Feb 2002 14:44:28 -0600 From: "Mike Meyer" <mwm-dated-1014756269.935025@mired.org> To: "Jeremy C. Reed" <reed@reedmedia.net> Cc: freebsd-chat@freebsd.org Subject: Re: Cross platform bookmarks and address books? Message-ID: <15477.23596.790760.377432@guru.mired.org> In-Reply-To: <Pine.LNX.4.43.0202211221080.25937-100000@pilchuck.reedmedia.net> References: <xzpadu28xgn.fsf@flood.ping.uio.no> <Pine.LNX.4.43.0202211221080.25937-100000@pilchuck.reedmedia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy C. Reed <reed@reedmedia.net> types: > On 21 Feb 2002, Dag-Erling Smorgrav wrote: > > Eric Anderson <anderson@centtech.com> 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15477.23596.790760.377432>