caprenter / bcb-website

A place to track issues about the bcb website
GNU General Public License v3.0
0 stars 1 forks source link

Sitting in for.. #142

Open caprenter opened 4 years ago

caprenter commented 4 years ago

In the Presented by: section of the Google Calendar description that is used on the schedule pages to link to presenter pages, we are starting to use the text (sitting in for..) e.g.

Presented by: Nigel Guy, Robert Dunn (sitting in for The Sisters of Soul and DP)

The current script looks for the 'Presented by: ' text and explodes on the comma if there is a list.

In the above this gives and array of

[0] => Nigel Guy
[1] => Robert Dunn (sitting in for The Sisters of Soul and DP)

worse, in this case:

Presented by: Robert Dunn (sitting in for The Sisters of Soul and DP)

We won't get Robert to be detected at all, we'd need to write (with and extra comma):

Presented by: Robert Dunn, (sitting in for The Sisters of Soul and DP)

So, an improvement would be that both Nigel and Robert are detected as presenters. A further improvement would be that anyone they are sat in for is also detected (1) the sisters of soul and (2) DP)