Using Keywords

how easy would it be to search keywords in a field in a database?

View Replies


ADVERTISEMENT

Highlighting Keywords

I've created a little search engine that works fine, but I want to highlight the keywords in an article.
Using the replace function is OK, but its not very good when covering different cases. Its fine on single word searches but no good with multiple words.
eg. if I search for "dog", I can do a replacement on "dog", "DOG" and "Dog" using the replace function.
If I was to search for "black dog", I need to cover all possible variants. ("Black Dog", "BLACK DOG", "black dog", "Black dog", "black Dog")
Is there any way of getting this to work?

View Replies View Related

Function Keywords

Im trying to create a function to where when I call the function, it returns the next keyword from the list, and the list is only a string of keywords split by comma's. I know how to split it, but I dont know how to have the function call out the next keyword.
keyword1,keyword2,keyword3,keyword4.Code:

<%=Function1(keyword)%> 'Will spit out Keyword 1

<%=Function1(keyword)%> 'Will spit out Keyword 2

<%=Function1(keyword)%> 'Will spit out Keyword 3

<%=Function1(keyword)%> 'Will spit out Keyword 4

Then I need it to start over again once it gets to the last function.
This function will be spread out across the page.

View Replies View Related

Searching Keywords

my problem is searching. i want to search words within webpage which is stored in one directory.it is different from normal directory searching 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.

View Replies View Related

SQL Keywords And Field Names

Does anyone have a definitive list of keywords to avoid or prohibit as field names for the tables for an ASP driven program that communicates with a SQL database?

I have a website that allows customers to define tables online and I keep hitting the field names I need to prohibit - "Function" is the latest one. I'd like to just compare the users field names with a list and end this problem for good! Also any VBScript words too?

View Replies View Related

Changing Meta Keywords

how I can dynamically change metakeywords based on page content? That is, a page on restaurants should have restaurant related keywords, etc.

View Replies View Related

TRIMMING MULTIPLE KEYWORDS On Search Page!

I am trying to make a search page. Once a serach word or words is put in I need it to serach multiple product tables and output the description of any prioduct if the search word is present in the description.

However, If i put in 2 keywords like "paper sticker" I get no results. How do you search multiple keywords? Code:

View Replies View Related

Highlight Search Keywords On HTML Page

I have an ASP search function which, after typing the search term, searches HTML pages and creates a list of links.

The problem is that I do not know how to code so the search term is highlighted in red after the user clicks on the link to view the HTML page.

View Replies View Related

Meta Description & Meta Keywords In Asp?

Where in an asp file do the meta name="description" content="description"
and meta name="keywords" content="key words " go?

Is it similar to where they're located in html? the top of my file looks like this (below), is it correct?

<% Response.Buffer = True %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
<title>testPage</title>
<script src="java.js" type="text/javascript"></script>
<meta name="description" content="description" >
<meta name="keywords" content="key words " >
<link rel="STYLESHEET" type="text/css" href="styles.css">
<style type="text/css">

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved