A generic method for casting objects to a format catalog. Individual objects will inherit from this function.
The object to cast.
A formatting object, created using the information in the input object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.