Allen Day > XML-ASX > XML::ASX

Download:
XML-ASX-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

XML::ASX - An ASX file - methods for everything from <ASX> to </ASX>

SYNOPSIS ^

  use XML::ASX::File;
  my $asx = XML::ASX::File->new;
  print $asx;

DESCRIPTION ^

Represents the ASX file itself. Use this class to add Repeat blocks, ASP Events, and Refs (audio and video media sources).

METHODS ^

CONSTRUCTOR

ACCESSORS

The following are readable by calling without argument, and settable by calling with argument.

 Method      Default Value      Purpose
 ---------------------------------------------------------------------
 abstract    none               one line summary of file content
 author      none               who made the file
 banner      none               URL to 82x30 image to be displayed
                                during play, just below the media
 bannerbar   AUTO               ???  May be 'FIXED' or 'AUTO'
 base        none               just like HTML
 copyright   none               who holds rights to the file
 logo_icon   none               URL to 16x16 image to be displayed in
                                WMP control bar
 logo_mark   none               URL to 82x30 image displayed before and
                                after queue is played
 moreinfo    none               text to display when mouse hovers over
                                logo or banner
 previewmode YES                ??? May be 'YES' or 'NO'
 target      none               url to open in web browser when banner
                                is clicked
 title       none               title of the file for WMP to display
 version     3.0                ASX version -- don't mess with it

MORE ACCESSORS

add_repeat() - add an XML::ASX::Repeat object to the end of the playlist. Give it an object as argument, or it creates one for you and returns it.

add_entry() - add an XML::ASX::Entry object to the end of the playlist. Give it an object as argument, or it creates one for you and returns it.

add_event() - add an XML::ASX::Event object to the end of the playlist. Give it an object as argument, or it creates one for you and returns it.

xml() - print the playlist

AUTHOR ^

Allen Day, <allenday@ucla.edu>

SEE ALSO ^

 XML::ASX::Repeat
 XML::ASX::Entry
 XML::ASX::Event
syntax highlighting: