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: 192
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 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%)
How to read the text from a web page and change all letters to lower case? (51%)

Check Demo of Html text generator
Keywords:
index  href  a href  html text generator  create  directory  ignore  cross line  title  dir  create index  index filename  cross line text generator  create multiple text files  index file  multiple line text generator  create a search replace batch file  html multiple text generator