Connecting Tech Pros Worldwide Help | Site Map

Text only version of web site

  #1  
Old September 19th, 2008, 09:45 PM
Giles
Guest
 
Posts: n/a
Does anyone know where I can see some asp (vbscript) code to convert a web
page into a text only version, like for accessibility?
Example at
http://wave.webaim.org/report?texton....microsoft.com
My html is stored in a database so it can be easily manipulated, but it is
not XML.
Thanks for any ideas.


  #2  
Old September 25th, 2008, 06:55 AM
Adrienne Boswell
Guest
 
Posts: n/a

re: Text only version of web site


Gazing into my crystal ball I observed "Giles" <giles@nospam.com>
writing in news:u7XT8dpGJHA.3460@TK2MSFTNGP04.phx.gbl:
Quote:
Does anyone know where I can see some asp (vbscript) code to convert
a web page into a text only version, like for accessibility?
Example at
http://wave.webaim.org/report?textonly&url=http%3A%2F%
2Fwww.microsoft.c
Quote:
om My html is stored in a database so it can be easily manipulated,
but it is not XML.
Thanks for any ideas.
>
>
>
Do not use presenational markup, and use a blank stylesheet. I would
also suggest that you use semantic markup, and validate it.

eg: <a href="<%=request.servervariables("SCRIPT_NAME")%>?
style=blank.css">Text Only</a>

<%
if request.querystring("style") = "blank.css" then
%>
<link type="text/css" rel="stylesheet" href="blank.css">
<% else %>
<link type="text/css" rel="stylesheet" href="regular.css">
<% end if%>

You can set some sessions so that the blank stylesheet remains when the
user is navigating through the site.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Large web site, need to do some major rearrangement of files... mike answers 20 January 22nd, 2007 10:05 PM
How to create a 2 languages web site? Thank You. Shapper answers 10 November 19th, 2005 10:22 AM
Advice on transferring and converting web site Steven (remove wax and invalid for reply) answers 1 July 24th, 2005 01:28 AM
ERROR - There are too many people accessing the Web site at this time PW answers 3 July 19th, 2005 12:46 PM