Results 1 to 15 of 15

Thread: bug will raising

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Thumbs up bug will raising

    Dear friends,

    I am developing an windows application.the application deals with extracting urls from a specified webpage(web page name will be given dynamically).now i want to get all the urls/phone nos/fax no presented in that web page.friends give me ur valuable suggestions.

    regards
    ramesh
    Last edited by ramesh.mavin; Jul 19th, 2006 at 08:29 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    Every web page is different. You first need to get a bunch of sample pages with the information you want. Go through them and understand their structure so that you can then come up with your string parsing algorithm to parse the page's source code and extract the information you need.

    Now you could do simple string searches, or you can use regex, or a combination of both. You know what the page sources look like, so you'd have to decide this.

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

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    multiple posts of the same request. *sighs*
    good day sir.
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    I get your puns, though they may have been unintended. I'll browse for more threads now.

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

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    no puns intended,

    lets see:

    First
    Second
    Third
    Fourth
    Fifth
    Six

    This is clearly abusive behavior

    Perhaps this user will begin to ask more specific requests? instead of requesting the same thing over and over and over again.
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    Six... And all six with different answers. Clearly why this is detrimental to the question asker and answerer(s). And I see a few wrong/incorrect methods as well. This is just as annoying as when users turn their system clocks ahead so that their post gets to be on top in newsgroups.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    tokers ball_cdxx ,idonth'v knowlegde about regx ,so iam asking 6 times ,now iam found how to extract the urls,and metatags ,could u ple explain how to extact the phone no,faxes,emails from webpages ,just give me ur valuble suggestion thts enough
    thanku for evry one ,thanku somuch

    http://www.vbforums.com/member.php?u=42287

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    tokers ball_cdxx ,idonth'v knowlegde about regx ,so iam asking 6 times ,now iam found how to extract the urls,and metatags ,could u ple explain how to extact the phone no,faxes,emails from webpages ,just give me ur valuble suggestion thts enough
    thanku for evry one ,thanku somuch

    recards
    ramesh

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

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    Keep in mind most people don't like their personal info lifted from websites.
    With that being said, here's some reference:

    REGEXLIB Phone
    REGEXLIB E-Mail
    Build your own personalized flash based chat room for your webpage for FREE! http://www.4computerheaven.com

  10. #10

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: how to extract the urls ,phone no,faxes,metatags from webpages

    tokersball_cdxx ,thanku somuch ,thanku
    and iam studing these emails,phone regexlib,very diffcult part in .net, now iam trying to understand this part,but u have any example coding plz help me

    again thanku ,thanku somuch

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: extract the urls ,phone no,faxes,metatags from webpages

    public sub Main()
    Dim request as System.Net.HttpWebRequest
    Dim response as System.Net.HttpWebResponse
    Dim s as Stream

    ' create a request to the url
    request = CType(WebRequest.Create("http://www.w3c.org/"), HttpWebRequest)

    ' get the response
    response = CType(request.GetResponse(), HttpWebResponse)

    ' get the stream of data and read into a string
    s = response.GetResponseStream()
    Dim strContents as string = new StreamReader(s).ReadToEnd()
    **************************************************
    here
    programe is not wrong
    if build the application giving break point

    s = response.GetResponseStream()
    Dim strContents as string = new StreamReader(s).ReadToEnd()

    here appli very slow and fetching results is very poor




    anybody body give ma valuble suggetion
    Last edited by ramesh.mavin; Jul 20th, 2006 at 03:11 AM.

  12. #12
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: bug will raising

    What is the error?

  13. #13

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: bug will raising

    above mention red color in this particuletr area not error fetching results is very poor
    break point moveing is close in this place

  14. #14
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: bug will raising

    It's not supposed to be immediate, it's supposed to be slower than immediate. Since it is sending the request and waiting for the entire response to be returned.

  15. #15

    Thread Starter
    Junior Member
    Join Date
    Jul 2006
    Posts
    18

    Re: bug will raising

    mendhak iam new member in this forum ,how to requets the questions
    just now iam learning some points,
    sorry for the distabence
    thank u somuch

    could u plz explaine clearly my application

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