JSCP sample - get only data

get remote data 1, click here to see
get remote data 2, click here to see
Comment

We can also use Jscp.Request.requestOnlyData() to get data without getting page template. (internally Jscp.Updater also use Jscp.Request). You can do anything with the data for you web application. In this sample, we just check if the coming items are new and cached them.
Read this sample's HTML source for full details.

NOTE

Template files and return data should be UTF-8 encoding, if they contain non-ASCII characters.