IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Export for RYM
Abandoned Mine
post Jun 6 2012, 07:04
Post #1


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



Hi, firstable... I'm new here, but I'm using mp3tag for a very long time and it's a great software.

Ok, I'm using an (edited) export script that I've found on this forum, the code is this:
CODE
$filename(html)
<html>
<head>
<meta name="GENERATOR" content="Mp3tag - http://www.mp3tag.de">
<title>%artist% - %album%: cdcover front</title>
</head>
<body>
<style type="text/css">
<!--
#border {
position:absolute;
top:10px;
left:10px;
width:12cm;
height:12cm;
padding:10px;
border:1px solid #0000FF;
}
#content {
position:absolute;
top:10px;
left:10px;
width:12cm;
height:12cm;
padding:10px;
}
#footer {
position:absolute;
top:14cm;
font-size:8pt;
}
-->
</style>
<div id="border"></div>
<div id="content">
<center><h3>%artist%: %album% (%year%)</h3></center>
<table border="0" style="width:11.7cm;">

$loop(%_filename_ext%)
<tr><td><font face="Meiryo UI" size="1">%track%</font></td><td align="center">|<font face="Meiryo UI" size="1">&nbsp;<b>%title%</b>|</font></td>|<td align="right"><font face="Meiryo UI" size="1">%_length%</font></td></tr>
$loopend()
<tr><td></td><td></td><td align="right"><font face="Meiryo UI" size="1"><b>%_total_time%</b></font></td></tr>
</table>
</div>
<div id="footer">generiert am %_datetime% mit %_app% - dem <b>universellen</b> ID3-Tag Editor <a href="http://www.mp3tag.de/">www.mp3tag.de</a></div>
</body>
</html>


So i can just paste the whole thing on RYM when I edit an album info. The problem is that when the title of the track is in chinese or any non latin character... I get a "?".

How can I resolve this? thanks smile.gif
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 07:44
Post #2


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (Abandoned Mine @ Jun 6 2012, 08:04) *
Hi, firstable... I'm new here, but I'm using mp3tag for a very long time and it's a great software. Ok, I'm using an (edited) export script that I've found on this forum, the code is this: ... So i can just paste the whole thing on RYM when I edit an album info. The problem is that when the title of the track is in chinese or any non latin character... I get a "?". How can I resolve this? thanks smile.gif

Provided that the script is functional in order, then you can check the font, whether Unicode characters will be shown without problems, probably use another font.
Probably the directive $filename (html) should be adapted to UTF-8.

For the only purpose of copying some text into a web app text edit frame, you do not need to create a html report.
Use the export directive $filename($getEnv('USERPROFILE')'\Desktop\My Report.txt',UTF-8) and export the plain content from the tag-fields.

DD.20120606.0844.CEST


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 6 2012, 07:54
Post #3


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 08:44) *
Provided that the script is functional in order, then you can check the font, whether Unicode characters will be shown without problems, probably use another font.
Probably the directive $filename (html) should be adapted to UTF-8.

For the only purpose of copying some text into a web app text edit frame, you do not need to create a html report.
Use the export directive $filename($getEnv('USERPROFILE')'\Desktop\My Report.txt',UTF-8) and export the plain content from the tag-fields.

DD.20120606.0844.CEST

Hi,

I've changed html to utf-8 (the font too), but I still get this:
01 | ???? | 04:40

I can't get the export script to work too...

thanks.
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 08:26
Post #4


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (Abandoned Mine @ Jun 6 2012, 08:54) *
... I've changed html to utf-8 (the font too), but I still get this: 01 | ???? | 04:40 I can't get the export script to work too ...

Where do you get the question marks? While displaying the html page in the browser?
What editor do you use? Notepad++ should display Unicode characters, but I am not sure; WordPad does it.
Are you able to manually fill in language specific characters into the RYM edit field, which later on will be displayed correctly on their web page?

DD.20120606.0925.CEST

This post has been edited by DetlevD: Jun 9 2012, 07:19


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 6 2012, 10:51
Post #5


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 09:26) *
Where do you get the question marks? While displaying the html page in the browser?
What editor do you use? Notepad++ should display Unicode characters.
Are you able to manually fill in language specific characters into the RYM edit field, which later on will be displayed correctly on their web page?

DD.20120606.0925.CEST

Yes, while displaying the html page.
I use notepad++.
No, I get ??? even after pasted them.
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 11:06
Post #6


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (Abandoned Mine @ Jun 6 2012, 11:51) *
Yes, while displaying the html page.
I use notepad++. No, I get ??? even after pasted them.

What html page? The local html page, created by Mp3tag report or the RYM web page?
I am curious what's going on there.
Maybe some other Mp3tag users can help, especially from your region?
Can you put some of such special characters into your next forum post?

This forum should be able to display the correct signs.
Example: 7-Zipのホームページ(日本語)

DD.20120606.1205.CEST

This post has been edited by DetlevD: Jun 6 2012, 14:05


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 6 2012, 13:08
Post #7


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 12:06) *
What html page? The local html page, created by Mp3tag report or the RYM web page?
I am curious what's going on there.
Maybe some other user can help?

Can you put some of these special characters into your next forum post?
This forum should be able to display the correct signs.
Example: 7-Zipのホームページ(日本語)

DD.20120606.1205.CEST

the one created by mp3tag, let me give you an example with some screenshot (korean):
1.jpg this is the screen straight out of mp3tag
2.jpg is the one that came out in html page

7-Zipのホームページ(日本語)

This post has been edited by Abandoned Mine: Jun 6 2012, 13:08
Attached thumbnail(s)
Attached Image
Attached Image
 
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 13:32
Post #8


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (Abandoned Mine @ Jun 6 2012, 14:08) *
... 7-Zipのホームページ(日本語)

Oops, a little misunderstanding, please copy the filename of the second file from your example album (or from all files) here into your forum post.
If that works, then you can probably do it also on the RYM website.

Why does your screenshot show the Japanese Yen-Backslash but not the Korean Won-Backslash?

I have no problem to fill a tag-field with Japanese characters, report the tag-field into utf-8 text file,

Attached Image

copy the text from the report output file into clipboard and paste it here into the forum message ...
Test: 7-Zipのホームページ(日本語)

Attached Image


Remark:
While in forum edit mode all characters are seen correct, even those in the round brackets.
In forum read mode the characters in the bracket clamb are shown as not displayable.

DD.20120606.1452.CEST

This post has been edited by DetlevD: Jun 6 2012, 14:10


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 6 2012, 14:23
Post #9


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 14:32) *
Oops, a little misunderstanding, please copy the filename of the second file from your example album (or from all files) here into your forum post.
If that works, then you can probably do it also on the RYM website.

Why does your screenshot show the Japanese Yen-Backslash but not the Korean Won-Backslash?

I have no problem to fill a tag-field with Japanese characters, report the tag-field into utf-8 text file,

Attached Image

copy the text from the report output file into clipboard and paste it here into the forum message ...
Test: 7-Zipのホームページ(日本語)

Attached Image


Remark:
While in forum edit mode all characters are seen correct, even those in the round brackets.
In forum read mode the characters in the bracket clamb are shown as not displayable.

DD.20120606.1452.CEST
You mean like this:
1/5 | ?? ??| 03:50
2/5 | ?? 4?| 04:59
3/5 | Healing| 02:35
4/5 | Good Night| 04:31
5/5 | ???| 03:49
00:19:44
with attached screen
Attached Image

QUOTE
Why does your screenshot show the Japanese Yen-Backslash but not the Korean Won-Backslash?
I don't actually know that...


thanks.
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 15:08
Post #10


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



Hm, I think we are not on the right way.
Maybe the export script is not fit enough to display UTF-8 characters.
Did you say the HTML code is functional in order?

Have a look at this picture ...

Attached Image

... it will work ...
... if you put this line into the html head section ...
CODE
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'


DD.20120606.1608.CEST

This post has been edited by DetlevD: Jun 6 2012, 15:23


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 6 2012, 15:42
Post #11


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 16:08) *
Hm, I think we are not on the right way.
Maybe the export script is not fit enough to display UTF-8 characters.
Did you say the HTML code is functional in order?

Have a look at this picture ...

Attached Image

... it will work ...
... if you put this line into the html head section ...
CODE
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'


DD.20120606.1608.CEST

Thanks, but I can't get it to work...

Here's the code:
CODE
$filename(html)
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>%artist% - %album%: cdcover front</title>
</head>
  <body>
   <style type="text/css">          
      <!--                          
   #border {                        
      position:absolute;            
      top:10px;                    
      left:10px;                    
      width:12cm;                  
      height:12cm;                  
      padding:10px;                
      border:1px solid #0000FF;    
   }                                
   #content {                      
      position:absolute;            
      top:10px;                    
      left:10px;                    
      width:12cm;                            
      height:12cm;                          
      padding:10px;                          
   }
   #footer {                        
      position:absolute;            
      top:14cm;                    
      font-size:8pt;                                                  
   }                                
   -->                                                    
   </style>                            
   <div id="border"></div>                  
   <div id="content">  
   <center><h3>%artist%: %album% (%year%)</h3></center>
  <table border="0" style="width:11.7cm;">  

$loop(%_filename_ext%)
     <tr><td><font face="Meiryo UI" size="1">%track%</font></td><td align="center">|<font face="Meiryo UI" size="1">&nbsp;<b>%title%</b>|</font></td>|<td align="right"><font face="Meiryo UI" size="1">%_length%</font></td></tr>
$loopend()
     <tr><td></td><td></td><td align="right"><font face="Meiryo UI" size="1"><b>%_total_time%</b></font></td></tr>
   </table>
  </div>
  <div id="footer">generiert am %_datetime% mit %_app% - dem <b>universellen</b> ID3-Tag Editor <a href="http://www.mp3tag.de/">www.mp3tag.de</a></div>
</body>
</html>
Is it the same that you've used?

thanks.
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 15:50
Post #12


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (Abandoned Mine @ Jun 6 2012, 16:42) *
Thanks, but I can't get it to work...
Here's the code:
[code]$filename(html)
...

Read my post #2 above.
Obviously you do not write the report as UTF-8 encoded text file, and there is missing the BOM mark.

Look at this working Mp3tag report script ...
CODE

$filename($getEnv('USERPROFILE')'\Desktop\Test.html',UTF-8)
'<html>'
'<head>'
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'
'<title>'%ARTIST%' - '%ALBUM%': cd cover front</title>'
'</head>'
'<body>'
'<style type="text/css"><!--'
'#border{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding:
10px;border:1px solid #0000FF;}'
'#content{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding
:10px;}'
'#footer{position:absolute;top:14cm;font-size:8pt;}'
'--></style>'
'<div id="border"></div>'
'<div id="content">'
'<center><h3>'%ARTIST%': '%ALBUM%[' ('%YEAR%')']'</h3></center>'
'<table border="0" style="width:11.7cm;">'
$loop(%_filename_ext%)
'<tr>'
'<td><font face="Meiryo UI" size="1">'%TRACK%'</font></td>'
'<td align="center"><font face="Meiryo UI" size="1"><b>'%TITLE%'</b></font></td>'
'<td align="right"><font face="Meiryo UI" size="1">'%_length%'</font></td>'
'</tr>'
$loopend()
'<tr>'
'<td></td>'
'<td></td>'
'<td align="right"><font face="Meiryo UI" size="1"><b>'%_total_time%'</b></font></td>'
'</tr>'
'</table>'
'</div>'
'</body>'
'</html>'


DD.20120606.1650.CEST

This post has been edited by DetlevD: Jun 9 2012, 07:22


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 6 2012, 17:30
Post #13


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 16:50) *
Read my post #2 above.
Obviously you do not write the report as UTF-8 encoded text file, and there is miissing the BOM mark.

Look at this working Mp3tag report script ...
CODE

$filename($getEnv('USERPROFILE')'\Desktop\Test.html',UTF-8)
'<html>'
'<head>'
'<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'
'<title>'%ARTIST%' - '%ALBUM%': cd cover front</title>'
'</head>'
'<body>'
'<style type="text/css"><!--'
'#border{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding:
10px;border:1px solid #0000FF;}'
'#content{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding
:10px;}'
'#footer{position:absolute;top:14cm;font-size:8pt;}'
'--></style>'
'<div id="border"></div>'
'<div id="content">'
'<center><h3>'%ARTIST%': '%ALBUM%[' ('%YEAR%')']'</h3></center>'
'<table border="0" style="width:11.7cm;">'
$loop(%_filename_ext%)
'<tr>'
'<td><font face="Meiryo UI" size="1">'%TRACK%'</font></td>'
'<td align="center"><font face="Meiryo UI" size="1"><b>'%TITLE%'</b></font></td>'
'<td align="right"><font face="Meiryo UI" size="1">'%_length%'</font></td>'
'</tr>'
$loopend()
'<tr>'
'<td></td>'
'<td></td>'
'<td align="right"><font face="Meiryo UI" size="1"><b>'%_total_time%'</b></font></td>'
'</tr>'
'</table>'
'</div>'
'</body>'
'</html>'


DD.20120606.1650.CEST

Thanks, is working now smile.gif
Attached Image
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2012, 17:58
Post #14


Member


Group: Full Members
Posts: 4990
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (Abandoned Mine @ Jun 6 2012, 18:30) *
Thanks, is working now smile.gif ...

... but it looks not so very nice, because of the confused used pipe symbols.

The CD cover could look a little bit better without the pipe symbols ...

Attached Image


DD.20120606.1920.CEST

This post has been edited by DetlevD: Jun 6 2012, 18:29


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
Abandoned Mine
post Jun 7 2012, 05:53
Post #15


Member


Group: Full Members
Posts: 9
Joined: 6-June 12
Member No.: 16548
Mp3tag Version: 2.51



QUOTE (DetlevD @ Jun 6 2012, 18:58) *
... but it looks not so very nice, because of the confused used pipe symbols.

The CD cover could look a little bit better without the pipe symbols ...

Attached Image


DD.20120606.1920.CEST

You see, for rym you need to put those | symbols. It's because of that that I've edited (badly) that script.
It need to be put in like this:
track number|title|lenght.

This post has been edited by Abandoned Mine: Jun 7 2012, 05:53
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2014 - 05:00