|
||||
| home > wimpy MP3 player > documentation > API | www.wimpyplayer.com | |||
Server Side
Client Side
HTML display
|
ecommerceecommerce -- Enables ecommerce functionality Usagewimpy.php?ecommerce=yes Parametersyes DescriptionThis option enables you to use Wimpy in conjunction with a shopping cart system. Any shopping cart system will work, as long as you can derive a "hard" link (URL) to shopping cart items. Here are a few shopping cart systems that you may want to take a look at:: www.1-2-3-musicstore.com When the ecommerce option is set to "yes" Wimpy will:
NOTE: Wimpy always activates the cover art container to act as a button if a "comments" tag contains any data. Be sure to review "Using Cover Art." There are two kinds of "comments" tags: ID3 and XML
When entering a shopping cart URL into your comments tag, you should "URL encode" the shopping cart URL. "URL encoding" is a mechanism for encoding reserved characters that have special meaning in certain contexts. For example, shopping cart URLs usually contain special characters, such as ? and & that may cause PHP, ASP, ColdFusion or XML to "freak out." The reason for this is because these characters hold special meaning in these languages and can actually interfere with the way that PHP, ASP ColdFusion and / or XML operates. If the special characters are "URL encoded," then PHP, ASP ColdFusion and XML will not "choke" on the character(s). URL encoding converts non-alpha-numeric characters into "percent-encoding," which basically means that each character is converted to it's equivalent HEX-code-value preceded by a percent sign. In other words "?" becomes "%3F" because "3F" is the HEX value for "?" We have created a tool at wimpyplayer.com that will URL encode your shopping cart URL for you. Click here to access the URL encoding tool so that you can safely insert the URL to each shopping cart item into your "comments" tag.
|
©2002-2008 Plaino.