Download Search Results

Discussion in 'Google API' started by bloard, May 15, 2006.

  1. #1
    First... I know NOTHING about google API, or how it works etc., but do have an API key. What I am wanting to do is to be able to download, or see in text format the search results for a Site: search. I changed my site from .cfm extensions to .php extensions and need to redirect all pages that google has indexed to the new pages, and think it would be easier to do if I was able to get the Site: results in a .csv file or something.

    thanks
     
    bloard, May 15, 2006 IP
  2. MaxPowers

    MaxPowers Well-Known Member

    Messages:
    264
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    120
    #2
    Those will likely start over as new pages, you may be able to use .htaccess to pass files with a cfm extension through the php interpreter in order to keep your filenames. This may save you from 'starting over' with Google. If so, place the following code into your htaccess file

    AddType application/x-httpd-php cfm
    AddHandler application/x-httpd-php .cfm
     
    MaxPowers, May 17, 2006 IP
  3. tagcloud

    tagcloud Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am tryng to create this feature on my website Will post a reply once done
     
    tagcloud, May 24, 2006 IP
  4. enampwd

    enampwd Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    To download search results u have to use a script. It may be in php, perl, java, tcl or vb. You can search phpclasses site for php script to download google search results using google API.
     
    enampwd, Jun 24, 2006 IP
  5. UmbrellaTechnologies

    UmbrellaTechnologies Active Member

    Messages:
    527
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Just convert the cfm extension to php in the .access file like maxpowers states, this will allow you to phase in and phase out the pages with google being directed to the new pages without noticing the change, really.
     
    UmbrellaTechnologies, Sep 21, 2006 IP