WordPress.org

Ready to get started?Download WordPress

Forums

OT Help: Can an Ipods XML be viewed on website? (6 posts)

  1. KarlB
    Member
    Posted 10 years ago #

    Hi there,
    I have an Ipod and would love to show what I have on my Ipod on my website. Now when you export your libary on the Ipod it is saved as an XML file.
    Does anyone know how I would go about hooking this up to a website to show my albums?
    Any links or suggestions greatly appreciated :0
    Karl

  2. Insom
    Member
    Posted 10 years ago #

    Simplest way to do it would be to create an XSL template for the file. I'm not familiar with the ipod but it sounds like you want to display an XML document as a web page. If you google for XSL there are a few guides on how to get this set up.
    Then it's just a matter of putting a line in your XML document that points to the template file and the url will just be the path to the XML file.
    LPS

  3. KarlB
    Member
    Posted 10 years ago #

    Hi there,
    Hmmm I am not that familiar with that. I just went to Squidfingers and see he has done that very nicely: http://www.squidfingers.com/ipod/
    If only I knew how :)
    Karl

  4. Insom
    Member
    Posted 10 years ago #

    It appears he's converted the XML to HTML and published it that way, this is usually done with some XSL mechanism, but this time by the author, not the reader.
    As an example, I have my CD collection online in XML format. If you view the source you'll notice it's in XML, but it has one line that tells the browser what template is to be used. ie., tells the browser how the XML should be presented. It's pretty easy to do.
    LPS

  5. tcervo
    Member
    Posted 10 years ago #

    I use Tunes2HTML, and it works great. I'm still ripping my collection, so I haven't posted the results online yet...plus I'm hacking the code to get compliant 0utput (and better integration with my site.) Here's the script:
    http://www.joescafe.com/tunes2html/
    -Tony

  6. Insom
    Member
    Posted 10 years ago #

    that looks pretty cool
    LPS

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.