Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 12:54:14 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Louis LeBlanc <leblanc+freebsd@smtp.ne.mediaone.net>, Mark Drayton <mark.drayton@izr.com>
Cc:        questions@freebsd.org
Subject:   Re: Way Off Topic: Bookmarks
Message-ID:  <15303.11846.886398.351236@guru.mired.org>
In-Reply-To: <34551253@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Drayton <mark.drayton@izr.com> types:
> what ever (thursday@sdf.lonestar.org) wrote:
> > I'm wondering what people are doing to manage their bookmarks. In my
> > home office, I find myself switching between Netscrape on my Windows
> > machine, and between Konqueror & Netscrape on my FreeBSD machine. I
> > mostly use the FreeBSD machine for surfing, but my NN/Win instance had
> > the biggest bookmarks file (years of surfing on that platform before I
> > found the *nix light).
> I have a web page on my server with all my commonly used bookmarks. I
> store all the bookmarks in an XML file (easier to edit) which is then
> turned into HTML by a CGI script.

Mine - which Louis and I have been discussing - stores them in an SQL
database, which is also easier to edit, and makes keeping track of
things like the last visit and the visitor count easy. The CGI script
accepts an argument to sort on either one of those two fields. That
means I can put either the ones I use a lot or the ones I used
recently at the top of the list.

Louis LeBlanc <leblanc+freebsd@smtp.ne.mediaone.net> types:
> On 10/11/01 01:47 PM, Mike Meyer sat at the `puter and typed:
> > Thank you. Yes, I can add things automatically from my primary
> > browser. I use w3m, which is the only browser I know of that supports
> > the concept of "open another browser on a page". One of the "other"
> > browsers is a script that accepts the URL on the command line, digs
> > the title up over the network, and adds the url and title to the
> > database.
> > Any scriptable browser could do this kind of thing, though the only
> > scriptable browsers I know of are Amosaic, Ibrowse and AWeb, none of
> > which run on Unix. In fact, this all started with Amosaic.
> Hmm.  There must be a way to handle this from within Galeon, Mozilla,
> or Netscrape.  Maybe some kind of kludge.  Maybe just a perl tool you
> can just pass the URL to.  It could then grab the title and dump it to
> the cgi handler at your site.

What I mean by a "scriptable browser" is one that lets me associate a
command that includes information from the current page with a user
command of some kind. Netscape can't do it. I don't think Mozilla
can. Galeon might, but my builds of it fail to run.

> > I'm also not sure how the py_apache module would be dealt with. It's
> > not a port, and the port with that functionality doesn't build and
> > would require rewriting the thing.
> I have a /usr/ports/www/mod_python port.  As far as I can tell, it's
> the same idea, just a different implementation.

Yup. Except that 1) it doesn't build here, and 2) it uses a different
API, so I'd have to rewrite my scripts.

> > If you really want, I might be able to find the original versions that
> > kept text in a page. I'm pretty sure I've got the ARexx version, and
> > there are rexx interpreters in the ports tree. I'm not so sure about
> > the version that I used on Unix before I write the current version.
> I still think perl will do this.  Even a secure connection would be
> possible to connect to a secure server.

Of course Perl could do this. I just prefer Python to Perl. Having a
maildrop to add URLs is pretty straightforward. The hard part is
getting a command in the browser that will invoke the script that adds
a URL. Before I switched to w3m, I would copy and paste the URL into a
shell to add it :-(.

A scriptable environment is one of the things I miss when working on
Unix desktops.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?		A: Tell them your plans.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15303.11846.886398.351236>