Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-08-17 20:10:30

forgottentowers
New member
Registered: 2005-02-20
Posts: 5

Search in a BD with xinha text fields

Hi

I use xinha, and I think it's great!
Well, at this point I have a BIG problem....
I use xinha to insert data in a table,  and all runs ok, but I want to develop a Search Engine, but I want to filter any html tag in the search...
Can it is possible?

I want to search only in text between html tags, filter any html tag
for example,
If I search for "<table>"
the search return nothing...

Someone try it???

The solution can be in php or asp, no problem, only I want to know how to filter html tags in a table field with xinha text.

Thanks !!

Last edited by forgottentowers (2005-08-17 20:11:17)

Offline

#2 2005-08-17 21:58:30

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Search in a BD with xinha text fields

Not a xinha problem smile

I'd do one of two things,

1. ignore the problem - the only time it would really be an issue is if sombody searched for body , head, strong, address (and any other full-word tags I have forgotten).
2. use strip tags on the output from xinha and insert the stripped content into a special database column used just for searching over.


James Sleeman

Offline

Board footer

Powered by FluxBB