打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
WorldWideWeb Address Formats

W3 Naming Schemes

(See also: a discussion of design issues involved , BNF syntax , W3background)

The format of a hypertext name consists of the name of the namingsub-scheme to be used, then a name in a format particular to thatsubscheme, then an optional anchor identifier within the document.For example, the format is for all internet-based access methods:

scheme : // host.domain:port / path / path # anchor

A suffix # anchor id allows one to refer to a particular anchor withina document.

A suffix ? followed by words separated by + signs allows one to seachan index (see details ).

References from one document to another with a similar name may beabbreviated to a relative name . This imposes certain restrictionson the way that the 'path' is represented.

A special format is used to represent a search on an index . See also:the full BNF description , about escaping illegal characters .

Examples

file://cernvax.cern.ch/usr/lib/WWW/defaut.html#123This is a fully qualified file name, referring to a document in thefile name space of the given internet node, and an imaginary anchor123 within it. #gregThis refers to anchor 'greg' in the same document as that in whichthe name appears.

Naming sub-schemes

Different schemes usually use different protocols on the network.The format of the address after the scheme name is a function of theparticular scheme. In practice, all internet-based schemes have acommon format for the node name and port. Schemes currently definedare as follows, with links to more details.
file
Access is provided to files, using whatever means the browserand/or gateways have to reach files on obscure machines.
news
Access is provided to news articles, and newsgroups, normallyusing the NNTP protocol.
http
Access is provided to any other information using the HTTP searchand retrieve protocol . The internal addressing of the informationsystem is mapped onto a W3 path.
telnet
Access is provided by an interactive telnet session. This isprovided ONLY as an interface to other existing online systems whichcannot or have not been mapped onto the W3 space.
gopher
Access is provided using the 'gopher' protocol. The gopherprotocol is similar to HTTP but uses separate concepts of menus andtext files rather than hypertext.
wais
Access is provided using the WAIS adaptaion of the Z39.50 protocol.
x500
Format to be defined.
Systems (such as WAIS) which are not currently accessed directly beW3 servers may be accessed though gateways, in which case the documentaddress is encoded within the http address of the document in thegateway. Browsers which do not have the ability to use certain protocolsmay (in principle) be configured to automaticaly use certain gatewaysfor certain addressing schemes.

This will allow, for example, simple PC-based clients to follow linksthrough X500 name servers.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
JavaScript对象与数组参考大全
How to convert Word document to PDF in JavaScript?
PHP 如何获得JS值?
怎么让用户不用输入用户名密码自动登录?
string 转化xml xml转化为string
List导入Excel文件
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服