By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,084 Members | 1,233 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,084 IT Pros & Developers. It's quick & easy.

Searching Web Page Content

P: n/a
C
Hi

I have a web app whereby the content for each page is stored in the database

This content is interweaved in html and saved in the Database

As a result when teh user does a search through the app and searches for say <table it brings back everything with teh table tag in the database

Does anyone know if I can only search the text rather than the html and content in my Database

Thanks
C.
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Wed, 9 Jun 2004 07:06:01 -0700, "C"
<an*******@discussions.microsoft.com> wrote:
I have a web app whereby the content for each page is stored in the database.

This content is interweaved in html and saved in the Database.

As a result when teh user does a search through the app and searches for say <table it brings back everything with teh table tag in the database.

Does anyone know if I can only search the text rather than the html and content in my Database.


Well, the obvious is not to store content and markup together. That
also will make life easier when you modify the layout later.

Beyond that, you can search for anything you wish, and display
wahtever you wish out of the results of the search. You'll need to
code it yourself for display of course.

Jeff
Jul 19 '05 #2

P: n/a
Using Index Server to Search Your Web Site - Part I by John Peterson
http://www.asp101.com/articles/john/...er/default.asp

Could have a link to have Google search assuming the site is actually on
Google:
the search term site:www.mysite.com

Best regards,
J. Paul Schmidt, Freelance ASP Web Consultant
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.