From: Gabriele B. <gab...@gm...> - 2008-11-08 09:19:37
|
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 gab...@de... | www.devise.it "If I had been born ugly, you would never have heard of Pelé", George Best http://www.linkedin.com/in/gbartolini |