# Sortierung html export

**URL:** https://community.mp3tag.de/t/sortierung-html-export/1676
**Category:** Allgemein
**Created:** [February 3, 2005, 4:23pm UTC](https://community.mp3tag.de/t/sortierung-html-export/1676 "2005-02-03T16:23:53Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 7, 2005, 6:02pm UTC](https://community.mp3tag.de/t/sortierung-html-export/1676/8 "2005-02-07T18:02:26Z")

</div>

Hallo Artaios,

der aktuelle [Development Build](http://developer.mp3tag.de) 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

---

_[View the full topic](https://community.mp3tag.de/t/sortierung-html-export/1676)._
