User: ddumetz -- 2018-07-26 << 1418 1420 >> |
Hits: 2868 |
Type: Html text generator |
Search all Html text generator examples |
Description: |
How to batch generate html files from a html template file? How to: * put file1.txt into template.html at location <!--Replace With Text File--> to make a new file1.html * put file2.txt into template.html at location <!--Replace With Text File--> to make a new file2.html ... |
Input Sample: |
======================= file template.html: ............................ <!--Replace With Text File--> .......... ======================= file1.txt: <content of file1> ======================= file2.txt: <content of file2> ... |
Output Sample: |
======================= file1.html: ............................ <content of file1> .......... ======================= file2.html: ............................ <content of file2> .......... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Assume template file is: d:\test\(Input)-index-template.html 1. open "Tools->Batch Runner" menu 2. drag file1.txt, file2.txt, ... to batch runner window 3. set "set output filename" to: 4. click "fast replace": * click "add" to add new rule * set "search" to blank * set "replace" to: * click "ok" 5. click "start", done. |
Screenshot 1: Batch_Runner_Window |