Re: [htdig] search results


Subject: Re: [htdig] search results
From: alan (alan@id-media.com)
Date: Tue Jul 25 2000 - 15:19:18 PDT


this is what the HTML file will probably look like (think of this when u
read the previous message indicated by >'s):

<html>
<head>
<title>http://www.the_link_to_be_displayed.com>
<META NAME="keywords" CONTENT="National Parks nature wildlife Canada camping
outdoors birds whales bears wolves frogs">
</head>
<body>
Parks Canada: Information on all National Parks with virtual tours
</body>
</html>

i can get $&(TITLE), $(EXCERPT) out of this so the short.html would look
like this:

<a href="$&(TITLE)">$&(EXCERPT)</a></strong> $(STARSLEFT) $(PERCENT)%
<br>
<br>

-alan

alan wrote:

> i have decided to do something a little weird but simple with the htdig
> search results... (i haven't tested this idea yet)
>
> i have a whole bunch of links (URLs)... each link has a set of
> keywords... each link (
http://www.the_link_to_be_displayed.com) is put
> into an html doc similar to this:
>
> <html>
> <head>
> <title>http://www.the_link_to_be_displayed.com>
> <META NAME="keywords" CONTENT="blah blah blah blah">
> </head>
> <body>
>
http://www.the_link_to_be_displayed.com
> </body>
> </html>
>
> what i need to happen is for the search results to display only the link
> (http://www.the_link_to_be_displayed.com) similar to the short.html but
> instead of the <a href="..."></a> pointing to the file it points to the
> link inside the html file...
>
> so the short.html would look something like this...
>
> <a href="$&(TITLE)">$&(TITLE)</a></strong> $(STARSLEFT) $(PERCENT)%
> <br>
> <br>
>
> my questions :) are:
> is it a good idea to use $&(TITLE)?
> is there another variable that would be better to use like $(EXCERPT) or
> $(DESCRIPTION) or $(DESCRIPTIONS) or something else?
> and do i actually need <body>contents to be shown</body> in a html file
> for the file to be indexed by htdig because i was wondering if i could
> just have a HTML file with just a title and meta keywords if i choose to
> use $&(TITLE)?
>
> *** i know it would probably be better to put these links+keywords in a
> database and search the keywords from a database but i like the htdig
> search engine and i want to try this using files ***
>
> thx
>
> PS: this is just the beginning :)
>
> -alan
>
> ------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> htdig-unsubscribe@htdig.org
> You will receive a message to confirm this.

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Jul 25 2000 - 04:16:46 PDT