On Wednesday, April 15, 1998 2:59 PM, Thomas Barclay
> [SMTP:Thomas.Barclay@sofkin.ca] wrote:
May be a a bit of a challenge given their format, but I'm sure somewhere there
is a program to search compressed
text files? Wiring it up with a GCI / script interface will
be a bit more probematical. IIRC Java 1.1 has built in support for zip files
so a search applet should be easy and probably already exists??
Java dudes? anyone?
> Tim Jones wrote:
I guess I should answer this, since I think you're talking about my archive
site. (8-) (I missed the original question; I guess I should look it
up in the archives. (8-) )
Anywas: my ISP at home won't let me use cgi scripts; it's a security hole they
don't want to deal with. Personally, I don't blame them; the fairly recent
F00F bug is just the most recent in a bunch of headaches you can get if you
allow even restricted CGI script access.
I compress the files mainly in interests of my disk quota. This way, I can
put the entire thing on-line, and people can download at will.
I guess the question is now: how badly do people want a search engine? If
demand is bad enough, I can try talking my ISP into an exception. Or I can
come up with an auto-index page for the last month worth of
archives (I'm assuming that most people just use the last month worth of
archives.)
I'm also toying with the idea of getting a cable modem, and being net
accessible 24 hours a day. But this is a long range solution; it won't be for
six months, if then.
Finally, somebody who has completely free access to the Net (or is a
SysAdmin, which amounts to the same thing (8-) ), could setup some of
the
auto-archiving products out there. I can't, unfortunately; I have
dial-up
access at home, and I sit behind a rather behemoth firewall at work.
So, I guess this is the archives review, where you get to hack me to shreds.
(8-)
Thanks,
J.
> Tim Jones wrote:
Yes, Java 1.1 has support for zip/gzip files. Whether or not
someone has thought to create an applet for searching zipped text files for
particular occurences of text strings is anyone's guess. I suggest looking at
the Sun Microsystems
website at http://java.sun.com/
If someone has access to a search engine in the public
domain that is written in C/C++/Java I would be willing
to _try_ to add the required zip file support as well
as any translation to Java that may be required. I will not write any of the
searching stuff, though.
> anyone?
With Java this shouldn't be a problem. Of course, everyone who wants to use
the search engine would need a Java 1.1 capable browser...
[snip]
> Thanks,
************************************************
> On Thu, 16 Apr 1998, Tony Christney wrote:
> With Java this shouldn't be a problem. Of course, everyone who wants
Java applet-based search engine strikes me as a horribly inefficient
approach. Even if one considers the material too small to rate a permanent
index file, wouldn't it be far better to run it as a servlet? Or RMI at the
very least, but servlet approach would make it
usable by any browser -- let's face it, the user interface doesn't
really
need anything CGI/forms can't provide.
> Tony Christney wrote:
the
> >fairly recent F00F bug is just the most recent in a bunch of
It would be better than nothing, and give me an excuse to learn Java.
(8-)
I would probably make the problem a little simpler by not zipping the last
months worth of archives, and just letting you search index pages from before
that point.
Thanks for the suggestion though! I hadn't thought of doing it that way.
J.
> Thanks for the suggestion though! I hadn't thought of doing it that
Check out searchTHIS...
http://www.user1.netcarrier.com/~cleary/this/sthis.html
I'm considering using this one. It appears to index your local files in the
directory of your web site (providing you have the appropriate META
tags)..
Looks simple. Don't know about its use for zip files...