Why does the search script call your server all the time?

Discussion in 'Products & Tools' started by Swanny, Mar 4, 2004.

  1. #1
    Why does the script make a call to search.digitalpoint.com? I'm just trying to better understand how the script works. And is there some way I can work around that? It must create a burden on your server. If you share the scripts with me, I can just put them on my server.

    You can see my test installation here: http://www.fordf150.net/search/results.php?q=buzz
    (URL subject to change)
     
    Swanny, Mar 4, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    The main purpose of the search engine script was to take the programming complexity out of the Google API.

    Using the Google API directly usually requires recompiling your web server to support 3rd party SOAP/XML extensions for example, so unless you own your own web server, most people can't use it.

    So we set up search.digitalpoint.com to do the "heavy lifting" part for people. What it does is take your request, form it into a SOAP/XML request and get the results for you from Google, then pass the results back as a nicely formatted PHP array.

    To see how it works, go to the following URL in your browser:

    http://search.digitalpoint.com/?q=buzz&key=GOOGLE_KEY&site=www.fordf150.net&start=0

    (replace GOOGLE_KEY with your Google API key)

    It will look like a bunch of junk, but view the source... it's a nice little PHP array, which is much easier to work with.

    We do *not* track queries, log them or anything else. The system is setup solely to make it easy to integrate for non-programmers (or people that can't recompile their web server). If you *are* able to do that, you might want to check our the Google API developer kit, which is free to download here.

    Hopefully that helps somewhat? :)

    - Shawn
     
    digitalpoint, Mar 4, 2004 IP
  3. 0Nach0

    0Nach0 Peon

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    interesting
     
    0Nach0, Feb 8, 2008 IP
  4. aeroflix

    aeroflix Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Because there is a need, the search script must fell new and fresh information at all times.
     
    aeroflix, May 7, 2010 IP
  5. marpaska

    marpaska Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Nice code.. I like it
     
    marpaska, Oct 17, 2010 IP