[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]
Re: Search results titles
On Mon, Mar 05, 2001 at 05:47:30AM -0600, Golda Velez wrote:
> That should work if the URL ends in .pl, but for Andy's example
>
> http://server.domain/cgi-bin/program.pl?foo=bar&bar=foo
>
> I'm not sure if it will.
It should (and according to his last message apparently does) if he
has configured makenh to fetch URLs via the http protocol and treat
them as remote. In fact, he has to, because if makenh were to treat
these URLs as local, it would just attempt to index program.pl,
instead of the real output. At least that is what I think happens from
reading the source. In the remote case, makenh fetches the URL and
cuts off the part after the "?", so the extension check should be
fine.
> N.html instead of N.program.pl?foo=bar&bar=foo as it currently does.
I think, it actually is N.pl. It would certainly explain why Andy's
fix worked. I had something like that in mind when I mentioned hacking
webglimpse. I had not realized that it would be so easy, though. :)
Of course, the best course of action would be to have glimpse read the
extensions from a configuration file.
- Christian