Mercurial > hg > egg-tcls
diff config.urllog.example @ 594:a488be0f45e0
urllog: More cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 28 Jan 2021 12:47:20 +0200 |
parents | 3bd5a5e072ad |
children | 577763cb8864 |
line wrap: on
line diff
--- a/config.urllog.example Wed Jan 27 17:14:11 2021 +0200 +++ b/config.urllog.example Thu Jan 28 12:47:20 2021 +0200 @@ -7,8 +7,8 @@ ### ### Bind commands ### -bind pub - !urlfind urllog_cmd_pub_find -bind msg - !urlfind urllog_cmd_msg_find +bind pub - !urlfind urllog_cmd_pub_search +bind msg - !urlfind urllog_cmd_msg_search bind pubm - *.* urllog_check_line bind topc - *.* urllog_check_line @@ -92,7 +92,7 @@ # 1 = Enable showing of ShortURLs # 0 = ShortURLs not shown in any bot actions -set urllog_shorturl 1 +set urllog_shorturl_enable 1 # Web server URL that handles redirects of ShortURLs @@ -122,12 +122,19 @@ ### ### Message related settings ### -# Max length of original URL to be shown, rest is chopped -# off if the URL is longer than the specified amount. -set urllog_shorturl_max_orig 35 +# Max length of original URL to be shown when adding +set urllog_add_url_max 100 + +# Max length of title to be shown when adding +set urllog_add_title_max 100 + +# Max length of original URL to be shown on search +# results IF ShortURLs are enabled and is available. +# If ShortURLs are NOT enabled, full URL is used! +set urllog_search_url_max 50 # Max length of title to be shown on search results -set urllog_title_max 35 +set urllog_search_title_max 50 # Message texts (informal, errors, etc.) @@ -159,7 +166,7 @@ "url_known_long" "wanha!" - "search_result_title" "'@2@' " + "search_result_has_title" "'@2@' " "search_result_no_title" "" "search_result_short" "#@1@: @4@@5@ @6@ (@2@ @ @3@)"