PDA

View Full Version : XML Format



sledwith
03-29-2004, 07:50 PM
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!

CrazyDevil
03-30-2004, 04:53 AM
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>
<!---->
<!---->
<album>
<album_artist><!---->Artist<!----></album_artist>
<album_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_info>
<album_volumename><!--[VolumeName/]--></album_volumename>
<volume_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>
<!---->
</trackinfo>
</volume_info>
<!---->
</album_volumes>
</album>
<!---->
<!---->
</collection>

polargeek
06-19-2004, 01:00 AM
CrazyDevil,

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

Paul