Results 1 to 10 of 10

Thread: thank u for responce sheikh,can explaine clearly(web extractor )

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Smile thank u for responce sheikh,can explaine clearly(web extractor )

    --------------------------------------------------------------------------------

    hi friends
    my application is web data extractor ,how to extract the urls,phoneno,metatages,faxes.how to implement in c#.net or vb.net .can u give me valueble suggetion and code also.my .net version1.1
    thank u every one
    Last edited by ramesh.mavin; Jul 12th, 2006 at 07:20 PM.

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: plz read this urgent

    Ive no idea how to answer your question, but please use a decent topic name!

  3. #3
    Addicted Member
    Join Date
    May 2000
    Location
    Wellington NZ
    Posts
    153

    Re: plz read this urgent

    It might be worth looking into Regular Expressions, there are lots of example on the net that extract URLs from web pages. It isn't too difficult to understand.

    this link maybe usefull

    http://www.dotnetcoders.com/web/Lear...Extractor.aspx

    Take it easy

    Rohan
    You dont need eyes to see, you need vision.

  4. #4
    Fanatic Member TokersBall_CDXX's Avatar
    Join Date
    Mar 2003
    Location
    America
    Posts
    571

    Re: plz read this urgent

    a quick search surely would have turned up something?

    none the less here's a bit of reference material.
    Re: [02/03] Exracting urls from web page
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: plz read this urgent

    thanks everybody to reply to this query

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: plz read this urgent

    can u explain clearly TokersBall_CDXX
    thank u TokersBall_CDXX

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: plz read this urgent

    --------------------------------------------------------------------------------

    can u explain clearly rohan west
    thank u rohanwest

  8. #8
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: plz read this urgent

    What TokersBall_CDXX has presented is a parser pretty much. It will parse the html of the document and then using Regex he found a pattern of urls which contain the "http://" beginning and fished them out. (They were in between < and > probably). He compiled them in an array and then you can get the urls from that array .
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: plz read this urgent

    can u explain clearlly sheikh
    thanku sheikh

  10. #10
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: thank u for responce sheikh,can explaine clearly(web extractor )

    What it will do is it will get the html, the coding of the webpage that is, and then using a function, Regex as I mentioned, it will look for a pattern of text that contains "http://". Once it finds that, then it will add those texts to an array (a list of objects) and then you can finally just get the text out of the array.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

Posting Permissions

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



Click Here to Expand Forum to Full Width