item_element

item (9)
kavulix

Element name: item

All Roku screens supported by OpenRokn are considered items and each screen is represented by an item element in orml feeds. There are a total of 8 different item types/screens supported by OpenRokn. When you want to add a new screen or a new media item to your feed you simply add a new item element. The screen type is then specified with the type attribute. The exact attributes and child nodes supported by the item are determined by the type attribute and are explained in greater detail on the corresponding item pages.


Example

<item type="poster" title="My poster screen">
   <item type="video"/>
   <item type="video"/>
</item>

Supported Attributes

Name: type
Type: string
Supported values
poster
grid
audio
video
slideshow
document
settings
search

Name: title
Type: string
Supported values
any string of text
Notes
The title will be displayed as part of the breadcrumb text in the upper right portion of the screen. It will also be displayed underneath poster images on poster and grid screens and also on springboard screens.

Name: shortdesc
Type: string
Supported values
any string of text
Notes
The short description will be displayed underneath the title on poster screens.

Name: sdposterurl
Type: string
Supported values
any url pointing to a jpg, gif or png image

Name: hdposterurl
Type: string
Supported values
any url pointing to a jpg, gif or png image

The five attributes listed above are the only attributes that are supported by ALL item types. All other supported attributes are defined on the corresponding item pages linked above.


Supported Child Nodes

description

The description element is the only child node supported by all item types. All other supported child nodes are defined on the corresponding item pages linked above.


MongoDB Logo MongoDB