Hallo Artaios,
der aktuelle Development Build bietet nun die Möglichkeit benutzerdefinierte Variablen im Export zu benutzen.
Eine Beispielanwendung
<head><title>Test</title></head>
<style type="text/css"><!--
.table1 { background: #FF9900; }
.table2 { background: #FFFFE0; }
--></style>
<body>
$puts(cnt,0)
<table>
<tr>
<th class="title">Interpret</th>
<th class="title">Titel</th>
<th class="title">Album</th>
<th class="title">Track</th>
</tr>
$loop(%artist%)
$loop(%title%)
<tr>
<td$if($odd($get(cnt)), class="table1", class="table2")>%artist%</td>
<td$if($odd($get(cnt)), class="table1", class="table2")>%title%</td>
<td$if($odd($get(cnt)), class="table1", class="table2")>%album%</td>
<td$if($odd($get(cnt)), class="table1", class="table2")>%track%</td>
</tr>
$puts(cnt,$add($get(cnt),1))
$loopend()
$loopend()
</table>
</body>
</html>
Hier wurde die benutzerdefinierte Variable "cnt" verwendet.
Viele Grüße,
~ Florian