- Get started
- Structure
- Body Elements
- Objects
A Connected Web file is a JSON or JSONP encoded file with one of the following extensions:
.json
.jsonp
.cweb
JSONP support is mandatory and it's used to allow client side cross domain requests, granting aggregation trough browsers without using a server. To enable JSONP the feed must accept the GET callback parameter and return the JSON formatted with padding.
Each Connected Web file consists in a multidimensional associative array and relies on a specific format and structure.
The internet media type of Connected Web are application/connectedweb+json for the JSON version and application/connectedweb+jsonp for the JSONP version.
There are two main types of Connected Web files: