| | |
Searching keywords inside webpages
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
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
--------------------------------------------------------------------------------
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
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.
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.
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
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 ...
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 ...
![]() |
Similar Threads
- Basic SEO for your site to get you started (Search Engine Optimization)
- search Keywords Email Alert (JavaScript / DHTML / AJAX)
- Question about keywords (Search Engine Optimization)
- is it good or bad to repeate keywords in your url? (Search Engine Optimization)
- Session variable (ASP.NET)
- Network error unable to read url from host g.msn.com: connection reset by peer (Viruses, Spyware and other Nasties)
- Internet explorer Network error: (Web Browsers)
Other Threads in the ASP Forum
- Previous Thread: Prob with inserting value stud_id into table Guarantor and Loan1
- Next Thread: text box value in asp
| Thread Tools | Search this Thread |
Tag cloud for ASP
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection calendar changeable connection current database databaseconnection diagnostics dreamweaver excel fso html iis microsoft msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption server single specfic sqlserver sqlserverconnection toolkit web webserver windows7






