Please see our docs on
roURLTransfer and its methods which are listed under ifUrlTransfer.
This is how your XML or JSON data is retrieved from your server to the device.
Typically one stores the urls of both the video content and the images along with descriptive meta-data in a database on a web server. Scripts are written in the language of your choice (php/mysql, ASP/msSql, etc) to retrieve that data and return it as XML or JSON. One creates an roURLTransfer object, sets the URL and triggers the transfer, parses the results into an object the Roku can understand (an Associative Array), pushes that object into a linear array and calls the SetContentList method of whatever screen that you wish to display those items on.
Since the purchased product has a unique identifier associated with it, you can look up to your database on your server using the identifier and retrieve anything that is available to a user who has purchased that item, including image urls and videos and other metadata
- Joel