Ciao Blake,

Grugett, Blake ha scritto:
> I am thinking about using htdig as a search engine on my University health
> site. I want to be able to prevent a portion of a document from being
> indexed however. This section is actually a navigation include that will
> live on every page. The problem is that when using the "excerpt" variable I
> get this include content in every results display. Can htdig "noindex" a
> portion of a page or can the excerpt variable be altered to begin at a
> certain point in the page?

Yes it can. I suggest that you look at the 'noindex_start' and
'noindex_end' configuration parameters.

http://www.htdig.org/attrs.html#noindex_start
http://www.htdig.org/attrs.html#noindex_end

Hope this helps.

Ciao,
Gabriele

P.S.: Sorry (to the community) I have not been present in the last few
years. Hopefully things will change in the future. :)

-- 
Gabriele Bartolini: Open source programmer and data architect
Current Location: Prato, Tuscany, Italy
[EMAIL PROTECTED] | www.devise.it
"If I had been born ugly, you would never have heard of Pelé", George Best
http://www.linkedin.com/in/gbartolini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to