To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 1751
1750  |  1752
Subject: 
Re: Fun with squirm
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 20 Jun 2000 19:48:36 GMT
Viewed: 
122 times
  
In lugnet.off-topic.geek, Matthew Miller writes:
I'm using the squirm redirector together with squid to block banner ads.
[...]
So, I added this to my squirm patterns:

  regexi http://([0-9]*)/$ http://jadzia.bu.edu/~mattdm/cgi/lugredir.cgi?\1

The cgi is simply:

  #!/bin/sh
  echo -ne "Location: http://www.lugnet.com/pause/search/?query=$1\n\n"

So now, I can just select a set number, and paste it into netscape, and I
get the set info from LUGnet. (Or I can just type a number into the location
bar.)

Hey, that's pretty cool!  (I'm not using squirm but I can imagine how it
works from your description.)  What happens if you do this?--

   regexi http://\^([0-9]*)/$ http://jadzia.bu.edu/~mattdm/cgi/lugredir2.cgi?\1

   #!/bin/sh
   echo -ne "Location: http://www.lugnet.com/quickset/ql.cgi?&q=$1\n\n"

and type in, say,

   ^7121

--Todd



Message has 2 Replies:
  Re: Fun with squirm
 
(...) Won't work like that, 'cause Squid is pretty strict about the validity of hostnames. (Technically, they shouldn't start with a number, either, but I guess it's not that strict.) You could use something like "q7121", though. (24 years ago, 20-Jun-00, to lugnet.off-topic.geek)
  Re: Fun with squirm
 
(...) way) too small for me under linux... [ -> .admin.general ] (24 years ago, 20-Jun-00, to lugnet.off-topic.geek)

Message is in Reply To:
  Fun with squirm
 
I'm using the squirm redirector together with squid to block banner ads. Netscape Navigator for Unix tries to load any URL which you paste into the browser window. So, select a URL, then middle-click on your browser window, and poof, you're there. (...) (24 years ago, 20-Jun-00, to lugnet.off-topic.geek)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR