the last suggestion of Jie Cao from www/69780:
``3. If we strip the spaces at the beginning of the lines, we
can reduce the size with a further 90000 bytes.''
PR: www/69780
Submitted by: Jie Cao (gaoj (at) cpsc (dot) ucalgary (dot) ca)
database queries once again, because I've received complaints that the
HTML output mode of the PR query scripts outputs huge, bloated tables
after the style changes I made to beautify HTML output.
This moves all the visual tweaks of the output in a CSS stylesheet and
add a $t_style option to the common cgi-style.pl script. If not set,
the style defaults to empty, but users of cgi-style.pl can set this to
a local CSS style like this:
$t_style="<style type=\"text/css\">...</style>";
or use it to refer from the header of the HTML output to an external
CSS stylesheet.
The HTML output size is substantially reduced now (at least 50% of the
size was caused by many repetitions of style="" attributes), but it's
still larger than the preformatted <pre> output because of all the
<tr> and <td> tags.
<TITLE>FreeBSD Hypertext Man Pages: tunefs(8)</TITLE>
they should be in the form
<TITLE>tunefs(8)</TITLE>
When a user has half a dozen tabs open in their browser, the tabs all
read "FreeBSD Hy...". If they read "tunefs(8)" instead, the user
could navigate much more quickly.
submitted by: Carleton Vaughn <keebler@mindspring.com>
characters in the confirmation image.
en/gifs/1.pnm and en/gifs/I.pnm will be safe to remove 45 minutes after
the next web build and not before, so I'll do that tomorrow.
PR: www/69676
- Use a <table> to align data for HTML output similar to the one used by
CVSweb to list directory contents. This helps the eye to pick the
right line to click on when picking PRs to read from a long list.
Approved by: ceri, linimon, simon, silence on -www
CVS, and use this by default. The CVS version is still used if the
local updated version isn't readable. On www.FreeBSD.org this means
that the updated INDEX(-5) found on
http://www.FreeBSD.porg/ports/INDEX(-5) are used.
In essence this mean that this CGI script is actually useful
again since it's not returning out-of-date results.
- Disable the "new ports" HTML since it just doesn't work without
frequent INDEX versions in CVS. The support code for this isn't
removed at this to avoid breaking stuff, but should be removed
later.
Testing opertunity provided by: kuriama
related to querying GNATS together, in order to aid with the upgrade to
GNATS 4.
Switch over dosendpr.cgi and query-pr.cgi to use it.
query-pr-summary.cgi to follow.