Text only version of web site

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Giles

    Text only version of web site

    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

    My html is stored in a database so it can be easily manipulated, but it is
    not XML.
    Thanks for any ideas.


  • Adrienne Boswell

    #2
    Re: Text only version of web site

    Gazing into my crystal ball I observed "Giles" <giles@nospam.c om>
    writing in news:u7XT8dpGJH A.3460@TK2MSFTN GP04.phx.gbl:
    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
    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="<%=reques t.servervariabl es("SCRIPT_NAME ")%>?
    style=blank.css ">Text Only</a>

    <%
    if request.queryst ring("style") = "blank.css" then
    %>
    <link type="text/css" rel="stylesheet " href="blank.css ">
    <% else %>
    <link type="text/css" rel="stylesheet " href="regular.c ss">
    <% 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

    Please respond to the group so others can share

    Comment

    Working...