troubleshooting Question

More advanced template question

Avatar of stakor
stakorFlag for United States of America asked on
5 Comments1 Solution183 ViewsLast Modified:
There will be one HTML template, with only one placeholder. This template will be used to populate a number of HTML files. There will be a number of text files. The text files will be labeled like english-082605.txt and spanish-082505.txt. So that there will be an identifier listed first (english) and then a date 082605. There will be a number of days worth of files. Each file contains only one word. (a hex value, say "FFFFFF")

I would like to use the template to generate a html file for each identifier. (english, spanish, etc.) I would like for each file (english.html) to have it's one placeholder to be replaced with a cronological list, generated by the files. Each file haveing an entry like "FFFFFF 082605". I was thinking of using a snippet for the formating of each enty. The snippet would be all the html to make it look just right, but have a place holder for the value (FFFFFF) and the date (082605)

I can change the naming scheme if that makes it easier to accomplish. (for instance, if english-08-26-05.txt would be better, just let me know)

This question is asking a lot, so if you want more info or anything else, please let me know.

Example files listed below:





<b>%date%:</b> %result% <br>

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros