Project:Score table

From SpinetiX Support Wiki

Jump to: navigation, search

Specifications

  • Category: Feeds
  • Author: SpinetiX S.A.
  • License: GPL Version 3
  • Target: HMD

Description

This is an advanced HMD project that uses JavaScript code (format_page.js) to parse and format data from an XML source (sample.xml) in order to display Hockey standings as tables.

  • The XML source is parsed so that the "division" rows are separators. All lines until the next separator are displayed as a table, with formatting applied to match the HTML version from the Jr. Warriors site. The separator is displayed as title of the table.
    • If you want to change the data source, make sure that the new one has the correct XML format - a table with rows of data, with some of them being "separators".
  • The tables are displayed one after another and if necessarily, on multiple pages. If a table don't fit on the remaining space, it will be displayed on the next page.
  • The JavaScript code has been annotated and separated in such a way that you can use an external editor (such as Notepad++) to change certain parameters.
This page was last modified on 5 June 2013, at 16:51.