Page 1 of 1

XHTML Export Template

Posted: 2004-06-24 19:11:13
by Ajunne
Hi

I noticed the HTML export template in AMC was a little oldfashioned and still used non-standard HTML, so I took the liberty of changing it a bit and making it XHTML-compliant.

If you want to give it a try you can download it of my website. Comments are very welcome of course, preferably to my e-mail address: ajunne@gmail.com

Thanks and have fun

Posted: 2004-06-24 21:59:28
by antp
thanks
it is a shame for me that this template is not compliant, since I usually promote web standards :D (my site is fully XHTML 1.1 strict compliant)
I made this template long time ago and I never changed it :/

Posted: 2004-06-26 20:04:13
by Ajunne
Thanks :)

At the moment i use quite a big hack to make the img tag standards compliant (with an alt text and a slash to close the tag), so if you could change that in the catalog itself the ugly hack that makes images for movies mandatory could be removed and the standard appreciation images can be reused again.

Posted: 2004-06-26 20:06:53
by Ajunne
BTW: I'm planning on making a real XHTML 1.1 template sometime (when I have the time), using a decent layout with special div's for the movies, so that the code is a lot more logical.

Posted: 2004-06-26 21:40:45
by antp
Ajunne wrote: At the moment i use quite a big hack to make the img tag standards compliant
you mean doing that ?
<img src="$$ITEM_PICTUREFILENAME" alt="poster" />
it is not a so big hack... I added this $$ITEM_PICTUREFILENAME especially for those that want to write the IMG tag themselve

I should improve the HTML export anyway

Posted: 2004-06-27 12:52:37
by Ajunne
That's it yes, the problem is that when there is no image in the database, you get something like <img src="" alt ="poster" /> which is not correct. The image tag should completely be left out in that case...

Posted: 2004-06-27 13:31:36
by antp
yes.
well, I'll modify the img tag for the next version ;)