W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: [css] List of all CSS properties

From: Bert Bos <bert@w3.org>
Date: Tue, 1 Apr 2008 19:39:31 +0200
To: Olivier Thereaux <ot@w3.org>
Cc: www-style@w3.org, Jens Meiert <jens.meiert@erde3.com>
Message-Id: <200804011939.31995.bert@w3.org>
On Tuesday 01 April 2008 18:44, Olivier Thereaux wrote:

> Bert, you said that the list you generate is for internal use, but
> would there be any obstacle to either opening that list for public
> consumption (with whatever disclaimer is applicable) or providing the
> scripts for others to use? This could help people like Jens, Rijk,
> Jason, and Björn keep their lists up to date.

No problem sharing the script. The reason I haven't made my results 
public is that such scripts always require a bit of maintenance and I 
won't commit to maintaining it.

I have attached the script that I use:

* list-all-properties.sh

This Bash script extracts all links from the status table in the CSS 
roadmap[1] and then follows those links to look for property 
definitions, i.e., tables with class "propdef."

The script can be run by hand, but I actually call it from a cron job 
that runs the script and also uploads the output to the Web server.

The script uses a couple of other programs, in particular: curl 
(available for most distributions of Unix), xselect & wls (from my 

The xselect program uses selectors to extract elements from an HTML/XML 
document and it should be easy enough to extract other information 
about properties than just the name and the ID, as the script does now.

* all-properties.html

This is a sample of what the script produces: a very simple table of 
property names with links to their specifications.

[1] http://www.w3.org/Style/CSS/current-work.html
[2] http://www.w3.org/Tools/HTML-XML-utils/
    I think there is a version in DarwinPorts for Mac OS X.
    The Debian package is apparently not yet ready.

  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Tuesday, 1 April 2008 17:40:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC