I've spent a great deal of time redesigning my website <URL: http://www.enfolded.info > and trying to make it W3C compliant (HTML 4.01 Transitional and, XHTML 1.0 Transitional). I worked to the XHTML standard on all pages except those that had imported code (e.g., Amazon links and Cmaps).
I. Amazon Links
Amazon book links, of course, have code required to pass on information about the books; and the number
of errors generated by the validator are numerous: e.g., for a page with only three book links, <URL:
http://www.enfolded.info/references/bio.htm >, the validator generates 44 errors.Some reference pages
generate 250 or more! Here's an example of one for the error messages:
=======
Line 62, Column 97: general entity "o" not defined and no default entity.
…m.amazon.com/e/cm?t=unfoldingthee-20&o=1&p=8&l=as1&asins=0975991477&fc1=00000
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded
ampersand (&) in an URL or body text. See the previous message for further details.
=======
I don't see any point is wasting time trying to clean up these pages. I'll just leave the validation
link off those pages. Any arguments for doing otherwise?
II. Cmaps
As doe Cmaps, the code generated by Cmaps Tools does not even meet the 4.01 standard (and the developers have stated they have no plans to do so). However, I was able to create a .DWT that handled most of the common code I corrected, requiring that I manually clean up the code specific to each Cmap primarily for image areas and links. You can see what I'm talking about by looking at the source code for the Simple Cmap Example which is linked to via the Cmap Tools image on my About page: <URL: http://www.enfolded.info/about.htm >.
Furthermore, I must omit the DOCTYPE code for the Cmap popups to work properly in Firefox and IE7 (but working OK in Opera). You can see what happens with Cmaps when a DOCTYPE is present at <URL: http://www.enfolded.info/_not_indexed/Cmaps/validation/ue_fig_01broken.htm >: In Firefox the popups always appear in upper left corner of the window, In IE7, popup location is sensitive to scrolling, moving away from the correct location as the window is scrolled, horizontally or vertically. It's a javascript coding problem, but I don't know enough about javascript and DOMs to correct the code. Can anyone help with fixing the javascript code?
III. Feedback Appreciated
Feedback on the website and pages would be appreciated. I'm still working to improve the CSS and,
of course, adding more content as time allows.
-Tom