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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris

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

    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(S tring 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
    createDocumentF romUrl function which have worked in VB but I can't get
    to work in ASP

    Any ideas please. Thanks
  • Ray at

    #2
    Re: Getting HTML source from web pages to include in my ASP scripts



    Ray at work

    "Chris" <dchrislloyd@ho tmail.com> wrote in message
    news:858e1ebe.0 309030907.c3625 9@posting.googl e.com...[color=blue]
    > I require to get the source html from
    > some URL[/color]


    Comment

    • Chris

      #3
      Re: Getting HTML source from web pages to include in my ASP scripts

      "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message news:<OAuF1#jcD HA.1696@TK2MSFT NGP10.phx.gbl>. ..[color=blue]
      > http://www.aspfaq.com/2173
      >
      > Ray at work
      >
      > "Chris" <dchrislloyd@ho tmail.com> wrote in message
      > news:858e1ebe.0 309030907.c3625 9@posting.googl e.com...[color=green]
      > > I require to get the source html from
      > > some URL[/color][/color]

      That's great cheers Ray

      Comment

      Working...