Autor Subiect: http://www.w3accessibility.com/ >> fara comentarii, pu  (Citit de 2280 ori)

tinuzzo

  • Vizitator
http://www.w3accessibility.com/ >> fara comentarii, pu
« : Noiembrie 20, 2006, 10:49:40 pm »
http://www.w3accessibility.com/ >> fara comentarii, pur si simplu excelent, o sa va ajute pe toti.

extras de pe site de la ei:

Citat
Usage

This site accepts either direct input of user's URL's through its web frontend, or direct linking using URL parameters (see below).

Presently this service only accepts http and https (SSL) style processing.
Linking

Alternative linking methods include using code that automatically updates the link depending on the URL such as (PHP example):

<a href="http://www.w3accessibility.com/?site=<? echo urlencode("http://".$SERVER_NAME."".$REQUEST_URI);?>" title="Text reader only version of the website.">Text Only Version</a>

Or, more simply just link to your homepage using:

<a href="http://www.w3accessibility.com/?site=http://www.juicymedia.co.uk" title="Text reader only version of the website.">Text Only Version</a>

Or, if your website uses SSL you should use something like:

<? $scheme = ($_SERVER['SERVER_PORT'] == "443")? "https://" : "http://"; $site_url = urlencode($scheme.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']); echo $site_url; ?>

Further mani*ulation can be performed by modifying the value of the "wrap column":

<a href="http://www.w3accessibility.com/?site=<? echo urlencode("http://".$SERVER_NAME."".$REQUEST_URI);?>&amp;w=200" title="Text reader only version of the website.">Text Only Version</a>

The default is 80 if the value for "w" is omitted.
Excluding Content

You can exclude certain areas of your site (such as navigation) to make the page look more user-friendly. This is achieved by including standard HTML comments:

<!-- start:exclude --> text here <!-- end:exclude -->

This will remove whatever text is between the two tags, so be careful!
Please note that these comments cannot be nested within one another, BUT you can use multiple consecutive exclude comments on any single page.
Excluding Using Robots.txt

Presently this script does not obey the contents of a sites robots.txt file, although extensive development is being performed to embed this facility.