Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

868.Html text generator -- How to create an index page for all html files under a folder/directory?

User: editor -- 2011-10-08          << 867  869 >>
Hits: 2264
Type: Html text generator   
Search all Html text generator examples
Description:
How to create an index page for all html files under a folder/directory?
Input Sample:
a1.html
a2.html
a3.html
...
Output Sample:
index.html:
<a href="a1.html">title of a1</a>
<a href="a2.html">title of a2</a>
....
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" window
2. drag multiple html files from "windows file browser" to "batch runner" window.
3. click "Fast Replace" button
* click "Add" to add a rule
* set "search" to:

* set "replace" to:

* click "ok"
* check option of "ignore cases", "reg exp", "cross line" and "extract"
4. click "Start", and click "output to single file" button, enter index.html as output filename, done.

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to batch generate md5sum and sha1sum of all exe files under some folder? (60%)
How to replace strings in hundreds of html files in one action? (55%)
How to remove duplicate lines in multiple files in different sub-folders? (53%)
How to create a text file including filenames in a folder with specified format? (52%)
How to extract titles of all html files and save them to one file? (52%)
Can I read an internet web page, and save as text file with desired encoding type?  (52%)
How to make column merge for files in two folders? (51%)
How to extract tables from html files into csv file automatically? (51%)

Check Demo of Html text generator
Keywords:
index  href  a href  html text generator  create  ignore case  directory  output to single file  ignore  dir  create index  create index file  index filename  index html  single line text generator  cross line text generator  html generator from multiple file  index file