Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 1997 08:42:45 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        Wolfram Schneider <wosch@apfel.de>
Cc:        www@freebsd.org
Subject:   Re: directory tree of http://www.de.freebsd.org
Message-ID:  <Pine.BSF.3.96.970427083452.24221D-100000@fallout.campusview.indiana.edu>
In-Reply-To: <199704271156.NAA05367@campa.panke.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Apr 1997, Wolfram Schneider wrote:

> John Fieber writes:
> >> short	http://www.de.freebsd.org/~wosch/test/dtree/dir.html
> >> long	http://www.de.freebsd.org/~wosch/test/dtree/file.html
> >
> >How hard would it be to extract <title>titles</title> and use
> >them instead of filenames?  (for the long listing).
> 
> Hard. In this case it would be easier to rewrite dtree 
> in perl5 + libwww.

Hmm...  maybe not.

Lets see, we have a file full of links in the form <A
HREF="path/file">file</A>.  A post-processing filter just needs
to use the "path/file" to grab the <title> element and replace
the "file"  with the real title.  Probably could be done in < 30
lines of perl.  :) 

-john




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970427083452.24221D-100000>