Click to See Complete Forum and Search --> : Converting website to text only


Rik Comery
07-25-2003, 09:58 AM
We now have a requirement for our websites to be accessible to those who have visual impairments. Because of this, i am looking for a script which takes all the text from the current page, and shows it in a black and white, text only format. i.e., no graphics, no colours (perhaps with the exception of links) and the text to be bigger than the original size.

I am trying to avoid creating the entire thing from scratch in a text only format - which is the first obvious answer - because we have 17 websites to apply this to, and little time.

Does anyone know of such a script. I once saw something very similar which i could probably modify, where the page was re-formatted for printing. Only problem is, i cannot remember where i saw it :(

The attached site has the effect that i am after, but it looks like it was done with a cgi script. http://www.bbc.co.uk

Charles
07-25-2003, 10:03 AM
A couple of things...

1) The way to do the two sites thing is to start in XHTML 1.1 and then use XSLT to transform the site into two versions.

2) Text only is still not accessible, but a page done properly in XHTML 1.1 is. Or you could use HTML 4.01 Strict, to get the same result. But you will have to abandon the use of TABLEs for layout. See http://www.w3.org/TR/html401/ and http://www.w3.org/TR/WCAG10/.