1. 25 Mar, 2018 3 commits
    • Dan Scott's avatar
      Add a fifth CSS selector variable for schema.org typeof · 6f1e5c63
      Dan Scott authored
      This assumes that the catalogue page expresses schema.org/MusicAlbum
      as a type using RDFa, but can of course be modified to support local
      means of detecting that the description of the resource is a music
      recording.
      Signed-off-by: 's avatarDan Scott <dscott@laurentian.ca>
      6f1e5c63
    • Dan Scott's avatar
      Group and display instruments · dfb7690c
      Dan Scott authored
      For multi-instrumentalists like Joni Mitchell, this offers a better
      representation of their diverse skills. A side effect of the GROUP_CONCAT()
      is that a value is now always returned for the instruments variable, even
      if the performer has no associated instruments; avoid displaying it if it is
      nothing more than whitespace.
      Signed-off-by: 's avatarDan Scott <dscott@laurentian.ca>
      dfb7690c
    • Dan Scott's avatar
      Support any number of commas in a name · 32ab24bb
      Dan Scott authored
      We had been inverting names only if they contained a single comma (for example,
      "Silver, Liberty" would be converted to "Liberty Silver"). However, this left
      names like "Marriner, Neville, Sir" as simply being passed in their original
      comma-delimited order, which had no chance of finding a match in Wikidata.
      
      Instead, concatenate the results in inverse order, no matter how many commas
      there are. The test record now contains an example entry for this situation.
      Signed-off-by: 's avatarDan Scott <dscott@laurentian.ca>
      32ab24bb
  2. 04 Mar, 2018 1 commit