I have a built an HTML email template for a client who needs to distribute it (the template) to around 50 customers as static files. Each customer requires some level of personalization (i.e. the logo will change, the links will be customer specific etc). I've no problem placing placeholders in the areas that are custom and I will be converting the data from the client to csv or similar format.
My question is - Can the personalization process be automated so that 50 unique HTML files get spun out using the data from the csv file? So effectively it's a mail merge but where the end product is 50 static and unique HTML files and not an email? Or should I just bite the bullet and code the 50 pages by hand?
<csv>
IMG,Text,UniqueURL
Customer1Logo,Customer1Text,URL1
Customer2Logo,Customer2Text,URL2
Customer3Logo,Customer3Text,URL3<csv>
<body>
<table class="body">
<tr>
<td class="center" align="center" valign="top">
<center>
<img src="DataFromTableColumn1">
<p>DataFromTableColumn2</p>
<a href="http://www.genericlink.com.au/DataFromTableColumn3">Link to Company</a>
</center>
</td>
</tr>
</table>
</body>