SmartGWT 2.4
FF 3.6
Hi,
I'm trying to create a frontend for the Netflix API, specifically the catalog title resource (http://developer.netflix.com/docs/REST_API_Reference#jcs-2) which responds as follows:
The results is shown in a grid. I want to make the synopsis link a DataSourceLinkField so it's clickable but I don't want to show the text "http://api.netflix.com/catalog/titles/movies/60021896/synopsis". Instead, I want to show "synopsis". How can I achieve that?
Many thanks!
FF 3.6
Hi,
I'm trying to create a frontend for the Netflix API, specifically the catalog title resource (http://developer.netflix.com/docs/REST_API_Reference#jcs-2) which responds as follows:
Code:
<catalog_titles>
<number_of_results>1140</number_of_results>
<start_index>0</start_index>
<results_per_page>10</results_per_page>
<catalog_title>
<id>http://api.netflix.com/catalog/titles/movies/60021896</id>
<title short="Star" regular="Star"></title>
<box_art small="http://alien2.netflix.com/us/boxshots/tiny/60021896.jpg" medium="http://alien2.netflix.com/us/boxshots/small/60021896.jpg"
large="http://alien2.netflix.com/us/boxshots/large/60021896.jpg"></box_art>
[B]<link href="http://api.netflix.com/catalog/titles/movies/60021896/synopsis" rel="http://schemas.netflix.com/catalog/titles/synopsis"
title="synopsis"></link>[/B]
<release_year>2001</release_year>
<category scheme="http://api.netflix.com/catalog/titles/mpaa_ratings" label="NR"></category>
<category scheme="http://api.netflix.com/categories/genres" label="Foreign"></category>
<link href="http://api.netflix.com/catalog/titles/movies/60021896/cast" rel="http://schemas.netflix.com/catalog/people.cast"
title="cast"></link>
<link href="http://api.netflix.com/catalog/titles/movies/60021896/directors" rel="http://schemas.netflix.com/catalog/people.directors"
title="directors"></link>
<link href="http://api.netflix.com/catalog/titles/movies/60021896/format_availability" rel="http://schemas.netflix.com/catalog/titles/format_availability"
title="formats"></link>
<link href="http://api.netflix.com/catalog/titles/movies/60021896/screen_formats" rel="http://schemas.netflix.com/catalog/titles/screen_formats"
title="screen formats"></link
<link href="http://api.netflix.com/catalog/titles/movies/60021896/languages_and_audio" rel="http://schemas.netflix.com/catalog/titles/languages_and_audio"
title="languages and audio"></link>
<average_rating>1.9</average_rating>
<link href="http://api.netflix.com/catalog/titles/movies/60021896/similars" rel="http://schemas.netflix.com/catalog/titles.similars"
title="similars"></link>
<link href="http://www.netflix.com/Movie/Star/60021896" rel="alternate" title="webpage"></link>
</catalog_title>
...
</catalog_titles>
Many thanks!