Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get HTML From outside URL

Status
Not open for further replies.

asmith555

Programmer
Oct 7, 2002
97
US
I am trying to get the HTML from an outside URL into a string in asp. I dont want the asp code from the Outside source just the resulting HTML. Any Suggestions or Ideas.
 
You need to specify more what you are trying to do. This may be a Server URL encoding answer. But it depends on what you are trying to do. Some people say they are afraid of heights. With me its table widths.
 
I think you may be looking to scrape the html from a page like another recent post, look here: thread333-408505
to see if this solves what you are trying to do. You may or may not need the portion that grabs a small portion of the page, you probably only need the portion up to the point where the html page is assigned into a string variable.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
That is exactly what I needed, however, random question marks are appearing in the text. any way to handle this?
 
Hmm, not sure what you mean, could you post the address you are trying to scrape? Maybe they have some kind of strange endcoding or something, I could take a look this afternoon when I finish work.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top