Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: Need more control over search results.

Quote Reply
Re: Need more control over search results. In reply to
When everything is finally abstracted out, that line of code will be part of an HTML file, most likely.

First, I don't use the category groupings, because searches should be by relevancy, not categories -- where the most relevant category or link could be the last one presented. This was the first thing I removed from Links 2, and the first thing I worked around in Links SQL.

Second, adding another template for what is a single line of code, may help in data abstraction, but it would incur a performance hit. Since the "formatting" is actually part of what "search.cgi" is doing, ie: presenting the "found" links by category, editing the line of HTML in that file is _not_ unreasonable, or bad form.

Yes, it would be nicer to have all this embedded html in one place, and it eventually will be, but this is _not_ a "links results" formatting or template, which is what I couldn't understand.

There is no way to embed this in the current logic, since each "block" has to be a fully encapsulated block.

You would need to _alternate_ the sub-category name template with the link.html template.

You could do this yourself, actually, if it's that important, but you would incurr a performance hit for that one line that is probably not worth it in the larger scheme of things.

90% of what would need to be done could be set with a <FONT> and a prefix/postfix tag set, where they are set as global configuration options. Beyond that, anything would really be "custom" programming, and editing a single line of HTML in the .cgi file is _still_ the most "cost effective" solution.

This is why I had no idea what you were referring ot.





PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Subject Author Views Date
Thread Need more control over search results. robfromaaa 5112 Dec 19, 2000, 1:25 AM
Thread Re: Need more control over search results.
Alex 4999 Dec 20, 2000, 5:26 PM
Thread Re: Need more control over search results.
robfromaaa 4998 Dec 20, 2000, 7:10 PM
Thread Re: Need more control over search results.
pugdog 4966 Dec 21, 2000, 6:02 AM
Thread Re: Need more control over search results.
robfromaaa 4975 Dec 21, 2000, 7:06 AM
Thread Re: Need more control over search results.
pugdog 4970 Dec 21, 2000, 7:14 AM
Thread Re: Need more control over search results.
robfromaaa 4953 Dec 21, 2000, 9:36 AM
Thread Re: Need more control over search results.
pugdog 4961 Dec 21, 2000, 10:13 AM
Thread Re: Need more control over search results.
robfromaaa 4947 Dec 21, 2000, 10:49 AM
Thread Re: Need more control over search results.
pugdog 4937 Dec 21, 2000, 11:38 AM
Thread Re: Need more control over search results.
robfromaaa 4950 Dec 21, 2000, 4:15 PM
Post Re: Need more control over search results.
Alex 4944 Dec 21, 2000, 5:26 PM