Results 1 to 3 of 3

Thread: XML Format

  1. #1
    Join Date
    Mar 2004
    Location
    SoCal, USA
    Posts
    2

    Default XML Format

    Sorry in advance if this question has already been answered, but I can't find anything definite in the forums.

    Is there an "Export to XML" function? I'm using 5.2, and I don't see the ability to export to XML anywhere.

    I did see a couple of other posts that mention that and XML export is "being worked on", so if its there, and I need to RTFM, please let me know.

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    10

    Default Re: XML Format

    A user of OrangeCD already created a export template who creates a xml file.

    I think it's ok when I post it here, because the website isn't reachable.

    Here's the dax file:

    /*
    xml.dax
    Copyright (c) Bas Terhorst, 2003
    */
    SETTINGS["Settings"] {
    THUMBSIZE["Thumbnail size (16)"] : int = 16;
    COVERSIZE["Cover size (170)"] : int = 170;
    GROUPBY["Grouping field"] : field = artistsort;
    }

    ::start/web
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <collection>
    <!--[Group($GROUPBY)]-->
    <!--[Album(all)]-->
    <album>
    <album_artist><!--[Artist]-->Artist<!--[/Artist]--></album_artist>
    <album_title><!--[Title]-->Title<!--[/Title]--></album_title>
    <album_cover><![CDATA[<!--[Cover($COVERSIZE)/]-->]]></album_cover>
    <album_thumbnail><![CDATA[<!--[Cover($THUMBSIZE)/]-->]]></album_thumbnail>
    <album_uniqueid><!--[ShelfId/]--></album_uniqueid>
    <album_label><!--[Label/]--></album_label>
    <album_category><!--[Category/]--></album_category>
    <album_format><!--[Format/]--></album_format>
    <album_genre><!--[Genre/]--></album_genre>
    <album_releasedate><!--[ReleaseDate/]--></album_releasedate>
    <album_notes><![CDATA[<!--[cddbext/]-->]]></album_notes>
    <album_time><!--[AlbumTime/]--></album_time>
    <album_volumes>
    <!--[Volume]-->
    <volume_info>
    <album_volumename><!--[VolumeName/]--></album_volumename>
    <volume_trackcount><!--[TrackCount/]--></volume_trackcount>
    <volume_total_time><!--[VolumeTime/]--></volume_total_time>
    <trackinfo>
    <!--[Track]-->
    <track_details>
    <track_title><!--[TrackTitle/]--></track_title>
    <track_artist><!--[TrackArtist/]--></track_artist>
    <track_time><!--[TrackTime/]--></track_time>
    <track_num><!--[TrackNum/]--></track_num>
    </track_details>
    <!--[/Track]-->
    </trackinfo>
    </volume_info>
    <!--[/Volume]-->
    </album_volumes>
    </album>
    <!--[/Album]-->
    <!--[/Group]-->
    </collection>

  3. #3

    Default Re: XML Format

    CrazyDevil,

    do you also have the php script that bas included with this xml file?

    Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •