Support > Public Speaking

Batch add inline mp3 player

(1/1)

jimmyz:
Hello good fellows!

I' m facing this ploblem, thus I ask for your kind help.


I have a html page that includes lots of mp3s and their lyrics.
The code goes like this:

--- Code: ---<h5 class="western" align="justify" style="margin-top: 0cm; margin-bottom: 0cm">
<a href="1001.mp3">
<font color="#0000ff"><font face="Tinos"><font size="3" style="font-size: 12pt"><span lang="el-GR"><u>1001</u></span></font></font></font></a>
<font color="#ff0000"><font face="Tinos"><font size="3" style="font-size: 12pt"><span lang="el-GR">Ἀβραμιαίοι Παῖδες Ἦχος α΄</span></font></font></font></h5>
<p align="justify" style="margin-bottom: 0cm; line-height: 100%; orphans: 0; widows: 0; background: transparent"><font face="Tinos"><font size="3" style="font-size: 12pt">Ἀβραμιαῖοι παῖδες ἐν καμίνῳ, τὴν Τριάδα τυπώσαντες, τοῦ πυρὸς τὴν φλόγα εἰς δρόσον μετέβαλον καὶ ὑμνοῦντες ἐβόων· εὐλογητὸς εἶ
ὁ Θεὸς ὁ τῶν πατέρων ἡμῶν.</font></font></p>

<h5 class="western" align="justify" style="margin-top: 0cm; margin-bottom: 0cm">
<a href="1002.mp3">
<font color="#0000ff"><font face="Tinos"><font size="3" style="font-size: 12pt"><span lang="el-GR"><u>1002</u></span></font></font></font></a>
<a href="1002C.mp3">
<font color="#0000ff"><font face="Tinos"><font size="3" style="font-size: 12pt"><span lang="el-GR"><u>1002C</u></span></font></font></font></a>
<font color="#ff0000"><font face="Tinos"><font size="3" style="font-size: 12pt"><span lang="el-GR">Ἅλιον ποντογενὲς Ἦχος α΄</span></font></font></font></h5>
<p align="justify" style="margin-bottom: 0cm; line-height: 100%; orphans: 0; widows: 0; background: transparent">
<font face="Tinos"><font size="3" style="font-size: 12pt">Ἅλιον ποντογενές, κητῷον ἐντόσθιον πῦρ, τῆς τριημέρου ταφῆς σοῦ ἦν προεικόνισμα, οὗ
 ωνᾶς ὑποφήτης ἀναδέδεικται·σεσωσμένος γὰρ ὡς καὶ προυπέποτο, ἀσινὴς ἐβόα, θύσω σοι μετὰ φωνῇς αἰνέσεως Κύριε.</font></font></p>

--- End code ---

All the links in this page are  in a form of <a href="xxxx.mp3">

For each link I need to add: <a href="xxxx.mp3" title="" class="sm2_button"></a>&nbsp; just before the <a href="xxxx.mp3">, so it becomes like this:
<a href="xxxx.mp3" title="" class="sm2_button"></a>&nbsp;<a href="xxxx.mp3">

How would this be possible except of doing it one by one by hand?

Navigation

[0] Message Index

Go to full version