This is a little template I created for Ant Movie Catalog so that it generates fully W3C-compliant XHTML 1.0 Transitional XHTML 1.1.
By default AMC generates some old-fashioned HTML which looks a lot like HTML 4.01 but actually isn't. Standards compliance is a thing we should all strive for, and generating non-valid HTML is definitely not the way to go. I Created a little template that generates nice and 100% valid XHTML 1.0 Transitional XHTML 1.1.
The whole thing can be downloaded as a 11kb zip-file. This zip contains the actual template (template.html) and a set of transparent gif-images to use for ratings. A movie can have a rating from 1 to 10, or no rating (a blank image will be shown). For now, a movie must have a poster image, if not all your movies have one, here is a photoshopped empty poster from IMDB. Please note that if not all your movies have an image the generated HTML will still be readable in almost any recent browser, it just won't be valid anymore.
All you have to do is use the supplied html file as the template and add the ratings-directory to your html outputted by AMC. That's it!
I loosely based my work on the default HTML template supplied with AMC, and the images came from the XSLT template, also supplied with AMC. They were transformed to gif because of the poor png support in Internet Explorer 6.