The Data Services Server supports scraping and extracting Web information and presenting it as a service.
First, create a Web resource by creating a configuration file with information regarding the Web resource and the XSLT file, which has information regarding the response. Given below are example configuration and XSLT files. The following examples use Yahoo Weather Forecasts to extract weather information.
Sample Configuration File:
Sample XSLT File:
Next, follow the steps from 1 to 3 in creating a data service using various data sources. When you get to the Add New Data Source screen, select Web Datasource as the datasource type and the Web-specific options appear as shown below.
The above example saves the configuration file to an XML file and provides the file path. You can also enter as an inline configuration by clicking the relevant option as shown below:
Also, see a demonstration of service enabling a Web resource in Web Resource Sample.