# Help with Dano's export.mte

**URL:** https://community.mp3tag.de/t/help-with-danos-export-mte/1685
**Category:** General Discussion
**Created:** [February 9, 2005, 6:46am UTC](https://community.mp3tag.de/t/help-with-danos-export-mte/1685 "2005-02-09T06:46:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mrmax](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@mrmax](https://community.mp3tag.de/u/mrmax)
#### Post date: [February 9, 2005, 6:46am UTC](https://community.mp3tag.de/t/help-with-danos-export-mte/1685/1 "2005-02-09T06:46:43Z")

</div>

First THANKS for a GREAT program, and this forum.

My use is for my home website, running on my home web server.  
This is a private site for my family only.  
2 problems:  
Problem 1.  
I'm using the [Dano export.mte](http://www.anytag.de/download/export/html_dano_albumlist_js_f.html)  
I have edited the dano.mte file to add another column to split the main column where the folders are listed.

**Main Screen**  
**Main Screen** | column1 | column2 |column3|column4|  
**orginal Dano** | Counter | (folder ) | Year.. . | Genre .|

.. . . .. .. .. | column1 | column . 2 . . |column 3 |column4|column5 |  
**My Edited** | Counter | Artist (folder)| Album . .| Year . . | Genre |

As you know, click on "folder/artist", and the sub screen opens

**Sub Screen**  
**orginal Dano** | column1 | column. . 2 . . . . . . . . . | column 3 . .| column4 |  
contains . . . .| blank . . |length, bitrate, title/loc. | VBR. .. .. .. . |tot MB, #songs |

**I want** | column1 | column 2 . . . . | column 3 . .. . |column4 |column5 |  
. . . . . .| blank . .. | Title/location . | length, bitrate| file size | VBR . . |

As you can see I want to move "length & bitrate" to the new column col3. In addition  
I would like a place holder for column5 to put another future formatstring.

I have tried several different ways of changing the subscreen loop and syntax, it doesn't  
ever work. I hope someone can help.

Below is the section of my export.mte that needs to be edited.  
--------------------------------------------

```
<div id="ipbwrapper">
<div class="tableborder">
<div class="maintitle" align="left">MP3tag Album Overview of "%_workingdir%": $loop(%album%,1)$loopend()%_max_counter% Albums | %_total_size% | %_total_files% Files | %_total_time% Hours</div>
<table width="100%%" border="0" cellspacing="1" cellpadding="4">
<tr>
<th align="center" width="2%%" class="titlemedium">Counter</th>
<th align="left" width="44%%" class="titlemedium">Artist</th>
<th align="center" width="35%%" class="titlemedium">Album</th>
<th align="center" width="5%%" class="titlemedium">Year</th>
<th align="center" width="14%%" class="titlemedium">Genre</th>
</tr>
$loop(%_folderpath%)<tr>
<td class="row2" align="center"><a href="http://mysite.org/music\download\\%_directory%" target="_blank">$num(%_counter%, 3)</a></td>
<td id="id%_counter%" class="row2"><b><a href="javascript:show(''%_counter%'');">%artist%</a></b></td>
<td class="row2" align="center">%album%</td>
<td class="row2" align="center">%year%</td>
<td class="row2" align="center">%genre%</td>
</tr>
<tr style="display:none;" id="show%_counter%">
<td class="row4" align="center"><b>-</b></td>
<td class="row4">$loop(%_filename_ext%)%_length% min | %_bitrate% kbits | <a href="/music/%_folderpath_rel%%_filename_ext%" title="%comment%">%_filename_ext%</a>

```

$loopend()

```
<td class="row4" align="center">%_vbr%</td>
<td class="row4" align="center">%_total_size%

```

%\_total\_files% Files

```
</tr>$loopend()
</table>          

```

* * *

Problem 2

Problem #2 (only after problem #1 solved)  
I would like the subscreen column1 to have a check box [].  
Here songs can be checked for download, and sent to a download queue.  
This would probably require a external cgi/perl script, or if the code  
is short Java could handle it inside the html page.  
The download script would allow the user to sequentially download  
multiple files tagged for download, but only transfering 1 at a time.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [February 9, 2005, 11:15am UTC](https://community.mp3tag.de/t/help-with-danos-export-mte/1685/2 "2005-02-09T11:15:57Z")

</div>

Just add another

```
 <td>...</td> under <td class="row4" align="center">%_total_size%

```

%\_total\_files% Files  
?

---

<div class="post-metadata">

### Author: ![mrmax](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@mrmax](https://community.mp3tag.de/u/mrmax)
#### Post date: [February 10, 2005, 1:01am UTC](https://community.mp3tag.de/t/help-with-danos-export-mte/1685/3 "2005-02-10T01:01:51Z")

</div>

This DOES NOT work. I already tried that.  
What happens, instead of a new line in col 2, then col 3, col 4, etc being produced for each song, a new col is produced for each song. So if a directory has 12 songs you see like 15 columns.

Try it and you will see what I mean.  
LOOK very carefully at the output I want in each column.  
**see "sub display", "I want"**  
sub page (not main page)  
Col 1 = no change  
Col 2 = song title/location  
Col 3 = bitrate and length  
Col 4 = song file size  
Col 5 = VBR

> [@](#):
>
> Just add another
> 
> ```
> <td>...</td> under <td class="row4" align="center">%_total_size%
> 
> ```
> 
> %\_total\_files% Files
