View Single Post
Old 04-14-2022, 06:05 PM   #9
celiapgt
EBook-obsessive gal
celiapgt began at the beginning.
 
celiapgt's Avatar
 
Posts: 47
Karma: 10
Join Date: Mar 2011
Location: La ciudad de la eterna primavera
Device: Kobo Clara HD
Quote:
Originally Posted by KevinH View Post
Which divs? The outer or inner?
Hi, KevinH.

Sorry to be unclear. I want to remove both divs, inner and outer.

I want to go from the code you see to that below. I'm trying to understand the utility of the plugin. It is not clear to me.

Code:
<blockquote>
<h3 class="fecha">3 de enero</h3> <p class="capitulo">Muéstrate implacable con las cosas que no importan</p>
</blockquote>
Just one tiny example will help me.

For the replace function, what number do I use? The match means the regex, and it should be within single or double quotes? Which metadata do I have to use? Can I use somehow "current_file" so I can make a more general function or do I put capitulo.xhtml as the filename? Which is the data that I have to put in the function?

Once the function is defined, then I suppose I have to click on New to save the function. Then, will I copy/paste the code I want to find/replace in the Find field anf finally hit Replace All button?

Those are the things that I want to understand with one example.


Thanks for taking the time to answer me ;D
celiapgt is offline   Reply With Quote