iptc / sportsml-3

Development of SportsML 3
9 stars 1 forks source link

Lines showing promotion and demotion #20

Closed jolla56 closed 6 years ago

jolla56 commented 8 years ago

From old list: Feature #145: promotion- and demotion-lines • Author: Trond Huso • Status: Feedback • Priority: Normal • Assignee: Johan Lindgren • Category: Soccer • Target version: SportsML 2.3 Release There is a need in standings to have promotion- and demotion lines to graphically tell which teams are above/below these lines and therefor will be promoted/demoted at the end of the season. It has been categorized for soccer, but can be used in any team sport with this request. This is a planned feature for 2.3/3.0

jolla56 commented 7 years ago

I agree. In our present markup we have a grouping element in the standings table called STAB. Between them you can have a LINE-element. But I think an easier solution is to att the element LINE together with TEAM and PERSON in the STANDING. Then you can insert the line anywhere you like.

freeballoon commented 7 years ago

Is <award> sufficient to identify promotion/relegation rows in a standings table? Example from SportsML 2.2

<standing>
  <team …>
    <team-stats …>
      <award award-type="league-championship-winner" name="Champions_League"/>
  <team …>
    <team-stats …>
      <award award-type="league-championship-runner-up" name="Champions_League"/>
  <team …>
    <team-stats …>
      <award award-type="league-championship-runner-up" name="Europa_Cup"/>
  <team …>
    <team-stats …>
      <award award-type="playoff-relegation" name="Relegation"/>
  <team …>
    <team-stats …>
      <award award-type="relegation" name="Relegation"/>
jolla56 commented 7 years ago

At the meeting June 13th we decided not to do this. There is an attribute called result-effect. And it is also possible to use the award-element. (Even if the word award sound a bit strange.)