Previous Topic

Next Topic

Book Contents

Book Index

Determining a English Printable Type Name or Icon for an Asset

Additional information on an asset can be determined taking its type attribute value from a search result, and looking it up in a assetTypeList returned by the SL_GetAttibutes. In SL_GetAttributes, an asset is further described by corresponding assetitem tag in the assetTypeList.

A given assetitem tag will specify a assettype attribute which corresponds to the type attribute. The assetiteme tag specifies a text attribute which is English printable name of the asset. The asset item tag also specifies a recommended icon graphic to use for an asset of this type contained in a bin in the imgsrc attribute. The following is an example of a asset item tag:

<assetitem assettype="_ss_bs" 
  ai="1" 
  imgsrc="icon_courseware.gif" 
text="Business Courseware" …/>