Solved

HTTP Web (grab web page) Component

Posted on 2009-05-03
5
310 Views
Last Modified: 2013-11-22
Hello,
Does anyone know a company that supplies a HTTP web component - that can grab/tear webpages -  that can be access via asp pages, and that will run on Windows 2008, 64 bit.
It does not matter if it is a commercial product - as long as it works!
Regards
Jamie
0
Comment
Question by:Jamie
  • 2
  • 2
5 Comments
 
LVL 30

Expert Comment

by:Wayne Barron
ID: 24290993
what exactly are you wanting to do?
If you can give a little more detail as to what you are after
We might be able to assist better.

Carrzkiss
0
 

Author Comment

by:Jamie
ID: 24291223
Hi Carrzkiss,
I'm looking for a Asp HTTP component that allows you to GET/POST/HEAD documents via the HTTP protocol - HTTP Web Site Scraping. Ideally, it would be a product that is still available, as the one I used to use, ASPHttp by ServerOjects is unlikely to run on Server 2008 64 bit.
Regards
JamWales
0
 
LVL 6

Accepted Solution

by:
JoachimMartinsen earned 125 total points
ID: 24293618
What about the ServerXMLHTTP?
<%
 

function getSource(getSourceUrl) ' returns the source code of given site url getSourceUrl

	set getSourceXMLHTTP = server.createobject("msxml2.serverxmlhttp") 

	getSourceXMLHTTP.open "GET", getSourceUrl, false

	getSourceXMLHTTP.send ""

	getSourceResponseText = getSourceXMLHTTP.responsetext

	set getSourceXMLHTTP = nothing

	getSource = getSourceResponseText

end function
 

response.write getSource("http://www.experts-exchange.com/")
 

%>

Open in new window

0
 
LVL 30

Expert Comment

by:Wayne Barron
ID: 24293696
@JoachimMartinsen

That is totally awesome.
Great code there. It gave me an awesome idea.
Thanks a bunch.
You Rock.

Carrzkiss
0
 

Author Closing Comment

by:Jamie
ID: 31577361
Hi JoachimMartinsen,

I echo carrzkiss words - That is totally awesome, You Rock!  Many thanks, for your help.

JamWales
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
This code tracks birthdays 3 61
Problems using Provider=OraOLEDB.Oracle via VBScript/Classic ASP 5 47
Animated .jpg? 13 62
maps stopped work unsure why 7 5
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now