| Author |
Search function for my site?!?!
|
|
| orreallyor 2005-03-09, 6:37 pm |
| How can I create a search function on my site? I want to have a text field
where people can type a word, e.g. "james bond", and it comes up with a page
like:
Search results for "james bond"
- And below here it has every piece of content that has the word "james bond"
in it.
| |
|
| I'd use google's search. plop it in an go. no use re-inventing the wheel.
--
::-----::-----::
thanks,
Jon Parkhurst
PriivaWeb, Inc.
http://priiva.net
I don't wanna grow up, I'm a ToysRUs Kid....
"orreallyor" <webforumsuser@macromedia.com> wrote in message
news:d0nnu6$o32$1@forums.macromedia.com...
> How can I create a search function on my site? I want to have a text field
> where people can type a word, e.g. "james bond", and it comes up with a
> page
> like:
>
> Search results for "james bond"
>
> - And below here it has every piece of content that has the word "james
> bond"
> in it.
>
| |
|
|
| Travis 2005-03-09, 6:38 pm |
| One caveat with this; your site needs to have been indexed by Google
otherwise it will be unable to search it.
Travis
crash wrote:
> I'd use google's search. plop it in an go. no use re-inventing the wheel.
>
| |
| Mad Dog 2005-03-09, 11:18 pm |
| It's a safe bet that when you fill in the info to get the code to insert in
your page, Google's spider is alerted and makes sure you're being crawled.
Otherwise they'd be defeating themselves!
MD
Travis wrote:[color=darkred]
> One caveat with this; your site needs to have been indexed by Google
> otherwise it will be unable to search it.
>
> Travis
>
> crash wrote:
| |
| Travis 2005-03-10, 6:34 pm |
| MD,
It doesn't appear as if this is the case. When you set this up for your
site you simply copy and paste code displayed here
(http://www.google.com/searchcode.html) and then alter it once you paste
it on your site. Nothing in the FAQ's insinuate pages will be indexed
by adding the site search. Additionally you can try to customize the
results page but you need an account to do this and to get an account
you need a page that has been indexed by Google. I e-mailed Google to
get a definitive answer and I will post it when/if I receive a response.
On a similar note using their AdSense Program site search won't get you
indexed. From their FAQ's on this:
"Adding the Google AdSense ad code or AdSense for search code to your
site will not queue your pages for crawling by our main index bots."
Mad Dog wrote:
> It's a safe bet that when you fill in the info to get the code to insert in
> your page, Google's spider is alerted and makes sure you're being crawled.
> Otherwise they'd be defeating themselves!
>
> MD
>
>
> Travis wrote:
>
>
>
>
| |
| Mad Dog 2005-03-10, 11:18 pm |
| I'll be interested to see what they say. I've never had to worry since my
and my clients' sites all get crawled by Google so it was a non-issue. It
just didn't seem to make sense that they'd offer a search function for a
site that's effectively not searchable!
MD
Travis wrote:[color=darkred]
> MD,
>
> It doesn't appear as if this is the case. When you set this up for
> your site you simply copy and paste code displayed here
> (http://www.google.com/searchcode.html) and then alter it once you
> paste it on your site. Nothing in the FAQ's insinuate pages will be
> indexed by adding the site search. Additionally you can try to
> customize the results page but you need an account to do this and to
> get an account you need a page that has been indexed by Google. I
> e-mailed Google to get a definitive answer and I will post it when/if
> I receive a response.
> On a similar note using their AdSense Program site search won't get
> you indexed. From their FAQ's on this:
>
> "Adding the Google AdSense ad code or AdSense for search code to your
> site will not queue your pages for crawling by our main index bots."
>
> Mad Dog wrote:
| |
|
| I'd use google's search. plop it in an go. no use re-inventing the wheel.
--
::-----::-----::
thanks,
Jon Parkhurst
PriivaWeb, Inc.
http://priiva.net
I don't wanna grow up, I'm a ToysRUs Kid....
"orreallyor" <webforumsuser@macromedia.com> wrote in message
news:d0nnu6$o32$1@forums.macromedia.com...
> How can I create a search function on my site? I want to have a text field
> where people can type a word, e.g. "james bond", and it comes up with a
> page
> like:
>
> Search results for "james bond"
>
> - And below here it has every piece of content that has the word "james
> bond"
> in it.
>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |