Feed Parsing Guide
Here you can find a guide to how to parse and implement the feed in order to get the most out of your Preview Networks content integration:
First step: Understanding the Feed
In order to parse the feed correctly you must be aware that the feed contains international metadata under the <movie> node (Movie ID, Imdb ID, international title, duration, production year, international website URL, actors, directors, writers and producers).
The following <regions> node contains content only applicable for the country, for which you are using the feed. This contains the local age limit, local website URL as well as genre and production country in local language.
The <pictures> node contains at least a cinema poster, lobby still, video still and gallery image with their size indicated in the feed.
In the <products> node you will find the local title, a synopsis in local language, the local release date and distributor as well as EAN numbers if you are using a Home Entertainment Feed (not available in all countries).
The most important node for you will most likely be the <clips> one. Here you will find that evey single clip in the feed is associated to a paramter called Clip_type_id. You will find this parameter in this position inside the feed:
This parameter is important because its value can tell you whether this clip is a teaser/trailer or a piece of Extra content.
All the clips with the Clip_type_id value between 1 and 6 are teasers/trailers
All the clips with the Clip_type_id value between 7 and 17 are extras.
Second Step: Feed Implementation
Every video asset comes with a title. We suggest to use this title to define/describe the clips that are being published on your website.
You will find this parameter here inside the feed:

You also might be interested in grouping all the clips relating to the same movie. You can do that through two parameters that are available in the feed: Imdb reference number and Movie ID.
The Imdb is an international reference code used for cataloguing films in databases, while the Movie ID is a value internal to Preview Networks. You can find these parameters in the feed here:

