Here's a brief patch for 3.1.6 to support multiple noindex_start and
noindex_stop directives in the config file.  It's a big of a kludge,
but it solved the problem I was trying to solve.

It adds 10 new noindex_start directives, "noindex_start1" through
"noindex_start10".  It also adds 10 corresponding noindex_end
directives, "noindex_end1" through "noindex_end10".  The standard
noindex_start and noindex_end directives are still supported, and are
considered to be "noindex_start0" and "noindex_end0".  The
noindex_start* tags are scanned sequentially, so whichever one matches
first will be the one that is used.  Only the end tag for the start
tag that was found will be recognized.

I'm new to this list and somewhat new to htdig, and I hacked this
patch together in a little over an hour, so if there's something
really stupid about it, cut me some slack, tell me what it is, and
I'll fix it.  :-)

Patch is at:

    http://www.suspectclass.com/~sgifford/htdig/htdig-3.1.6-multiple-noindex.patch

I look forward to your comments,

----ScottG.


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to