Export problem


#1

I am having a problem trying to get my export script to work. Seems it worked fine for several then somehow it is now broken. I have scoured the code and can't find anything wrong. Can someone please take a look at it?

<?xml version="1.0" encoding="utf-8"?> Classical Connoisseur - Recently Added Tracks

Classical Connoisseur - Recently Added Tracks

%_date%

$loop(%album%)


<td$if($odd(%_counter%), class="odd",)>%title%
<td$if($odd(%_counter%), class="odd",)>%artist%
<td$if($odd(%_counter%), class="odd",)>%album%
<td$if($odd(%_counter%), class="odd",)>%track%
<td$if($odd(%_counter%), class="odd",)>%year%
<td$if($odd(%_counter%), class="odd",)>%genre%

$loopend()
</table>

ClassicalConnoisseurNewTracksByAlbum.mte (1.72 KB)

Title Artist Album Track Year Genre

#2

Try this instead:
Test_SteveC.mte (1.68 KB)

DD.20070219.0459

Test_SteveC.mte (1.68 KB)


#3

That did it! Can you tell me what was wrong with the file? I noted that you added $filename... as the very first thing. What is that for?


#4

Beside some small cosmetic changes, there was the hot spot in the array width declaration (WIDTH="100%").
The percent sign is one character of a set of special characters have to be masked if you want to use them unparsed by Mp3Tag.
I did the trick by doubling the percent sign (WIDTH="100%%"), but the recommended way is to put single quotes around the percent sign (WIDTH="100'%'").

DD.20070219.1929