The Rugby Football Club offers a customizable JavaScript add-in for your website to show upcoming Rugby Lions fixtures.
Just pass this page to your company's web developer or contact The Rugby Football Club for more information.
Getting Started
Adding this to your website really couldn't be simpler.
Just add this
<script type="text/javascript" src="http://therugbyfootballclub.co.uk/api/fixture_mini.js" ></script>
to the head of your website, and then this
<script type="text/javascript" id="rLionsFixScript">
new rugbyLionsFixtures({
limit: 10,
past: true,
future: true,
description: 20,
width: 300,
height: 400,
style: 'white'
});
</script>
to wherever in the body of the page you would like the fixtures to display.
Customization
The API offers several customization options
- limit
- Integer value for the number of fixtures you need to display
- past
- Boolean value for showing fixtures that have already happened, ordered by the most recent
- future
- Boolean value for showing fixtures that are upcoming in the near future, ordered by the soonest first
- description
- Integer that describes how many words to limit the brief description to.
- width
- Integer, width of the container in pixels
- height
- Integer, height of the container in pixels
- style
- 'black' or 'white' are the only availiable values for this. Black is a black box with white writing. White is a white box with black writing.


