Print Page | Close Window

Striping

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3053
Printed Date: 29 March 2026 at 2:53pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Striping
Posted By: Mart
Subject: Striping
Date Posted: 27 May 2003 at 5:17am

Hi i am using Microsoft XMLHTTP to get some data off another site. it puts the pages sourcecode into responsepage how can i strip response page so it begins with


<!-- Table no 1 -->

at the top, ends with the following

</table>

My script that i am using folows

<%
GotothisURL = "http:// http://www.bbc.co.uk/radio1/chart/top40/ - url toget"

Set GetConnection = CreateObject("Microsoft.XMLHTTP")

GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send


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

response.write(responsepage)


Set GetConnection = Nothing

%>




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net