html links need export config


#1

hi am swarup
i need html link export config without space link filename links will be %20

i have this file name > my song.mp3
i need to export on html this > my%20song.mp3
just removed space and add %20 how ?


#2

An action of the type "Replace" for _FILENAME
where you search for space and replace it with %20?

Or the Convert>Tag-Tag function for _FILENAME with the
format string: $replace(%_filename%,' ',%20)


#3
$filename(MP3List.html)<html>
<head>
  <title>%_workingdir%</title>
  <style type="text/css">
  <!-- 
    a { color:#000000; font-size:12px; font-family: Arial; }
    a.large { color:#ffffff; background:#960000; font-size:18pt; font-family: Arial;  }
    a:link { color:#000000; }
    a.large:link { color:#ffffff; }
    a:visited { color:#444444; }
    a:active { color:#cc0000; }
    a:hover { color:#ffffff; background:#000000; }
    p { color: #000000; font-size:12px; font-family: Arial; }
    body { background: #ffffff; color: #000000; }
    h1 { font-size:18pt; font-family: Arial; font-weight: bold; text-align: center; }
    td { text-align: left; vertical-align: baseline; font-size:12px; font-family: Arial; }
    th { text-align: left; font-size:12px; font-family: Arial; background: #960000; color: #ffffff; }
    th.large { text-align: center; vertical-align: middle; font-size:18pt; font-family: Arial; font-weight: bold; background: #960000; color: #ffffff; }
    td.small { text-align: left; font-size:10px; font-family: Arial; }
    td.medium { text-align: left; font-size:14pt; font-family: Arial; }
    td.image { text-align: center; vertical-align: middle; font-size:12px; font-family: Arial; }
    td.right { text-align: right; }
    .CDTitle { text-align: left; font-size:16pt; font-weight: bold; font-family: Arial; }
  //-->
  </style>
</head>
<body>

$loop(%_folderpath%)

<table>
<th><strong>128Kbps<strong></th>
$loop(%_filename_ext%)<tr>
  <td>
   <strong><A HREF="$replace(%_filename_rel%,\,/,' ',%20)">%track% - %title%</A><strong>
  </td>
</tr>$loopend()
</table>
</td></tr>
</table>
</td></tr>
</table>
<p>$loopend()
</body>
</html>

this my export config

i need removed space on a HREF url and put %20 its possbile ?


#4

Have you tried it?


#5

yes


#6

You may try this ...

$replace(%_filename_rel%,'\','/',' ',%%20) ... or ... $replace(%_filename_rel%,'\','/',' ','%20')

DD.20170303.2040.CET