ASP - INCLUDING OUTSIDE WEBPAGE

Alright...I have this page (http://joshuadumas.com/clients/InTouch/aptcor/properties/) and would like to add this page (http://www.loopnet.com/Listings/aptstein@comcast.net) as the text...how can this be done without recoding the entire page...can I do an include statement...and where and how would I do that?
Joshua DumasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

reiss20Commented:
Hi duemes,

What about just using frames?

Reiss :o)
0
Joshua DumasAuthor Commented:
yea i was thinking that, but didnt know if i could get away with using an include or something
0
reiss20Commented:
Hi duemes,

<%
 ' Intruduce the url you want to visit
 GotothisURL = "http://www.loopnet.com/Listings/aptstein@comcast.net

 ' Create the xml object
 Set GetConnection = CreateObject("Microsoft.XMLHTTP")
 ' Conect to specified URL
 GetConnection.Open "get", GotothisURL, False
 on error resume next
 GetConnection.Send

 ' ResponsePage is the response we will get when visiting GotothisURL
 ResponsePage = GetConnection.responseText

' We will write
if ResponsePage="" then
Response.write("The page is not available")
else
Response.write(ResponsePage)
end if

 Set GetConnection = Nothing
%>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

jmundsackCommented:
You could do something like:

    url = "http://www.loopnet.com/Listings/aptstein@comcast.net"
    Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
    xmlhttp.open "GET", url, False
    xmlhttp.send ""
    Response.Write xmlhttp.responseText
0
reiss20Commented:
Don't think an include would work as it includes files that are on the same server, not remotely.

You can try the 2 solutions i've suggested see what works best for you.

Hope that helps,

Reiss :o)
0
Joshua DumasAuthor Commented:
I took reiss20 suggestion and it works, but go back on the site http://joshuadumas.com/clients/InTouch/aptcor/properties and tell me why I dont get the headings, but if you hover over underneath the large graphic at the top of page somethings do come up, but the heading bar across the page dosent...WHY?
0
Leo EikelmanDirector, IT and Business DevelopmentCommented:
I don't know if you want to take this into consideration but I am at work on a fairly fast connection and your page takes approximately 15-20 seconds to completely load.

I don't know if this is because of the include statement or not.  Might want to look into it.

Leo
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.