Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-16-2009, 11:35 AM #1
- Join Date
- Jan 2009
- Thanked 0 Times in 0 Posts
searching through a text document "search engine"
I just wanted to know if I have a text document that contains html code,
how would I search through the code and retrieve all the data related to the search. i.e. by creating a search engine.
The problem I face is if the format of the tag names change in the html txt document then it won't work. Therfore using DOM to retrieve the text would fail.
Is there anything other than DOM that I can use to parse through the text document, so even if the code changed the search engine would still work.
The aim is to search through a html "text document" and retrieve the data that the user wants.
thanks in advance
03-16-2009, 01:03 PM #2