exporting iTunes playlists in a readable way

Posted:
in iPod + iTunes + AppleTV edited January 2014
i'm working on a blog right now, and i'm trying to have a link to some songs in a playlist in itunes. i dont mean so that people can listen in, just a list of the songs so that people can see what i listen to. is there a good way of doing this? everything i try comes out looking worse that poorly written html...

Comments

  • Reply 1 of 3
    jante99jante99 Posts: 539member
    Quote:

    Originally posted by ipodandimac

    i'm working on a blog right now, and i'm trying to have a link to some songs in a playlist in itunes. i dont mean so that people can listen in, just a list of the songs so that people can see what i listen to. is there a good way of doing this? everything i try comes out looking worse that poorly written html...



    1. Purchase Konfabulator.

    2. Download the Sputnik widget.

    3. Set Sputnik to upload recent.js to your ftp server

    4. add code to website:

    Code:


    <script language="JavaScript" src="path to recent.js"></script>





    5. Open up the package contents of the Sputnik widget.

    6. Modify the create_xml.php file to format how you want the html produced by recent.js to look. I changed it to the follow:

    for ($k=0 ;$k<$j ;$k++) {

    $url = $aryDat[$k]["DETAILS"];

    $track = htmlspecialchars($aryDat[$k]["TRACK"]);

    $artist = htmlspecialchars($aryDat[$k]["ARTIST"]);

    $image = htmlspecialchars($aryDat[$k]["IMAGEURLMEDIUM"]);

    $count = $k+1;

    if ($k == 0) {

    $jsdata .= "document.write(\\"<img src='".$image."'><br />\\");\

    ";

    }

    $jsdata .= "document.write(\\"".$count.". <a href='".$url."' target='amazon'>".$track."";

    $jsdata .= "</a> - ";

    $jsdata .= "By ".$artist."<br />\\");\

    ";

    }

    7. Use CSS in website to format text.

    Image

    http://homepage.mac.com/jante99/recent.js
  • Reply 2 of 3
    sunreinsunrein Posts: 138member
    Wow jante. I think this might be the most straightforward and useful answer I've ever seen in forums. You rock.
  • Reply 3 of 3
    curiousuburbcuriousuburb Posts: 3,325member
    or you could always visit versiontracker for a pre-rolled solution



    Product Description:

    iTunes Publisher 3.1.1 sorts, formats, and exports playlists from iTunes into the following formats:



    HTML: Export your playlists to web pages that can go straight to your website. Share playlists with your friends, and even automatically link to your MP3 files (don't steal music!). You can export to multiple pages for large playlists, and links between the pages are automatically generated. See the iTunes Publisher preferences for all the options!



    Text: Keep a simple record of what you have. Share it in a small file.



    Tabbed-Text: Import your playlist into databases or spreadsheets.



    Quicktime Streaming Server: Create QTSS playlists easily so you can avoid the annoying interface provided by Apple.



    M3U: A general playlist format. Works with WinAmp and some other audio applications
Sign In or Register to comment.