I'm trying to put my Amazon wish list on my site, so people can buy me stuff easier :p
(those amazon wish list urls are hard to remember)
I'm trying to get it to validate as HTML 4.01 Transitional
Some of the <img> tags don't have ALT in the RSS file, so alright I fixed that with this
$desc = str_replace('<img','<img alt=""',$desc);
HOWEVER, some of the <img> do have ALT. In which case, then a "duplicate specification" is given when validating.
So, I have to somehow detect which <img> tags don't have ALT and add it, without adding it to the ones that already have ALT.
Have help on doing this? I wouldn't even know where to begin. 😕