Geoff Hutchison <[EMAIL PROTECTED]> writes:
> STATUS of ht://Dig branch 3-2-x
>
[...]
> NEEDED FEATURES:
[...]
> * Handle noindex_start & noindex_end as string lists.
[...]
I posted a patch to allow up to 11 noindex_start/noindex_end pairs
back in March. It's a bit kludgey, but I find it useful.
I've attached my original post; the patch is available at:
http://www.suspectclass.com/~sgifford/htdig/htdig-3.1.6-multiple-noindex.patch
----ScottG.
--- Begin Message ---
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.
--- End Message ---