This is the url-rewrite Reference Manual, version 0.1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 08:00:43 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
url-rewrite
0.1.1
packages.lisp
(file).
specials.lisp
(file).
primitives.lisp
(file).
util.lisp
(file).
url-rewrite.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
url-rewrite/url-rewrite.asd
url-rewrite/packages.lisp
url-rewrite/specials.lisp
url-rewrite/primitives.lisp
url-rewrite/util.lisp
url-rewrite/url-rewrite.lisp
url-rewrite/specials.lisp
packages.lisp
(file).
url-rewrite
(system).
*url-rewrite-fill-tags*
(special variable).
*url-rewrite-tags*
(special variable).
*find-string-hash*
(special variable).
*hyperdoc-base-uri*
(special variable).
*url-rewrite-base-directory*
(special variable).
hyperdoc-lookup
(function).
url-rewrite/primitives.lisp
specials.lisp
(file).
url-rewrite
(system).
comment-start-p
(function).
letterp
(function).
name-char-p
(function).
peek-char*
(function).
read-until
(function).
read-while
(function).
whitespacep
(function).
url-rewrite/util.lisp
primitives.lisp
(file).
url-rewrite
(system).
read-attribute
(function).
read-delimited-string
(function).
read-name
(function).
skip-comment
(function).
skip-whitespace
(function).
url-rewrite/url-rewrite.lisp
util.lisp
(file).
url-rewrite
(system).
add-get-param-to-url
(function).
rewrite-urls
(function).
starts-with-scheme-p
(function).
url-encode
(function).
Packages are listed by definition order.
url-rewrite
common-lisp
.
*url-rewrite-fill-tags*
(special variable).
*url-rewrite-tags*
(special variable).
add-get-param-to-url
(function).
rewrite-urls
(function).
starts-with-scheme-p
(function).
url-encode
(function).
*find-string-hash*
(special variable).
*hyperdoc-base-uri*
(special variable).
*url-rewrite-base-directory*
(special variable).
comment-start-p
(function).
hyperdoc-lookup
(function).
letterp
(function).
name-char-p
(function).
peek-char*
(function).
read-attribute
(function).
read-delimited-string
(function).
read-name
(function).
read-until
(function).
read-while
(function).
skip-comment
(function).
skip-whitespace
(function).
whitespacep
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The tag/attribute combinations where URL-rewriting should optionally add an attribute.
The tag/attribute combinations where URL-rewriting should happen.
URL is assumed to be a http URL. The pair of NAME and VALUE will be added as a GET parameter to this URL. Assumes that there’s no other parameter of the same name. Only checks if #? is part of the string to decide how to attach the new parameter to the end of the string.
Reads an (X)HTML document from *STANDARD-INPUT* and writes it back
to *STANDARD-OUTPUT*. Any attribute value which is in one of the
positions denoted by *URL-REWRITE-TAGS* is rewritten by REWRITE-FN if
it passes the test denoted by the optional function TEST-FN which
defaults to the complement of STARTS-WITH-SCHEME-P.
This function aims to yield correct results for correct (X)HTML input and it also tries hard to never signal an error although it may warn if it encounters syntax errors. It will NOT detect any possible error nor is there any warranty that it will work correctly with faulty input.
Checks whether the string STRING represents a URL which starts with a scheme, i.e. something like ’https://’ or ’mailto:’.
URL-encode a string.
Hash tables used internally by READ-UNTIL to cache offset arrays.
Checks whether *STANDARD-OUTPUT* currently ’looks at’ the string "–". Will move the position within the stream by one unless the first characters it sees is not a hyphen.
Checks whether C is a character between A and Z (case-insensitive).
Checks whether C is a name constituent character in the sense of HTML.
PEEK-CHAR with input stream bound to *STANDARD-INPUT* and returning NIL on EOF.
Read characters from *STANDARD-INPUT* assuming that they constitue a SGML-style attribute/value pair. Returns three values - the name of the attribute, its value, and the whole string which was read. On EOF the string(s) read so far is/are returned. If SKIP is true NIL is returned. Writes all characters read to *STANDARD-OUTPUT* if WRITE-THROUGH is true.
Reads and returns as its first value a string from *STANDARD-INPUT*. The string is either delimited by ’ or " in which case the delimiters aren’t part of the string but the second return value is the delimiter character or it is assumed to extend to the next character which is not a name constituent (see NAME-CHAR-P). On EOF the string read so far is returned. If SKIP is true NIL is returned. Writes all characters read to *STANDARD-OUTPUT* if WRITE-THROUGH is true.
Read characters from *STANDARD-INPUT* as long as they are name constituents. Returns the string which was read unless SKIP is true. On EOF the string read so far is returned. Writes all characters read to *STANDARD-OUTPUT* if WRITE-THROUGH is true.
Reads characters from *STANDARD-INPUT* up to and including STRING. Return the string which was read (excluding STRING) unless SKIP is true. Writes all characters read to *STANDARD-OUTPUT* if WRITE-THROUGH is true. On EOF the string read so far is returned.
Reads characters from *STANDARD-INPUT* while PREDICATE returns a true value for each character. Returns the string which was read unless SKIP is true. Writes all characters read to *STANDARD-OUTPUT* if WRITE-THROUGH is true. On EOF the string read so far is returned.
Skip SGML comment from *STANDARD-INPUT*, i.e. a string enclosed in ’–’ on both sides. Returns no values. Writes all characters read to *STANDARD-OUTPUT*. This function assumes (without checking) that the current position of *STANDARD-INPUT* is at the beginning of a comment, after the first hyphen - see COMMENT-START-P.
Read characters from *STANDARD-INPUT* as long as they are whitespace. Returns the string which was read unless SKIP is true. On EOF the string read so far is returned. Writes all characters read to *STANDARD-OUTPUT* if WRITE-THROUGH is true.
Checks whether C is a whitespace character.
Jump to: | A C F H L N P R S U W |
---|
Jump to: | A C F H L N P R S U W |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F P S U |
---|
Jump to: | F P S U |
---|