how do you make a block that reads the html from a webpage? I will give credit in my mod.
Offline
Try looking at Panther's code.
Offline
scimonster wrote:
Try looking at Panther's code.
![]()
thanks!
Offline
sparks wrote:
try
Code:
self readFromUrl: t1(replace t1 with other variables if needed. That's from Panther, I have no idea if it will work by itself in another program or not, I'd be interested to know!
No, readfromurl is a made up method.
Try this:
readFromUrl: t1
^ (HTTPSocket httpGet: t1) contentsThat makes it so now you can use readFromUrl:
Offline
Pecola1 wrote:
sparks wrote:
try
Code:
self readFromUrl: t1(replace t1 with other variables if needed. That's from Panther, I have no idea if it will work by itself in another program or not, I'd be interested to know!
No, readfromurl is a made up method.
Try this:Code:
readFromUrl: t1 ^ (HTTPSocket httpGet: t1) contentsThat makes it so now you can use readFromUrl:
![]()
thanks for all the help!
Offline
samtwheels wrote:
Pecola1 wrote:
sparks wrote:
try
Code:
self readFromUrl: t1(replace t1 with other variables if needed. That's from Panther, I have no idea if it will work by itself in another program or not, I'd be interested to know!
No, readfromurl is a made up method.
Try this:Code:
readFromUrl: t1 ^ (HTTPSocket httpGet: t1) contentsThat makes it so now you can use readFromUrl:
![]()
thanks for all the help!
Your welcome.
Offline