Searching keywords inside webpages

Reply

Join Date: Jul 2006
Posts: 4
Reputation: umshere is an unknown quantity at this point 
Solved Threads: 0
umshere umshere is offline Offline
Newbie Poster

Searching keywords inside webpages

 
0
  #1
Jul 25th, 2006
Searching keywords inside webpages

--------------------------------------------------------------------------------

hi all
my problem is searching :rolleyes: ...i want to search words within webpage which is stored in one directory..:surprised

it is different from normal directory searching :eek: ...beacause i am searching inside the webpage ..so i want to omit all that html tags or other asp codes...:-|
also i want to know that is there any way to store webpage inside the database ...it will be efficient than storing inside the directory....:surprised
seeking ur help :lol:
ums
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Searching keywords inside webpages

 
0
  #2
Jul 25th, 2006
You can use windows find to search for text in files in a directory. If you want to do it from ASP page and skip HTML tags that's difficut you will need to learn all about regular expressions first for searching text.

If you downoad and install cygwin you can use linux tools like grep.

weppages are text, so yes you can just save it in a databse table. But you have to be carefull of length (how much text) so in MS SQL Server for instance you will want to use a column data type of ntext for example. Then you could set-up text indexing for searching, but again skipping all the tags would be difficult but not impossible.
Last edited by hollystyles; Jul 25th, 2006 at 11:12 am.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 4
Reputation: umshere is an unknown quantity at this point 
Solved Threads: 0
umshere umshere is offline Offline
Newbie Poster

Re: Searching keywords inside webpages

 
0
  #3
Jul 26th, 2006
thanks dude for ur help,
but my problem is different... i dont want the simple searching ... i am deveoping a webbased application for an intranet webpage help... i want it to be like microsoft help that u r getting pressing f1 key ....so i will create a no of help pages ...and the user can search that pages with any keywords ....there i need help...i want to find the code for searching the keywords inside the pages which is stored inside some directory..... will u help me for that ...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP Forum
Thread Tools Search this Thread



Tag cloud for ASP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC