Chapter 7. SERVERS AND SCRAPERS
A powerful aspect of Ruby is that you can use it to develop ways to automate interactions with resources on the Web. This chapter gives a brief overview of how to play with web pages and concludes with a set of client/server scripts that can securely pass and execute commands. Interacting with and extracting data from the Web is important because there is a wealth of information available—this is known as data mining. Instead of mining for gold, we will look at different ways to mine for significant data and turn it into meaningful information.
This script will query the Web to retrieve the first ...