diff options
Diffstat (limited to 'uri.txi')
-rw-r--r-- | uri.txi | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -22,11 +22,13 @@ described in RFC 2396. Returns a Uniform Resource Identifier string from component arguments. @end defun + @defun uri:make-path path Returns a URI string combining the components of list @var{path}. @end defun + @defun html:anchor name Returns a string which defines this location in the (HTML) file as @var{name}. The hypertext @samp{<A HREF="#@var{name}">} will link to this point. @@ -38,6 +40,7 @@ as @var{name}. The hypertext @samp{<A HREF="#@var{name}">} will link to this po @end example @end defun + @defun html:link uri highlighted Returns a string which links the @var{highlighted} text to @var{uri}. @@ -48,17 +51,20 @@ Returns a string which links the @var{highlighted} text to @var{uri}. @end example @end defun + @defun html:base uri Returns a string specifying the @dfn{base} @var{uri} of a document, for @cindex base inclusion in the HEAD of the document (@pxref{HTML, head}). @end defun + @defun html:isindex prompt Returns a string specifying the search @var{prompt} of a document, for inclusion in the HEAD of the document (@pxref{HTML, head}). @end defun + @defun uri->tree uri-reference base-tree @@ -87,17 +93,20 @@ string. @end example @end defun + @defun uri:split-fields txt chr Returns a list of @var{txt} split at each occurrence of @var{chr}. @var{chr} does not appear in the returned list of strings. @end defun + @defun uri:decode-query query-string Converts a @dfn{URI} encoded @var{query-string} to a query-alist. @cindex URI @end defun + @noindent @code{uric:} prefixes indicate procedures dealing with URI-components. @@ -110,17 +119,20 @@ Returns a copy of the string @var{uri-component} in which all @dfn{unsafe} octet @code{uric:decode} decodes strings encoded by @code{uric:encode}. @end defun + @defun uric:decode uri-component Returns a copy of the string @var{uri-component} in which each @samp{%} escaped characters in @var{uri-component} is replaced with the character it encodes. This routine is useful for showing URI contents on error pages. @end defun + @defun uri:path->keys path-list ptypes @var{path-list} is a path-list as returned by @code{uri:split-fields}. @code{uri:path->keys} returns a list of items returned by @code{uri:decode-path}, coerced to types @var{ptypes}. @end defun + @subheading File-system Locators and Predicates @@ -128,6 +140,7 @@ to types @var{ptypes}. Returns a URI-string for @var{path} on the local host. @end defun + @defun absolute-uri? str Returns #t if @var{str} is an absolute-URI as indicated by a syntactically valid (per RFC 2396) @dfn{scheme}; otherwise returns @@ -135,20 +148,24 @@ syntactically valid (per RFC 2396) @dfn{scheme}; otherwise returns #f. @end defun + @defun absolute-path? file-name Returns #t if @var{file-name} is a fully specified pathname (does not depend on the current working directory); otherwise returns #f. @end defun + @defun null-directory? str Returns #t if changing directory to @var{str} would leave the current directory unchanged; otherwise returns #f. @end defun + @defun glob-pattern? str Returns #t if the string @var{str} contains characters used for specifying glob patterns, namely @samp{*}, @samp{?}, or @samp{[}. @end defun + @noindent Before RFC 2396, the @dfn{File Transfer Protocol} (FTP) served a @cindex File Transfer Protocol @@ -176,3 +193,4 @@ remote-site remote-directory @end enumerate @end defun + |