Widgets & data

Website widget guide

A widget shows public club flights or competition standings from XCGlobe on your website. The results update automatically.

Add a widget to your website

  1. Open Widgets & data, then choose Prepare widget for club flights or competition standings.
  2. Select a club or competition, choose a name and the maximum number of results, then create the export.
  3. Check the preview. Adjust the language, theme and number of rows if needed, then choose Copy code.
  4. Paste the code into a custom HTML block where the widget should appear. Save or publish the page.

If the widget is missing, check that your website editor allows custom scripts. Some editors remove the script on save. A site administrator can help you add it in a supported location.

Use the same data as JSON

In My integrations, select Copy public link on the export. The URL returns the public data used by the widget. You can open it in a browser or read it from your own application.

GET https://xcglobe.com/api/v1/export/PUBLIC_EXPORT_ID

Club feeds return a flights list with dates, pilots, takeoff sites, distances and scores. Competition feeds return standings with ranks, pilots, scores and flight counts.

Each link points to a saved definition with its own club or competition and result limit. If it is deleted, its URL and any widgets using it stop working.