Solved

HTTP Web (grab web page) Component

Posted on 2009-05-03
5
304 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

757 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

21 Experts available now in Live!

Get 1:1 Help Now