I'm looking for a page generator wich can do the following:
First, i have the following items:
- 1 template
- input directory full of 1 line text files (entered at the end of the line) / 5000+ in total Such a file will contain a sentence inc. spaces
- output directory
Let's discuss the template first, it contains the following lines:
$redirecturl = "[login to view URL]"
$keywordlist = "[login to view URL]"
$thisurl = "[login to view URL]"
We have the vars A, B and C.
Let's assume file [login to view URL] is taken from the input dir. [login to view URL] contains the line
HELLO EVERYONE
to the vars:
A is replaced with the line from [login to view URL], thus making it
$redirecturl = "[login to view URL] EVERYONE"
B is replaced with the actual filename, in this case [login to view URL], making it
$keywordlist = "[login to view URL]"
C also uses the line from the textfile but replaces the space between each word with a -. Like
$thisurl = "[login to view URL]"
This generated page is saved in an output dir as the same value as C.
In this case it will be saved as [login to view URL]
That's the best explanation i can give, basically 1 template is loaded, each textfile within the input dir is loaded/used 1 by 1 and the output files are saved in an output dir.
Program needs to run on a windows desktop/platform (XP).
If you have any questions please post them.
Thanks for your time!
Regards,
Dave van Doorn