When I was using DVDProfiler, I had written a utility to read in a CSV file and generate an basic html listing for posting on my website. I updated that tool for use with AMC (AMC generates a different CSV-style file). And it worked pretty good.
After upgrading to the latest version of AMC, I thought about using AMC's built-in html generation features to create the page.
The table I generate with my tool has alternating row colors. I would like to duplicate this behavior in my AMC template. Is there a way to do it within the template definition? (I'd rather avoid having the resulting html file use JavaScript.)
Any advice, suggestions, recommendations, etc. are greatly appreciated, thanks!
Here is the html generated by my tool: -> http://www.geocities.com/tcperconti/mov ... ction.html
Here is the html generated by the AMC html template I created: -> http://www.geocities.com/tcperconti/amc.html
Code: Select all
<!-- Ant Movie Catalogue Template - Created By sracer - tcperconti@hotmail.com -->
<html>
<head><title>$$OWNER_NAME's Movie Collection</title></head>
<!--LOAD THREE STYLESHEETS, 1 COMMON, 1 FOR NETSCAPE, 1 FOR IE-->
<link rel="stylesheet" type="text/css" href="common.css">
<link rel="stylesheet" type="text/css" href="netscape.css" disabled>
<script language="JavaScript1.2" type="text/javascript"><!--
if (document.all) document.createStyleSheet("ie.css");
//--></script>
<!-- ******************************************************************** -->
<body bgcolor="#0098C8" text="#000000" link="#0000FF" vlink="#800080">
<!-- Title Banner -->
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#0098C8"><tr><td>
<table width="100%" cellspacing="1" cellpadding="1">
<tr bgcolor="#006098"><td align="center" width="60%"><b><font face="verdana" size="4" color="FFFFFF">Tom Perconti's Movie Collection</font></td></tr></table></td></tr></table>
<br>
<font face="verdana" size="2">The movie collection is stored in BuyPin Software's <b>Ant Movie Catalog</b>.
<p><b>LINKS:</b><font face="verdana" size="1"> [ <a href="http://www.buypin.com/moviecatalog.php">Ant Movie Catalog</a> | DVD Information: <a href="http://www.dvdtalk.com/">DVDTalk</a> | VideoCD Information: <a href="http://www.vcdhelp.com/">VCDHelp</a> ]<br> </font>
<br>
<table border=0 width="100%" cellpadding="0" cellspacing="0" bgcolor="#0098C8"><tr><td>
<table width="100%" cellspacing="1" cellpadding="1">
<tr bgcolor="#006098"><td width="50%" align="LEFT"> <b><font face="verdana" color="FFFFFF" size="2">Title</font></b></td><td width="10%" align="LEFT"> <b><font face="verdana" size="2" color="FFFFFF">Media</font></b></td><td width="5%" align="LEFT"> <b><font face="verdana" size="2" color="FFFFFF">Genre</font></b></td></tr>
$$ITEM_BEGIN
<tr bgcolor="#BFE5F1"><td align="LEFT"> <font color="000000">$$ITEM_ORIGINALTITLE</font></td><td align="LEFT"> <font color="000000">$$ITEM_VIDEOFORMAT</font></td><td align="LEFT"> <font color="000000">$$ITEM_CATEGORY</font></td></tr>
$$ITEM_END
</table></td></tr></table>
<br>
<center>
<table width="40%" cellpadding="0" cellspacing="0" bgcolor="#0098C8"><tr><td>
<table width="100%" cellspacing="1" cellpadding="1">
<tr bgcolor="#7FCBE3"><td align="right" width="85%"><b><font face="verdana" color="000000" size="2">Total number of Movies:</font> </td><td> $$TOTALMOVIES</td></tr>
</table></td></tr></table>
<br>
<p><small><i>This list was generated by AntMovieCatalog on $$DATE</i></small>
</center>
</body></html>