Say you have a collection of text files that you want to be accessible over the internet, but dont want to convert each one, add navigation etc…
This is where txt2dir comes in, this is a small php script I made that can take that collection of text files and convert them to html on demand including navigation and an index!
txt2dir requires that txt2html be installed and working, along with shell_exec functionality enabled in php (might be a problem on shared hosting).
Update 30/12/2008
Ive made some modifications to the script, and uploaded a new version.
Also i’ve found that txt2html can now be installed in ubuntu/debian through apt/synaptic.
The demo is working again.
Files