A bad URL on my site cause webinator to enter into a
loop where it routinely request bad URLs. I have since
fixed the bad anchor reference but have some questions
about where I can get more information on construction and
syntax of SQL queries.
The query I tried to send is
gw -d- -st "select Url,Ref from refs where
Ref='www.lib.duke.edu/shoe/goo/foo.html'"
but I really wanted to search for any and all occurrences of
"foo.html" using truncation.
I tried the asterisks without any success.
gw -d- -st "select Url,Ref from refs where
Ref=*foo.html*"
And while I'm on the topic. When I finish entering
meta data into a new collection of files, I'll need to get
some information about how to construct the proper
web page (syntax) to search those meta data fields from the
cgi form. I'm guessing this is not possible but just in
case I'm missing something let me ask here. Specifically I
would like to have meta data entries for author, title, and
abstract. Will I be able to retrieve data from those
fields and only those fields? E.g. send a cgi form query
that request only the name "smith" from the author meta
data?
And even better will I be able to use any boolean
operations in a cgi search form context? E.g.
author=smith AND title=keyword_in_article_title
--John Little
jrl@duke.edu