textmode version | project | technical | examples | links | # | |||||||||||||||||||||||||||||||
project - summary - reasoning - usage Features: - expandvars - updatevars - simplevars - attribvars - printerfriendly textmode version - sitemapstyle - filelist ToDo - sitemap styles - section styles - setting vars - alternatives - section hi:light - topic hi:light - two sitefiles - staging files - debug enable
(C) 2004-04-24 |
printerfriendly = printer / text mode version<!--mksite:printerfriendly--> <a href="${printerfriendly:=site.htm}" title="printer friendly version"> <img alt="printer / text mode version" width="8" height="8" border="0" /></a> That creates an intermediate printersitefile to contain definitions for horizontal navigation bars created out of the information for the access tree as given in the original sitefile. Those horizontal bars reflect the sect/subsect relations in a way most usable form for being navigated with a text mode browser (e.g. lynx) - in text mode the same "printerfriendly" page looks slightly different: textmode-example.print.html
Note how there are little squares in the graphical view (if you look at
this page with a graphical browser) that will be replaced with some alt-texts
when using a textmode browser. These title-texts/alt-texts originally hint
for the sect/subsect relation (
That variant is recommended by WAI texts
to help blind people to read the text with a text-to-speech machine
or a braille terminal i.e. purely linear starting with the first word
on the page. There it is best to have a first hotlink on the page that
should help to skip down to the main body text, and it should bear a caption
saying just that (like "skip down to text"). It is hinted to put it under
an invisible image so the graphical view representation is not spoiled
by the down-to-text hint. Actually I hope that "go text:" is identifying
this functionality as well. Technically, the hot link under "go text:"
skips to
The "go text:" is the replacment for the img-square of the first
navigation line (for sections). The hotlink under the second img-square
(replaced by "topics:" in the text mode view) points back to the normal
sitefile representation for colored graphical browsers. It is the only
backlink to the original sitefile representation. On return it would be
best if there is a link to the text mode version in the graphical
sitefile represention. And there it is advisable to give it the
very same look of the (mksite.sh) generated little img-squares in the
print.html view. That's what the cut-n-paste text at the top of this
page is showing - to make a little
To expand on it, in the normal graphical sitefile representation you
should use two text replacement around the hotlink to the
"$printerfriendly" version. - The alt-text replacement of the
Note that our printerfriendly mode is clever enough to replace all hrefs in the header lines and the body text with hrefs to the "*.print.html" version generated. So when all your crafted htm(l) files are listed in the sitefile then a user with a text mode browser will never errornously leave the text mode oriented mode when clicking on a (website internal) hotlink. It will always end on the printerfriendly "*.print.html" variant. textmode-example.html
|