Opening a stream to a webpage..

BlitzMax Forums/BlitzMax Beginners Area/Opening a stream to a webpage..

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

For anybody else wanting to know how to download webpages ready for parsing, quick and dirty example:

s:TStream = OpenStream("http::www.google.co.uk/search?hl=en&q=blitz&btnG=Search&meta=")

If s
	Repeat
		l:String = ReadLine(s)
		Print l
	Until Eof(s)
EndIf

CloseStream s