From grdetil@scrc.umanitoba.ca Wed Jan 6 13:32:53 1999 Date: Wed, 6 Jan 1999 14:58:27 -0600 (CST) From: Gilles Detillieux To: htdig@sdsu.edu Cc: Gilles Detillieux Subject: htdig: Patches for htdoc - missing attributes/bad defaults I had noticed some discrepancies between the default values listed in htdoc/attrs.html and htcommon/defaults.cc, so I finally took the time to compare them fairly extensively, and here are the corrections I came up with. By the way, I always thought that .tgz and .rpm should be added to the list of default bad_extensions, but I'll leave that to Geoff. :) Wed Jan 6 14:49:47 1999 Gilles Detillieux * attrs.html: Added four new attributes, fixed defaults & typos. * cf_byname.html: Added four new attributes. * cf_byprog.html: Added four new attributes. --- htdoc/attrs.html.orig Tue Dec 22 19:53:13 1998 +++ htdoc/attrs.html Wed Jan 6 14:22:04 1999 @@ -226,7 +226,7 @@
.wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif .jpg - .jpeg .aiff + .jpeg .aiff .class .map .ram
description: @@ -339,7 +339,6 @@
-
common_dir @@ -1151,7 +1150,7 @@ default:
- cgi-bin + cgi-bin .cgi
description: @@ -1194,6 +1193,9 @@
default:
+
+ <empty> +
description:
@@ -1810,7 +1812,7 @@ default:
- none + <empty>
description: @@ -1857,7 +1859,7 @@ default:
- .sdsu.edu/ + ${start_url}
description: @@ -1950,7 +1952,7 @@ default:
- None + <empty>
description: @@ -1996,7 +1998,7 @@ default:
- None + <empty>
description: @@ -2133,7 +2135,7 @@ default:
- badguy@localhost + bogus@unconfigured.htdig.user
description: @@ -2176,7 +2178,7 @@ default:
- or + and
description: @@ -2436,6 +2438,49 @@
+ + max_meta_description_length +
+
+
+
+ type: +
+
+ number +
+
+ used by: +
+
+ htdig +
+
+ default: +
+
+ 512 +
+
+ description: +
+
+ While gathering descriptions from meta description tags, + htdig will truncate + descriptions which are longer than this length. +
+
+ example: +
+
+ max_meta_description_length: 1000 +
+
+
+
+
+
+
max_prefix_matches
@@ -2523,6 +2568,50 @@
+ + maximum_pages +
+
+
+
+ type: +
+
+ integer +
+
+ used by: +
+
+ htsearch +
+
+ default: +
+
+ 10 +
+
+ description: +
+
+ This value limits the number of page links that will be + included in the page list at the bottom of the search + results page. Note that this does not limit the number + of documents that are matched in any way. +
+
+ example: +
+
+ maximum_pages: 20 +
+
+
+
+
+
+
meta_description_factor
@@ -2968,6 +3057,51 @@
+ + no_page_list_header +
+
+
+
+ type: +
+
+ string +
+
+ used by: +
+
+ htsearch +
+
+ default: +
+
+ <empty> +
+
+ description: +
+
+ This text will be used as the value of the PAGEHEADER + variable, for use in templates or the search_results_footer file, + when all search results fit on a single page. +
+
+ example: +
+
+ no_page_list_header: + <hr noshade size=2>All results on this page.<br> +
+
+
+
+
+
+
no_prev_page_text
@@ -3057,6 +3191,50 @@
+ + page_list_header +
+
+
+
+ type: +
+
+ string +
+
+ used by: +
+
+ htsearch +
+
+ default: +
+
+ <hr noshade size=2>Pages:<br> +
+
+ description: +
+
+ This text will be used as the value of the PAGEHEADER + variable, for use in templates or the search_results_footer file, + when all search results fit on more than one page. +
+
+ example: +
+
+ page_list_header: +
+
+
+
+
+
+
pdf_parser
@@ -3121,7 +3299,7 @@ default:
- None + *
description: @@ -3206,7 +3384,7 @@ default:
- false + true
description: @@ -3459,11 +3637,20 @@ A string of the search words with spaces in between. +
+ PAGEHEADER +
+
+ This expands to either the value of the page_list_header or no_page_list_header + attribute depending on how many pages there are. +
- Note that this file will NOTbe output + Note that this file will NOT be output if no matches were found. In this case the nothing_found_file attribute - is used in stead. + is used instead.
example: @@ -3566,10 +3753,10 @@ between. - Note that this file will NOTbe output + Note that this file will NOT be output if no matches were found. In this case the nothing_found_file attribute - is used in stead. + is used instead.
example: @@ -3604,7 +3791,7 @@ default:
- none + <empty>
description: @@ -3648,7 +3835,7 @@ default:
- -1 (no limit) + -1 (no limit)
description: @@ -3878,6 +4065,9 @@
default:
+
+ <empty> +
description:
@@ -3994,7 +4184,7 @@ default:
- http://www/ + http://www.htdig.org/
description: --- htdoc/cf_byname.html.orig Wed Jan 6 14:28:35 1999 +++ htdoc/cf_byname.html Wed Jan 6 14:36:47 1999 @@ -150,10 +150,15 @@ * max_hop_count
* + max_meta_description_length
+ * max_prefix_matches
* max_stars
* maximum_pages
+ * meta_description_factor
* metaphone_db
@@ -176,11 +181,15 @@ * no_next_page_text
* no_page_list_header
+ * no_prev_page_text
* nothing_found_file

P
+ * page_list_header
* pdf_parser
* max_hop_count
* + max_meta_description_length
+ * meta_description_factor
* minimum_word_length
@@ -204,6 +207,8 @@ * max_stars
* maximum_pages
+ * method_names
* minimum_prefix_length
@@ -218,9 +223,13 @@ * no_next_page_text
* no_page_list_header
+ * no_prev_page_text
* nothing_found_file
+ * page_list_header
* prefix_match_character
* Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 ---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.