# Blosxom Plugin: nowplaying # Author(s): Terrence Yu # Version: 0.1 # Used in conjuction with Brandon Fuller's Now Playing plugin # for iTunes for Windows (http://brandon.fuller.name/archives/hacks/nowplaying/). # This will populate $nowplaying::nowplaying with a list of the last songs played # in iTunes as well as the artist's name. package nowplaying; # --- Configurable variables ----- # Filename including full path to file my $filename = "/home/tyua/pub_html/blog/now_playing.xml"; # -------------------------------- use CGI qw/:standard/; use FileHandle; sub start { $nowplaying .= "