[geeklog-devel] Search result...

Tony Bibbs tony at tonybibbs.com
Thu Jul 15 13:47:19 EDT 2004


There was the concept of 'expanded search results' in the work from 
Marc.  I took that out because I wanted to get the highlighting working 
first (last I knew I thought a few minor bugs related to highlighting 
existed).  Adding expanded search would also require notice to plugin 
developers as it would require them to add code if they want to utilize 
that feature.

--Tony

Simon Lord wrote:

> Geeklog now highlights the search term as well, no idea how long 
> that's been in there though.  All I really need is the sql query to 
> return the first few sentences of the result like these two sites do.
>
> So marc, how do you do that?  ;)
>
>> The main thing he needed to overcome with the search code was the 
>> highlighting for search terms.  The Code I provided changed the case 
>> of the highlighted phrases.  This was a result of a nested regext 
>> used to prevent adding the highlight span inside of an href tag on 
>> the url.  It would be interesting to see what Rob's consultant came 
>> up with.  The bug can be worked around by turning off the 
>> highlighting code in the story.
>>
>> Marc
>>
>> On Jul 15, 2004, at 8:58 AM, dwight at trumbower.com wrote:
>>
>>> I know at one time macosxhints.com was paying someone to create a 
>>> better
>>> search. Don't know if this is the result. You might want to contact 
>>> Rob,
>>> though I believe he is on this list.
>>>
>>> Dwight
>>>
>>>> Does anyone have the code which displays the search results in Geeklog
>>>> as they do on macfixit.com?  I like the fact that it grabs a few lines
>>>> of the result in question etc.  macosxhints.com uses the same
>>>> formatting so I'm assuming this is a hack/edit being passed around 
>>>> from
>>>> one site admin to another and not actually in CVS.  A link to the
>>>> desirable search result *formatting* I'm looking for is below.
>>>>
>>>> http://www.macfixit.com/search.php?
>>>> query=Transmit&mode=search&type=stories&keyType=all&platform=Mac+OSX
>>>>
>>>> Sincerely,
>>>> Simon
>>>>
>>>> _______________________________________________
>>>> geeklog-devel mailing list
>>>> geeklog-devel at lists.geeklog.net
>>>> http://lists.geeklog.net/listinfo/geeklog-devel
>>>>
>>>
>>> _______________________________________________
>>> geeklog-devel mailing list
>>> geeklog-devel at lists.geeklog.net
>>> http://lists.geeklog.net/listinfo/geeklog-devel
>>
>>
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> http://lists.geeklog.net/listinfo/geeklog-devel
>>
>>
> Sincerely,
> Simon
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel




More information about the geeklog-devel mailing list