DOWNLOADS EXAMPLES SKINS DOCS SUPPORT
 
 

Custom playlist generator

If you're not afraid of programming, you can run wimpy off of your own custom back-end application. Your application should be able to output XML data in the wimpy XML playlist format. Click here for example playlists.

Using your own back-end "wimpyApp" will limit the players functionality somewhat -- no "force" download, no prevent caching -- since these options take advantage of a known scripting environment.

Once your script can output proper XML data, use the Customizer tool to generate the proper HTML code for your site:

1. Enter the URL to your wimpyApp for the first question "Where is wimpy.php/asp/cfm or playlist.xml"

2. Since your "wimpyApp" is returning XML rather than the standard text-formatted playlist that wimpy.php/asp/cfm normally returns, you have to enable the "Force XML Compliance" option so that wimpy will know to read the returned playlist as XML.

The "wimpyApp" is defined** in both the <object> and <embed> tags as a parameter to wimpy.swf within the HTML code that displays wimpy on your web page/site. If you plan on using a dynamic URL to your wimpyApp, be sure to review "Dynamic URLs (scipt.php?foo=bar)"

NOTE: It is important to note that you need to ensure your script outputs the proper "headers" for the XML content. If you're not familiar with what a "header" is, then you can probably stop reading this, or refer to your scripting language's help area for more information :). Here are examples for setting the proper headers:

PHP:

header("Content-Type: text/xml");

ASP:

Response.CharSet = "utf-8"
Response.ContentType = "text/xml"

 

Playlists can contain both mp3 <item>'s and playlist <item>'s.

Example:

<item>
   <filename>playlist.xml</filename>
   <title>Another playlist</title>
</item>

<item>
   <filename>example.mp3</filename>
   <title>My Cool Tune</title>
</item>

 

 

 

 

 

 

  ©Copyright Plaino LLC. All rights reserved.