StageRace 2003 - Road Cycling Administration Help
border

Parsing

Through the various settings the way publications look can be very heavily influenced. And for instance for web publishing even a dedicated profile can be established for this. But still a race's web designer may want to do an even deeper integration of publications into its web site.

Someone may want to parse for parts of publications that are of interest. Parsing is the automated process in which the raw publication document files are being scanned for parts that can be recognized as useful for extraction for a certain function. E.g. you may want to automatically extract the top ten-ranked competitors from the general classification, or extract just the table with arrivals, without any header or footer information.

Specifically for this purpose tags are added to the publication document HTML files that can easily be scanned for.

The tages are available as HTML comments, of the following form:

<!-- [tagname]:begin --> ... <!-- [tagname]:end -->

The comment indicated by [tagname] can be found between the two corresponding begin and end tags.

The following tag names can exist in StageRace documents:

Tag name

Denomination

  • first_five
  • The first five competitors from the main table, their rankings, et cetera, including column headers.
  • first_ten
  • The first ten competitors from the main table, their rankings, et cetera, including column headers.
  • main_content
  • The main table with competitors, their rankings, et cetera, including column headers. In case of a communiqué this is the communiqué's body text.
  • properties
  • The document's properties, with their labels, in the header of the publication.
  • signature
  • The signature in the footer of the publication.
  • statistics_report
  • The statistics report, with labels, in the footer of the publication.
  • time_stamp
  • The time stamp in the footer of the publication.
  • section_<no.>
  • Other sections, indicated by number. Added for future extensions. Currently only section_1 used to enclose the entire HTML body.

 

 

Go top

Converted from CHM to HTML with chm2web Standard 2.8 (unicode)