Possible to do this?

Discussion in 'PHP' started by rockinaway, Oct 9, 2006.

  1. #1
    I was wondering how if it is possible in a PHP to do the following:

    1) Have a box where the user enters their website address, then clicks submit
    2) This brings up a page with the following:
    - A screenshot of their site (maybe from Alexa)
    - The site title
    - The site ranking
    - The site description and keywords taken from the META or some other way.

    The number 2 parts I want to know how are they possible in PHP, if so, how to go about doing them.
     
    If someone posts a solution, use the "Best Answer" link in their post to pick it as the best answer.
    rockinaway, Oct 9, 2006 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #2
    its possible and easy...

    use fopen to read the site

    use preg_match to find title/desc/keys

    Alex image (it seems that they locked auto imaging, so you need to access the site and download the image the same way above).

    site ranking -> which search engine?

    Peace,
     
  3. rockinaway

    rockinaway Guest

    Best Answers:
    0
    #3
    Thanks... Well for the site ranking, either the type they show on Alexa, or Google PR
     
  4. coolsaint

    coolsaint Banned

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Dear rockinaway,

    To get Alexa or Google PR you need two different kind of scripts. and i wish http://www.domaintools.com/ Does have the image or screenshot of the Website if it is having Good PR.

    Here is Demo Whois of domaintools.com

    http://whois.domaintools.com/hagioteam.com

    http://www.domaintools.com proivdesall the services you wanted to have in the Thread. If you want to have those functionality I am interested to work on it. PM me if you are interested.

    Thanks.

    Coolsaint
     
  5. rockinaway

    rockinaway Guest

    Best Answers:
    0
    #5
    It has the stuff I want like the Alexa rank changes and website title, just I want to know how to add it :D
     
    rockinaway, Oct 10, 2006 Set Best Answer IP
  6. webbist

    webbist Peon

    Messages:
    89
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That is a good idea to use the Alexa screenshot option - you couldn't directly generate a screenshot of a website from PHP alone, quite impossible.
     
    webbist, Oct 10, 2006 Set Best Answer IP
  7. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #7
    There must be some kind of program that will allow you to do it via a linux box.

    Peace,
     
    Barti1987, Oct 10, 2006 Set Best Answer IP
  8. rockinaway

    rockinaway Guest

    Best Answers:
    0
    #8
    Hmmm, still confused how to get screenshot
     
    rockinaway, Oct 11, 2006 Set Best Answer IP