Displays a rating for an item.
rating element to display a rating for an item. The following figure shows the basic layout for a
rating page. The theme for the rating template defaults to the system preference.
The following listing shows the main elements of the
rating element in TVML format.
The following listing shows the TVML for a
rating example. The example displays a title and a set of rating badge images, such as stars. The filled rating badge images indicate the current rating for that title. The value attribute indicates that the example title has an 80 percent favorable rating, or 4 of 5 stars.
The following figure shows the output for the above example: