Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
HtmlParser
Last updated at 2:10 pm UTC on 10 September 2008
The class HtmlParser is a utility class which reads a stream and creates a HtmlDocument object. The class has only class side methods.

Usage:

HtmlParser parse: anInputStreamOrString


Needs the package "Network-HTML" to be installed (since 3.8 not in the release anymore).
Note: There is a HTML parser in the 3.10 universe which builds on this package 'Network-HTML'. It accurately parses correct HTML documents.



Also see: Recipe: Grabbing a page from the Internet