Google search result to be URL-limited when searching site, but notwhen searching Web

  • Thread starter stumblng.tumblr
  • Start date
S

stumblng.tumblr

Just to get this out of the way immediately, I'm an ignoramus when it
comes to HTML and Javascript.

That said, I've added a Google search box to my blog (http://
stumblng.tumblr.com). It can be used to search either my blog or the
whole web.

When used to search my blog, I want it to return only URLs with the
word "post" in them. When used to search the web, I don't want it to
have that limitation.

I was able to use the code at the following page:
http://www.askdavetaylor.com/modifying_search_strings_google_site_search.html
to impose the limitation on both types of searches.

How should I adapt the Javascript aspect of that code so that the
limitation only applies when the search is of my blog?

Thanks for reading this.
 
S

stumblng.tumblr

try experimenting a bit here

--------------------------
<a href=http://www.eecpindia.comtitle=eecp>eecp</a>
<a href=http://www.anchorfx.comtitle=forex>forex</a>
<a href=http://indiaforex.eecpindia.comtitle=forex>forex</a>

*** Sent via Developersdexhttp://www.developersdex.com***

Can anyone perhaps tell me whether I should treat this message as
spam?

If I shouldn't, could any kind soul perhaps give some clue as to its
significance for my original question to a person who's acknowledged
from the outset that he understands very little of these things?

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top