Accessing Web Data
One of the most popular trends in todays information age, is the creation of Web 2.0 applications called mashups. A mashup is a web application that combines data from multiple resources or services to create a new application. Mashing-up data is thus a process of acquiring XML ( through APIs exposed by external websites), processing and combining that data, and publishing the results. Web 2.0 applications, such as Flickr, del.icio.us etc., expose APIs that return XML as default format.
Deluge Scripting supports tasks that get the XML from one place to another, manipulate and publish XML data to easily create sophisticated web applications.
- The get url Deluge task is used to fetch data from a specific url using HTTP GET request.
- The post url Deluge task is used to fetch data from a specific url using HTTP POST request.
- The Execute XML task executes an XPath in the context of the specified XML and returns the value as a string. Here, XPath refers to the XML Path Language, for selecting nodes from an XML/JSON document.