Results 1 to 3 of 3

Thread: GoogleAPI

  1. #1

    GoogleAPI

    hi there

    im using the google api. i need to extract the titles, meta tags and a snapshot of the top 10 listed sites. these will be stored into the database.

    anyone know how i can extract the titles and meta tags?

    thank you in advance.

    viper
    Viper
    [email protected]
    www.bMine.com

  2. #2
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,099
    You can grab the title from the ResultElement.

    By snapshot -- if you mean the google cache, you can check for cachedSize -- if it exists -- you can then request the google cache for that url.

    As for the meta tags -- you'll have to write a spider that will visit each site, download all (or a part) of the page -- and then parse the meta tags.

    Since you didn't say what language you are using -- I won't give you any language specific examples.
    In order to understand recursion, one must first understand recursion.
    If you feel like it, you can read my blog
    Signal > Noise

  3. #3
    thanks fyrestrtr.

    the snapshot is actually a thumbnail gif of the site.

    i will try the resultelement. will have to check abt the spider thingy.

    im using php.

    regards
    viper
    Viper
    [email protected]
    www.bMine.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •