summaryrefslogtreecommitdiffstats
path: root/db2html.txi
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <tb@debian.org>2005-11-02 14:55:21 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:32 -0800
commit34c54a22ff7818bb8b38ef4d9c87dbbcb221ba73 (patch)
tree1189d06a81277bcf8539b0260a69a19f6038effb /db2html.txi
parent611b3db17894e5fdc0db3d49eaf6743d27b44233 (diff)
parent5145dd3aa0c02c9fc496d1432fc4410674206e1d (diff)
downloadslib-34c54a22ff7818bb8b38ef4d9c87dbbcb221ba73.tar.gz
slib-34c54a22ff7818bb8b38ef4d9c87dbbcb221ba73.zip
Import Debian changes 3a2-1debian/3a2-1
slib (3a2-1) unstable; urgency=low * New upstream release. * Acknowledge NMU. (Closes: #281809) * Makefile: Don't hack Makefile; use rules instead. * debian/rules: Set on make invocations: prefix, htmldir, TEXI2HTML. * debian/rules (clean): Clean more stuff here. * Makefile: Comment out old rule for $(htmldir)slib_toc.html. Instead, specify directly that the texi2html invocation produces that file. * debian/rules (binary-indep): Find web files in slib subdir. * debian/control (Build-Depends-Indep): Go back to using scm.
Diffstat (limited to 'db2html.txi')
-rw-r--r--db2html.txi20
1 files changed, 18 insertions, 2 deletions
diff --git a/db2html.txi b/db2html.txi
index 3b47f31..6366f87 100644
--- a/db2html.txi
+++ b/db2html.txi
@@ -6,6 +6,7 @@
@end defun
+
@defun html:caption caption align
@@ -13,14 +14,17 @@
@var{align} can be @samp{top} or @samp{bottom}.
@end defun
+
@defun html:heading columns
Outputs a heading row for the currently-started table.
@end defun
+
@defun html:href-heading columns uris
Outputs a heading row with column-names @var{columns} linked to URIs @var{uris}.
@end defun
+
@defun html:linked-row-converter k foreigns
@@ -32,20 +36,24 @@ foreign-key field pages and #f for non foreign-key fields.
returned procedure returns the html string for that table row.
@end defun
+
@defun table-name->filename table-name
Returns the symbol @var{table-name} converted to a filename.
@end defun
+
@defun table->linked-html caption db table-name match-key1 @dots{}
-Returns HTML string for @var{db} table @var{table-name}. Every foreign-key value is
-linked to the page (of the table) defining that key.
+Returns HTML string for @var{db} table @var{table-name} chopped into 50-row HTML tables.
+Every foreign-key value is linked to the page (of the table)
+defining that key.
The optional @var{match-key1} @dots{} arguments restrict actions to a subset of
the table. @xref{Table Operations, match-key}.
@end defun
+
@defun table->linked-page db table-name index-filename arg @dots{}
Returns a complete HTML page. The string @var{index-filename} names the page which
@@ -55,10 +63,12 @@ The optional @var{args} @dots{} arguments restrict actions to a subset of
the table. @xref{Table Operations, match-key}.
@end defun
+
@defun catalog->html db caption arg @dots{}
Returns HTML string for the catalog table of @var{db}.
@end defun
+
@subsection HTML editing tables
@noindent A client can modify one row of an editable table at a time.
@@ -113,6 +123,7 @@ Optional arguments @var{update}, @var{delete}, and @var{retrieve} default to the
@code{row:delete}, and @code{row:retrieve} of @var{table-name} in @var{db}.
@end defun
+
@defun command:make-editable-table rdb table-name arg @dots{}
Given @var{table-name} in @var{rdb}, creates parameter and @code{*command*} tables
for editing one row of @var{table-name} at a time. @code{command:make-editable-table} returns a procedure taking a
@@ -132,6 +143,7 @@ have arity @samp{nary1}.
@end table
@end defun
+
@defun html:editable-row-converter k names edit-point edit-converter
@@ -148,6 +160,7 @@ the primary key fields) of each row linked to a text encoding of these
fields (the result of calling @code{row->anchor}). The page so
referenced typically allows the user to edit fields of that row.
@end defun
+
@subsection HTML databases
@@ -162,6 +175,7 @@ top level page with the catalog of tables (captioned @var{caption}) is written
to a file named @var{index-filename}.
@end defun
+
@defun db->html-directory db dir index-filename
@@ -176,6 +190,7 @@ top page, which defaults to @file{index.html}.
returned.
@end defun
+
@defun db->netscape db dir index-filename
@@ -184,3 +199,4 @@ returned.
@code{browse-url} with the uri for the top page after the
pages are created.
@end defun
+