1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Count Total Words on a Remote Page using ASP

Discussion in 'C#' started by craigedmonds, Apr 13, 2006.

  1. #1
    I have been asked by someone to get a quote to have their web site translated into two other languages.

    I have generated a list of all the urls on the site, they have about 200 or so pages with different amounts of text on each one.

    Now I need make a small spider to go to each url and count the total number of words that appear on each page.

    My idea is to send the spider to each url, and it tells me how many words appear on the page, pretty simple really.

    That way I can turn around and tell the client, you have appx 15,000 words that need translating, its going to cost you such and such.

    Anyone know how to do this?
     
    craigedmonds, Apr 13, 2006 IP
  2. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #2
    frankcow, Apr 13, 2006 IP
  3. picassoxw

    picassoxw Peon

    Messages:
    9
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    gaga YES
    get the pages by xmlhttp
    and split~
     
    picassoxw, Apr 15, 2006 IP
  4. craigedmonds

    craigedmonds Notable Member

    Messages:
    703
    Likes Received:
    131
    Best Answers:
    0
    Trophy Points:
    235
    #4
    thanks frankcow.

    nice article.

    will let you kow how I get on.
     
    craigedmonds, Apr 16, 2006 IP
  5. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #5
    frankcow, Apr 16, 2006 IP
  6. artis

    artis Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hello,
    I will develop a php script which count the number of words in each page. You have to put the urls and it will display the total words in that page. and finally it will be display the total number of words in all urls (pages). Please contact me asap.
     
    artis, May 12, 2006 IP
  7. craigedmonds

    craigedmonds Notable Member

    Messages:
    703
    Likes Received:
    131
    Best Answers:
    0
    Trophy Points:
    235
    #7
    okay, so I am slightly interested, even though its in php. :rolleyes:

    PM me with your estimated costs for this.

    If you have an example somewhere to show me, that would close the deal.
     
    craigedmonds, May 12, 2006 IP