hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : GoogleAPI
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

GoogleAPI

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-24-2004, 06:17 AM
viperphoenix viperphoenix is offline
Newbie
 
Join Date: Sep 2003
Posts: 22

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
viper@viperphoenix.com
www.bMine.com

Reply With Quote


Sponsored Links
  #2  
Old 05-24-2004, 06:28 AM
Burhan Burhan is offline
Community Guide
 
Join Date: Jul 2003
Location: Kuwait
Posts: 5,100
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

Reply With Quote
  #3  
Old 05-26-2004, 10:31 PM
viperphoenix viperphoenix is offline
Newbie
 
Join Date: Sep 2003
Posts: 22
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
viper@viperphoenix.com
www.bMine.com

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?