Thank you Mr. Florian Heidenreich, for replying to my email.
As I said, I created a html export configuration based on the standard one to better suit my needs.
I have many albums with multiple artists in them (compilations) and so I needed something else, a bit different , and in portuguese naturally. (I have made an english version too.)
Because maybe someone else also needs something like this I decided to post it in the Mp3tag forum.
Instructions:
1 - After you create the html, you can move it anywhere in your computer and it will always work (providing you do not move the mp3 files location of course).
2 - For the templates with album covers to work, all you need to do is to put an image file called "cover.jpg" in the same folder where the album mp3 files are. The image size will be adjusted to the html. The templates with cover images are only going to work if you have different album files in different folders.
3 - Regarding the templates with Play Music button, when you click the button that song will play in your default mp3 media player.
I hope you like it.
Please feel free to post here and ask for any alterations you might need or you think are necessary.
Best regards,
Sasori
(P.S.: Do not click on the preview Play Music buttons. The mp3 files are not on-line. You will get an error message.)
Without Covers And Without Play Music Button Preview
Hello. Sorry for the delay in the reply, I have been away for a while.
Regarding your question 1, for the script to work you must follow topic 2 from my set of instructions:
(2 - For the templates with album covers to work, all you need to do is to put an image file called "cover.jpg" in the same folder where the album mp3 files are. The image size will be adjusted to the html. The templates with cover images are only going to work if you have different album files in different folders.)
This implies you must have an image called cover.jpg in every album folder. And by every album folder I mean every folder where the same album mp3 files are.
The best way to make the script work perfectly is to have your library organized like this:
Hi, congratulations on your string. If I may suggest a few modifications, here are a few things I think would make the html cleaner (I'm using the Without Covers And Without Play Music Button one):
You set the body background to #fff in the CSS and then to ##df7000 in the body tag. You could just set it to the right color in the CSS in the first place I think.
is deprecated in xhtml, so since your page is declared as xhtml you should'nt use it. Besides, it's much simpler to just use CSS : just change the color of h2 and li to white in the CSS and you don't need the element anymore. Besides, since it only appears once in the CSS instead of once for each album it will make the page smaller.
-The part where you use and unordered list with only one
and then use
to put each piece of information on a new line makes no sense to me... Why not just use the unordered list as it's meant to ?
Why use
? the
tag is already supposed to be used as a title, and since you don't use
anywhere else, it's much simpler to just use it without a class, and just specify its style in the CSS. And get rid of the bgcolor attribute while you're at it
You use $if($odd(%_counter%), class="odd",) 6 times in order to set the class of each
. It would be shorter and faster to use it only once on the
to affect the whole line.
The noshade attribute of the
element is deprecated too. And once again I think it's just more simple to set the style of your once and for all in the CSS. hr {height:2px; border-width:0; color:gray; background-color: #000} should look about the same as what you're using.