1. Soup

Soup is a frameworks for scrapping HTML. It offers a simplified query mechanism to abstract over the XML and HTML structures of a document.

1.1. Keywords

web query XML HTML scrapping

1.2. Implementation notes

It is composed of some keys classes:

The best way to get started is to get a soup of html elements using Soup class>>fromString: as follows:

	Soup fromString: 'http://www.bedetheque.com/album-105582-BD-Atomium-Express.html' 
	    asUrl retrieveContents        
Tests of the Soup class are the place to start to learn the API.

1.3. Main repository

The main repository is: http://www.smalltalkhub.com/mc/PharoExtras/Soup/main

MCHttpRepository
	location: http://www.smalltalkhub.com/mc/PharoExtras/Soup/main
	user: ''
	password: ''        

1.4. Main Versions

stable: spec
	<symbolicVersion: #'stable'>

	spec for: #'pharo1.3.x' version: '0.2'.
	spec for: #'pharo1.4.x' version: '0.2'.
	spec for: #'pharo2.x' version: '1.4'.	
	spec for: #'pharo3.x' version: '1.4'.        

1.5. Current loading expressions and dev history

(ConfigurationOfSoup project version: #'stable') load
(ConfigurationOfSoup project version: '1.4') load        

21/02/2013 - Migrated to SmalltalkHub.

(ConfigurationOfSoup project version: '1.4') load        

Adding better stable version.

(ConfigurationOfSoup project version: '1.3') load        

Todo: update when XMLSupport will be migrated to Smalltalk.