Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: Tim MeagherHi,
I guess the response to your question is that if you are using the HTTP node and pointing it to a webpage you are effectively requesting just the HTML data that the specified page returns.
If you use a web services API, then this will likely return XML or JSON data which is what you are looking for.
You can then obviously use the XML Data or JSON Data nodes to process the data.
If you can only retrieve the HTML, it is still possible to parse out the contents of the HTML.
There are probably some 3rd party APIs that you can find out which do this sort of screen-scraping.
However, since HTML is designed to describe the presentation and not the data layer, this is likely time consuming and error prone.
Every time the layout of the page you request changes, you will need to change the way you process the data.
This is the reason why web services are used - to extract the data & perform related operations and not worry about the presentation layer and how this information should be displayed in a browser.
If not such web services exist, then you are left with the HTML and there isn't much that can be done about this outside of putting in requests to whoever runs the site you are accessing to provide such an API.
Regards,
Tim.