Fat Pizza's pizza, they are big and they are cheezy
zoek eens op XMLHTTPRequest
Op zoek naar een baan als Coldfusion webdeveloper? Mail me!
[google=screen scraping asp]
^^ zo noemt men het vaak, en inderdaad gebeurt dit met classic asp met het XMLHTTP object.
^^ zo noemt men het vaak, en inderdaad gebeurt dit met classic asp met het XMLHTTP object.
Oops! Google Chrome could not find www.rijks%20museum.nl
Dank, volgens mij is het wel aardig gelukt.
Dit is het geworden:
Dit is het geworden:
ASP.NET Visual Basic:
1
2
3
4
5
6
7
8
9
10
11
12
13
| <% DIM xmlDoc, xmlHttp SET xmlHttp = Server.CreateObject("Microsoft.XMLHTTP") xmlHttp.Open "GET", "url", false xmlHttp.send() ' Pull the data from the web page SET xmlDoc = Server.CreateObject("Microsoft.XMLDOM") sourceXML = xmlHttp.responseText sourceXML = MID(sourceXML, INSTR(sourceXML, "<!-- START ADVERT -->")-1, INSTR(sourceXML, "<!-- END ADVERT -->")-1) response.Write(sourceXML) SET xmlHttp = NOTHING %> |
Fat Pizza's pizza, they are big and they are cheezy