Export in HTML

Hope someone can help me

I want to Export all my albums in HTML

I modified the (html_standard) template

But just one thing i want is

Only One line by Album (not 1 line per track in the album)

Here is

$filename(html,utf-8)<?xml version="1.0" encoding="utf-8"?>

http://www.mp3tag.de" /> Mp3tag - File Overview

Mp3tag - File Overview

%_date%

		<th class="title">Artist</th>
		<th class="title">Album</th>
		
		<th class="title">Year</th>
		<th class="title">Genre</th>
		<th class="title">Codec</th>
	</tr>

$loop(%artist%)

		<td$if($odd(%_counter%), class="odd",)>$replace(%artist%,&,&amp;)</td>
		<td$if($odd(%_counter%), class="odd",)>$replace(%album%,&,&amp;)</td>
		
		<td$if($odd(%_counter%), class="odd",)>$replace(%year%,&,&amp;)</td>
		<td$if($odd(%_counter%), class="odd",)>$replace(%genre%,&,&amp;)</td>
		<td$if($odd(%_counter%), class="odd",)>$replace(%_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3'&,&amp;)</td>
	</tr>

$loopend()

</table>
<p>build on %_date% with %_app% - the universal Tag Editor <a href="http://www.mp3tag.de/en/" title="Mp3tag Website">www.mp3tag.de</a></p>

Martin


Proposal ...

01: $filename($getEnv('USERPROFILE')'\Desktop\MyFilename.html',UTF-8)$puts(

02: )'<?xml version="1.0" encoding="utf-8"?>'
03: ''
04: ''
05: ''
06: ''
07: 'Mp3tag - Album Overview'
08: '<!--'
09: 'h1 {font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 14pt; color: #000}'
10: 'body {font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 8pt; background: #fff}'
11: 'table, tr, td {font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 9pt; color: #000;}'
12: 'a:link, a:visited, a:active {text-decoration: none; color: #03f;}'
13: 'a:hover {text-decoration: none; color: #f03;}'
14: '.title {font-weight: bold; padding: 7px; margin: 0px; color: #000;}'
15: '.odd {background-color: #ccc;}'
16: '-->'
17: ''
18: ''
19: '

Mp3tag - Album Overview

'
20: ''%_date%'

'
21:
22: ''
23: ''
24: ''
25: ''
26: ''
27: ''
28: ''
29: ''
30:
31: ''
32: ''
33: ''
34: ''
35: ''
36: ''
37: ''
38:
39: $loop(%ALBUM%,1)
40: ''
41: ''
42: ''
43: ''
44: ''
45: ''
46: ''
47: $loopend()
48:
49: '
Album Artist Year Genre Codec
'$replace(%ALBUM%,'&','&')' '$replace(%ARTIST%,'&','&')' '$replace(%YEAR%,'&','&')' '$replace(%GENRE%,'&','&')' '$replace(%_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3','&','&')'
'
50: '
'
51: ''
52: ''

DD.20160327.2022.CEST

Thank you for your support again

Is it possible to have ARTIST in first column And sort it By Artist, Year, ALbum

And makes Album column larger for Longer names

Thank you again For support On Easter

Martin

For every sort criterion you should incorporate a $loop(%fieldname%) statement.
To sort by Artist, Year, ALbum use
$loop(%artist%)$loop(%year%)$loop(%album%,1)
and $loopend() statements after the loops have been completed.

To get the right order of fields, move them around.
To get the right column width, play around with the percentages for each column.
But this is more or less a HTML course - and hardly possible in this forum.

Thank you
I make it work now

01: $filename($getEnv('USERPROFILE')'\Desktop\MyFilename.html',UTF-8)$puts(

02: )'<?xml version="1.0" encoding="utf-8"?>'
03: ''
04: ''
05: ''
06: ''
07: 'Mp3tag - Artist-Year-Album Overview'
08: '<!--'
09: 'h1 {font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 14pt; color: #000}'
10: 'body {font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 8pt; background: #fff}'
11: 'table, tr, td {font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 9pt; color: #000;}'
12: 'a:link, a:visited, a:active {text-decoration: none; color: #03f;}'
13: 'a:hover {text-decoration: none; color: #f03;}'
14: '.title {font-weight: bold; padding: 7px; margin: 0px; color: #000;}'
15: '.odd {background-color: #ccc;}'
16: '-->'
17: ''
18: ''
19: '

Artist-Year-Album Overview

'
20: ''%_date%' - '%_app%'

'
21:
22: ''
23: ''
24: ''
25: ''
26: ''
27: ''
28: ''
29: ''
30:
31: ''
32: ''
33: ''
34: ''
35: ''
36: ''
37: ''
38:
39: $loop(%ARTIST%)$loop(%YEAR%)$loop(%ALBUM%,1)
40: ''
41: ''
42: ''
43: ''
44: ''
45: ''
46: ''
47: $loopend()$loopend()$loopend()
48:
49: '
Artist Year Album Genre Codec
'$replace(%ARTIST%,'&','&')' '$replace(%YEAR%,'&','&')' '$replace(%ALBUM%,'&','&')' '$replace(%GENRE%,'&','&')' '$replace(%_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3','&','&')'
'
50: '
'
51: ''
52: ''

DD.20160328.1101.CEST

Thank you DetlevD

I aprreciate Your support

Martin