[squeak-dev] Re: Extracting data from web pages using Squeak

Bernd Elkemann elkemann at web.de
Tue Jun 17 16:04:28 UTC 2008


Giuseppe Luigi Punzi schrieb:
> I tried with lordzealon.com and was a bit slowly.
wow that is an understatement, it actually takes forever on that 
particular website because it transmits a lot from unrelated sites like 
googlesyndication.com. If it is really that website you want to parse: 
use a normal browser to save the .html, then use squeak to parse it (you 
can use Squeak to only grab the html from the site but its complicated, 
see the posts of the other newsgroup members)
A progress bar is probably not what you want because what takes long 
here is the transmission of the website, not the parsing. If it were the 
parsing you could tell at any Moment what percentage is completed, in 
the case of the transmission thats difficult to tell.
But if you need ProgressBars for something else: there is class 
ProgressMorph. You will have to tell a ProgressMorph which value 
(percentage %) it is supposed to show.
Greetings, Bernd




More information about the Squeak-dev mailing list