Dale's Weblog

looking back it was easy.
Saturday 04 September

Searching

Posted by dale on Sat, 21 Aug 2004 21:42:45 EST

I’ve implemented a search function into getnews. Currently, well it sucks! :p It can find some stuff but not everything. Also it only searches direct matches. I’ll work on it a bit more later.

Linky:
http://blog.dalegroup.net/?newsid=find

It only searches the body of the news item (not comments, title etc). Still very much just playing with it. It also screws links if the search term is in a link. Okay so it is crap, but it is a one line query that I wrote. Get over it :p

EDIT: HA! I had something every stupid in my code which was restricting the search. It’s working better now.

This posted was edited: Sat, 21 Aug 2004 22:18:50 EST
Below are the comments for this news item
BBCode:

urls become clickable

[b]place text in bold[/b]

[i]place text in italics[/i]

[quote]place text in a quote[/quote]

Comments? Please note that all HTML tags are removed from your post.

The URI to TrackBack this entry is: http://www.dalegroup.net//early05/archive/blog/newsid/trackback/87

Comments

Message:

Name (optional):

Email (not shown):

WWW (optional):






Copyright © Michael Dale 2004. Page generated in 0.0038 seconds FreeBSD Powered
Background on style 5 is used from squidfingers How are we going? 3 queries