Skip to content

Embeddable Widgets

Sailboat Racing provides embeddable widgets that you can display on your club's own website to show live race results and series standings.

Available Widgets

Race Results Widget

Displays recent race results in an auto-cycling slideshow:

/clubs/{slug}/embed/races

Series Standings Widget

Displays current series standings in an auto-cycling slideshow:

/clubs/{slug}/embed/series

Configuration Parameters

Both widgets accept URL parameters to customise the display:

Parameter Description Default
count Number of results/series to show -
interval Time in milliseconds between slides -
from Start date filter (ISO format) -
to End date filter (ISO format) -

Example

Show the last 5 race results, cycling every 10 seconds:

/clubs/{slug}/embed/races?count=5&interval=10000

Embedding on Your Website

Use an <iframe> to embed the widget on your club's website:

<iframe
  src="https://sailstat.com/clubs/my-club/embed/races?count=5&interval=10000"
  width="100%"
  height="600"
  frameborder="0">
</iframe>

Use Cases

  • Club website homepage - show latest results without visitors needing to navigate to Sailboat Racing
  • TV/display at the clubhouse - run the widget full-screen on a monitor
  • Social media / newsletters - link to the embed page for a clean, focused view

See Also