Getting HTML source from web pages to include in my ASP scripts

Discussion in 'ASP General' started by Chris, Sep 3, 2003.

  1. Chris

    Chris Guest

    I am running an ASP script which I require to get the source html from
    some URL so I can pick out bits of this and include the data in my
    webpage. So it should have a function something like this:

    Function GetHTMLSource(String URL)

    which retuns the source for example as a string or an array of strings

    I'm not sure how to tackle getting the html source. I've tried setting
    up an Internet Explorer object and also using the
    createDocumentFromUrl function which have worked in VB but I can't get
    to work in ASP

    Any ideas please. Thanks
    Chris, Sep 3, 2003
    #1
    1. Advertising

  2. Chris

    Ray at Guest

    Ray at, Sep 3, 2003
    #2
    1. Advertising

  3. Chris

    Chris Guest

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message news:<OAuF1#>...
    > http://www.aspfaq.com/2173
    >
    > Ray at work
    >
    > "Chris" <> wrote in message
    > news:...
    > > I require to get the source html from
    > > some URL


    That's great cheers Ray
    Chris, Sep 3, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cloud Burst
    Replies:
    11
    Views:
    1,022
  2. Nathan Sokalski
    Replies:
    5
    Views:
    1,006
    Gaurav Vaish \(www.Edujini-Labs.com\)
    Jan 10, 2007
  3. Andreas Bogenberger
    Replies:
    3
    Views:
    902
    Andreas Bogenberger
    Feb 22, 2008
  4. davidj411
    Replies:
    0
    Views:
    492
    davidj411
    Jun 27, 2008
  5. Nathan Sokalski
    Replies:
    4
    Views:
    283
    Nathan Sokalski
    Dec 21, 2006
Loading...

Share This Page