In this section

Site navigation below

The Code Style site has evolved by gradual refinement and accumulation of features and content. This review is part of a fully backdated site log and archive that sheds light on when, why and how particular features were implemented.

This log is sometimes updated several times per week, sometimes with a long overdue backlog of items. Many log entries refer to the Code Style Java package that delivers the servlet services and utilities used to manage this site.

Subscribe to the news feed for this log: RSS news feed

Reverse chronology

30th January 2005

Archived the site log for December 2004 and replaced the table layout for the site log archive with a select-based navigation form, using the AnchorPoints servlet. Added a selector to set the colour of the optgroup element for each year:

input[type=text],
input[type=radio],
input[type=checkbox],
select, option,
textarea {
  color:            #000;
  background:       #EEF;
}
optgroup {
  background:       #039;
  color:            #FFF;
  font-style:       normal;
}
      

Also split-out contents pages for previous years to reduce the length of the current site log contents.

Released the wide right margin on FAQ definition lists to allow wide pre elements to use the space. All nested FAQ content has an equivalent margin, but the greater specificity of the .Wide selector overrides this.

/*
  Wide margin-right to float images
  and box-outs there.
*/
#Content p, #Content ol, #Content ul,
#Content dl.TOC, #Content pre, fieldset,
.MenuBox, #Content .SQL,
#Content .StackTrace {
  margin-right:     31%;
}
#Content dl.FAQ p,
#Content dl.FAQ pre, #Content dl.FAQ dl,
#Content dl.FAQ ol, #Content dl.FAQ ul {

  margin-right:     32%;
}
/*
  Longer preformatted lines take more
  width.
*/
#Content pre.Wide,
#Content dl dd pre.Wide {
  margin-right:     0;
}
      

Removed language element output from the XHTMLtoRSS XSL transformation for RSS 0.9 mode output only.

23nd January 2005

Added RSS auto-discovery type link attributes to standard RSS anchor elements to aid content type handling in Web browsers:

<a
  href="/servlets/ParseRSS?url=/codestyle/log/index.shtml"
  rel="alternate"
  type="application/rss+xml"
  title="RSS">RSS 1.0</a>
      

Updated date fields and copyright statements in various source content to the year 2005.

22nd January 2005

Modified the XHTMLtoRSS and DCElementsRSS XSL templates to include the last modified date passed through from the origin server. For RSS 1.0, the stylesheet generates a dcterms:modified element with W3CDTF timestamp, which takes precedence over any dc:date or dcterms:modified value in the source document. Also removed nested rdf:Description elements for Dublin Core metadata extracted from link elements. Simplified the language element output for RSS 0.9 mode output.

Corrected the case of MeSH class selector in the DC.css stylesheet, which matches the Dublin Core qualifier name:

dcterms\:MESH:after {
    content:        "(Medical Subject Headings)";
}
      

21st January 2005

Moved the shadow URL path field and methods from the AbstractMockHttpServletResponse class to AbstractMockServletResponse, since RequestDispatcher may forward generic servlet responses.

12th January 2005

Added a setFailOnGet method to the SQL MockResultSet class to force SQLException on all "getter" methods as required for testing.

9th January 2005

Added a modified date argument to the SAXTransformer transform method, which adds a last-modified XSL parameter to the transformation. The string is assigned via the new W3CDTF utility class, which applies a time zone adjustment to UTC and formats according to the standard. Updated the SAXTransformerTest class with the new transform method signature.

Found the source of the array index problem in the ResultLogTest class (see January 5); the month array had two "Mar" entries!

8th January 2005

Completed a first draft utility class W3CDTF, to format standard Java date values as W3C Date Time Format strings. The timestampUTC method adjusts a local time value to UTC and returns a formatted timestamp string. Completed coverage tests for the timestamp method, including seasonal adjustments for daylight savings.

5th January 2005

Corrected the ResultLogTest class' timestamp check, which had an incorrect month array index for January.

Added gazz and Ocelli to the robots.txt exclusion policy.

Previously on Code Style

These backdated pages record detailed changes to the Code Style Web site since July 2000, when development first got underway. Some pages may refer to documents or features that have since changed or are no longer part of the site, but the archive is checked to ensure there are no dead links.

Add this page to your chosen social bookmarking service

Style warning - please read

Home · CSS · Java · Javascript · HTML · Help · Log