1

Is there some way to modify multiple HTML files in multiple folders?

I want to apply a new HTML design template over an old HTML website. The website is quite big, and doing this manually will take me quite a long time.

Basically I want to keep title / meta tags / and <body> elements as those are, and replace the rest of the HTML elements.

I know about Notepad++ but I don't know how to set it up to give me the right output.

1
  • Implement external Style Sheets - then you can update the style sheet and all pages will reflect the change.
    – Shevek
    Jul 31, 2013 at 14:15

3 Answers 3

1

I'm not sure if you can do this with Notepad++, but there are other tools you can use to do it. Microsoft's Expression Web (in the Expression Studio suite) will let attach a DWT (Dynamic Web Template) to as many files as you want. Every time you change the DWT all files it is attached to will automatically be updated, then the content that is unique to each page can be edited in each page individually (called an editable region on the DWT). Dreamweaver has a similar feature, but I have not used it.

If you are a student you can get Expression Studio 4 free from dreamspark, otherwise you can buy it here.

1
  • You may want to consider using Master Pages in Expression Web instead of the DWT (unless you need old Dreamweaver compatibility). Your asp.net developers will love you for it. ;) Mar 20, 2011 at 16:35
1
  1. Open all the files in Notepad++;
  2. Then go to Search;
  3. Find in Files;
  4. Find what part of the code you wish to change.
  5. Next go to Search;
  6. Replace;
  7. Add what the replacement code should be;
  8. Then click on "Replace in all opened documents".
0

Maybe you want to check Htmltransl (freeware):

Htmltransl is an applications that takes as input various html files, zipped for convenience in input.zip, translates all the files according to what specified in dictionary.txt (matching patterns are substituted) and zips the translated html files

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .