[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie question on results display
Hi Anne
Sorry for the delay! Some answers...
>(1) Can I automatically associate an identifier for each URL I give
>Webglimpse to search, so that when the results come back it will say
>"Montgomery county shelter" (which I have designated) and then the link to
the title of the page? A lot of shelters don't put in proper titles on
their pages and so it's impossible to tell what shelter you're linking to.
The answer to this one is kind of, but only with the commercial version.
CustomOutputTool.pm has features to specify replaceable fields in the
output text, but it still doesn't have a place to add extra meta-info. You
could use any pattern from the matched file itself as the "link text" in
the output, but not information from a separate file. Take a look at
http://webglimpse.net/docs/howto_customizeoutput.html and see if that sound
like it would work for you.
>(2) Can I parse out the bad text on some of the returns -- some returns
bring back HTML code mixed in with the description. Or can I limit the
number of characters/words brought back in the search so that a huge
paragraph doesn't come back and crowd the page?
Yes! This one is easy, at least. You can use an input tag in the search form
<INPUT NAME="maxchars" VALUE=10000>
to set the maximum # of characters that will be output. You can let the
user further adjust the number, or make it hidden so that it just
automatically limits the output.
--Golda