#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Web Address Validation HELP!


    Write a script which will read a server log file
    and return the percentage of addresses which are businesses. Modify the script so that
    it will print out the name of the business (e.g ikea,tesco) and how often they were hit. You
    will have to make some assumptions about how the name of the company is stored in its web
    address.

    tesco .com
    ldn .ac.uk
    amazon .com
    ikea .co.uk
    plus.maths .org
    Any help with the code would be greatly appreciated.

    Thanks and kind regards,
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Location
    Paris area, France
    Posts
    842
    Rep Power
    496
    How are you supposed to distinguish business addresses from others?

    Have you started to code something?

    Also, you may want to provide a sample of the server log file.

IMN logo majestic logo threadwatch logo seochat tools logo