Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:43 PM
C
Guest
 
Posts: n/a
Default Searching Web Page Content

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.
  #2  
Old July 19th, 2005, 01:44 PM
Jeff Cochran
Guest
 
Posts: n/a
Default Re: Searching Web Page Content

On Wed, 9 Jun 2004 07:06:01 -0700, "C"
<anonymous@discussions.microsoft.com> wrote:
[color=blue]
>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.[/color]

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
  #3  
Old July 19th, 2005, 01:49 PM
Bullschmidt
Guest
 
Posts: n/a
Default Re: Searching Web Page Content

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!
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles