Jump to content
  • Advertisement
Sign in to follow this  
ballack

search option for html pages

This topic is 4903 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi everyone, i have to do a tutorial,which must have a search option. so if a user must have to find a particular tutorial he types the keywords and my prog should display all the related tutorial. how can i design such tutorial using html? can anyone help me.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by ballack
ok i know scripting lang -asp
now how can i have a search option using this?

Well I don't do much web stuff, but what I would do is save the actual tutorial itself (the text) in a file, so that you can load it up using ASP and search it through that. Whenever you run into occurances of the keyword[s] in question, then print out the text around it using ASP. I've never used ASP, but I'm sure the idea would be the same as PHP.

Share this post


Link to post
Share on other sites
<meta> is used by large commercial search engines to help index pages and give important information about the contents of a page.

If you'd like, you could implement code in your search script to read these meta tags and process their information, however, there's no "special function" that "uses" meta tags... you have to write the code your self.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!