PDA

View Full Version : Minor html errors in zoom search results


AndrewD
12-23-2008, 12:09 PM
The img tag Zoom generates for filetype images needs a closing / in order to be fully xhtml-1.0 compliant (validator.w3.org):

<img src="img.gif" alt="" class="result_image"> should be

<img src="img.gif" alt="" class="result_image" />

Apparently the html tag should also include a couple of attributes, e.g. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> rather than just <html>

Fixing these points would help us plough through other html errors in our own pages. Grateful if you could check and confirm. Thanks for v6 - splendid.

wrensoft
12-23-2008, 09:38 PM
You can edit the HTML tag yourself in the search_template.html file. See also,
http://www.wrensoft.com/zoom/support/css.html
As the correct tag depends on your language, it makes sense that you set it whatever makes sense for your site.

Regarding the missing "/" for XHTML in image links, we are only fixing critical bugs over Christmas. But we are planning a significant patch release for mid Jan 09 to fix a bunch of minor issues like this.

Ray
01-13-2009, 03:00 AM
This bug will be fixed for the upcoming V6.0 build 1005 release scheduled to be made available in the next few days.

When it is ready, you will find it available for download here:
http://www.wrensoft.com/zoom/whatsnew.html (http://www.wrensoft.com/zoom/whatsnew.html)