Before I recreate any wheels...does anyone have an example that will modify in place all html files in a directory?
I need to parse all html files in a directory, looking for a tag in the format:
<div align="center" class="noclass">nothing</div>
Once I've found this tag I would like to read a text value from a file in the same directory and replace "nothing" with this new value. No backup files needed, just an inplace edit will work.
I thought the HTML:Maniuplator module might be the easiest way to accomplish this, but haven't had a chance to test it yet.
In reply to Editing HTML files by spivey49
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |