diff options
author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2003-12-24 15:18:55 +0000 |
---|---|---|
committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2003-12-24 15:18:55 +0000 |
commit | 0dd8966ffeb8c66712c7e8b424d102e24a154be7 (patch) | |
tree | ebe0706d95eaa5162acd20c180b7f31c686f5d3b | |
parent | 160297cf31d62cf3e9076d730bec6538c056b896 (diff) | |
download | docutils-0dd8966ffeb8c66712c7e8b424d102e24a154be7.tar.gz |
updated URI schemes mapping & links
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1779 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r-- | docutils/docs/ref/rst/restructuredtext.txt | 8 | ||||
-rw-r--r-- | docutils/docutils/urischemes.py | 13 |
2 files changed, 17 insertions, 4 deletions
diff --git a/docutils/docs/ref/rst/restructuredtext.txt b/docutils/docs/ref/rst/restructuredtext.txt index 7a6c7bfda..c8a2047a3 100644 --- a/docutils/docs/ref/rst/restructuredtext.txt +++ b/docutils/docs/ref/rst/restructuredtext.txt @@ -2651,8 +2651,8 @@ Two forms of URI are recognized: The scheme is the name of the protocol, such as "http", "ftp", "mailto", or "telnet". The scheme consists of an initial letter, followed by letters, numbers, and/or "+", "-", ".". Recognition is - limited to known schemes, per the W3C's `Index of WWW Addressing - Schemes`_. + limited to known schemes, per the `Official IANA Registry of URI + Schemes`_ and the W3C's `Retired Index of WWW Addressing Schemes`_. The scheme-specific part of the resource identifier may be either hierarchical or opaque: @@ -2719,7 +2719,9 @@ Markup errors are handled according to the specification in `PEP .. _doctest module: http://www.python.org/doc/current/lib/module-doctest.html .. _Emacs table mode: http://table.sourceforge.net/ -.. _Index of WWW Addressing Schemes: +.. _Official IANA Registry of URI Schemes: + http://www.iana.org/assignments/uri-schemes +.. _Retired Index of WWW Addressing Schemes: http://www.w3.org/Addressing/schemes.html .. _World Wide Web Consortium: http://www.w3.org/ .. _HTML Techniques for Web Content Accessibility Guidelines: diff --git a/docutils/docutils/urischemes.py b/docutils/docutils/urischemes.py index 6eb45820a..05ba20415 100644 --- a/docutils/docutils/urischemes.py +++ b/docutils/docutils/urischemes.py @@ -1,7 +1,8 @@ """ `schemes` is a dictionary with lowercase URI addressing schemes as keys and descriptions as values. It was compiled from the index at -http://www.w3.org/Addressing/schemes.html (revised 2001-08-20). +http://www.iana.org/assignments/uri-schemes (revised 2003-11-26) +and an older list at http://www.w3.org/Addressing/schemes.html. """ # Many values are blank and should be filled in with useful descriptions. @@ -30,6 +31,7 @@ schemes = { 'finger': '', 'freenet': '', 'ftp': 'File Transfer Protocol', + 'go': 'go; RFC3368', 'gopher': 'The Gopher Protocol', 'gsm-sms': ('Global System for Mobile Communications Short Message ' 'Service'), @@ -42,6 +44,7 @@ schemes = { 'https': 'HTTP over SSL', 'iioploc': 'Internet Inter-ORB Protocol Location?', 'ilu': 'Inter-Language Unification', + 'im': 'Instant Messaging', 'imap': 'Internet Message Access Protocol', 'ior': 'CORBA interoperable object reference', 'ipp': 'Internet Printing Protocol', @@ -62,6 +65,7 @@ schemes = { 'mocha': '', 'modem': ('a connection to a terminal that can handle incoming data ' 'calls; RFC 2806'), + 'mupdate': 'Mailbox Update (MUPDATE) Protocol', 'news': 'USENET news', 'nfs': 'Network File System protocol', 'nntp': 'USENET news using NNTP access', @@ -69,6 +73,7 @@ schemes = { 'phone': '', 'pop': 'Post Office Protocol', 'pop3': 'Post Office Protocol v3', + 'pres': 'Presence', 'printer': '', 'prospero': 'Prospero Directory Service', 'res': '', @@ -80,8 +85,11 @@ schemes = { 'service': 'service location', 'shttp': 'secure hypertext transfer protocol', 'sip': 'Session Initiation Protocol', + 'sips': 'secure session intitiaion protocol', 'smb': '', 'snews': 'For NNTP postings via SSL', + 'soap.beep': '', + 'soap.beeps': '', 't120': 'real time data conferencing (audiographics)', 'tcp': '', 'tel': ('a connection to a terminal that handles normal voice ' @@ -90,6 +98,7 @@ schemes = { 'RFC 2806.'), 'telephone': 'telephone', 'telnet': 'Reference to interactive sessions', + 'tftp': 'Trivial File Transfer Protocol', 'tip': 'Transaction Internet Protocol', 'tn3270': 'Interactive 3270 emulation sessions', 'tv': '', @@ -101,5 +110,7 @@ schemes = { 'wais': 'Wide Area Information Servers', 'whodp': '', 'whois++': 'Distributed directory service.', + 'xmlrpc.beep': '', + 'xmlrpc.beeps': '', 'z39.50r': 'Z39.50 Retrieval', 'z39.50s': 'Z39.50 Session',} |