JavaScript Site Search

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ross M. Greenberg

    JavaScript Site Search

    I'm looking for the above. It has to run on a JavaScript-only site -- No ASP
    or PHP, alas -- and has to work on the whole site -- unchanged, no keyword
    addition, for example.

    Taking the base URL and indexing each page -- upon demand or as required, via
    a password protected script would be fine. Then a user can enter their search
    term in a form box, hit "Go!" and links to each page on the site should be
    presented. Think "Google", but restricted to a single, specified site.

    Anybody have any scripts or ideas?

    Thanks!

    Ross

  • Jim Dabell

    #2
    Re: JavaScript Site Search

    "Ross M. Greenberg" <greenber-at-catskill.net> wrote:

    [snip][color=blue]
    > Think "Google", but restricted to a single, specified site.[/color]

    <URL:http://www.google.com/searchcode.html #both>


    --
    Jim Dabell

    Comment

    • Ross M. Greenberg

      #3
      Re: JavaScript Site Search

      Thanks, but it's not working!

      I stripped the code down to the minimum, but it can't find a "Sarah" I know is
      on the site:

      <html>
      <head>
      <title>Search Test</title>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      </head>
      <body bgcolor="#FFFFF F" text="#000000">
      <FORM method=GET action="http://www.google.com/search">
      <INPUT TYPE=text name=q size=31 maxlength=255 value="">
      <input type=submit name=btnG value="Search">
      <input type=hidden name=domains value="http://www.jewishtreas ures.com">
      <input type=hidden name="sitesearc h" value="http://www.jewishtreas ures.com"[color=blue]
      >[/color]
      </FORM>
      </body>
      </html>
      "Jim Dabell" <jim-usenet@jimdabel l.com> wrote in message
      news:quidnap0X4 hVr6eiXTWQlg@gi ganews.com...[color=blue]
      > "Ross M. Greenberg" <greenber-at-catskill.net> wrote:
      >
      > [snip][color=green]
      > > Think "Google", but restricted to a single, specified site.[/color]
      >
      > <URL:http://www.google.com/searchcode.html #both>
      >
      >
      > --
      > Jim Dabell
      >[/color]

      Comment

      • Ross M. Greenberg

        #4
        Re: JavaScript Site Search

        Up for about two months. Do you know of an "index on demand" version around/


        "Jim Dabell" <jim-usenet@jimdabel l.com> wrote in message
        news:bxadnQEszt R22KeiXTWQlg@gi ganews.com...[color=blue]
        > "Ross M. Greenberg" <greenber-at-catskill.net> wrote:
        >
        > [snip site-specific Google]
        >[color=green]
        > > Thanks, but it's not working!
        > >
        > > I stripped the code down to the minimum, but it can't find a "Sarah" I
        > > know is on the site:[/color]
        >
        > Google hasn't indexed that page. Is it new, or has it changed recently?
        > Have you read Google's tips and FAQs?
        >
        >
        > --
        > Jim Dabell
        >[/color]

        Comment

        • Ross M. Greenberg

          #5
          Re: JavaScript Site Search

          The script need be entirely self-contained: third-party solutions, such as
          through Google itself, have not been acceptable.

          Thanks!

          Ross

          "Ross M. Greenberg" <greenber-at-catskill.net> wrote in message
          news:vjk830mr49 n86b@corp.super news.com...[color=blue]
          > I'm looking for the above. It has to run on a JavaScript-only site -- No ASP
          > or PHP, alas -- and has to work on the whole site -- unchanged, no keyword
          > addition, for example.
          >
          > Taking the base URL and indexing each page -- upon demand or as required,[/color]
          via[color=blue]
          > a password protected script would be fine. Then a user can enter their[/color]
          search[color=blue]
          > term in a form box, hit "Go!" and links to each page on the site should be
          > presented. Think "Google", but restricted to a single, specified site.
          >
          > Anybody have any scripts or ideas?
          >
          > Thanks!
          >
          > Ross
          >[/color]

          Comment

          • Peter JavaScript

            #6
            Re: JavaScript Site Search

            Hi Ross,
            Maybe I developed just the type of search engine you are looking for.
            It is described at

            If you are interested please drop me an e-mail
            Cheers,
            Peter

            Comment

            Working...