This is the historical archive of the now-inactive 'grubstreet' list.
Discussion on OpenGuides development has now moved to OpenGuides-Dev. Discussion on The Open Guide to London now takes place on OpenGuides-London.

Re: [grubstreet] Documentation for the search?

[prev] [thread] [next] [lurker] [Date index for 2002/12/18]

From: Kate L Pugh
Subject: Re: [grubstreet] Documentation for the search?
Date: 01:13 on 18 Dec 2002
It already works like this.  It uses LWP::Simple to get the
grubstreet.pl?search=foo page.  See Search.pm:


sub results_from_string { 
    my ($self, $search_string) = @_; 
    return () unless $search_string; 
    $search_string = uri_escape( $search_string ); 
 
    my $result_page = get("$grubstreet_url?search=$search_string") 
      or croak "Couldn't get result page"; 

[...]


Kake

-- 
grubstreet mailing list
http://london.openguides.org/old-list-archives/