Horse Racing Widgets

Horse Racing Widgets

Horse Racing is a sport popular mainly in countries with a strong British background. UK, US, Australia, Canada are just a few countries where regular horse racing competitions take place. Get below your free content feeds like results and statistics from races all over the world.

WidgetLab.net lists below a range of widget codes that can be implemented into any website to deliver free and updated horse racing info 🏇, results and stats, available in 5 languages.

Recommendation: do not include more than one widget in a page or you risk to slow your website.

ONE IMPLEMENTATION

You implement the widget code one time and we take care of the rest. The content gets updated automatically, no other coding and changes afterwards.

FREE FOREVER

The content provided is free to implement. Getting this from other sources will require to pay for access to their services along with any development work.

SEO BEST

It can also improve your SEO work as content will be seen as originating on your website. Search engines will index the content and rank your pages for it.

Race Fixtures / Results by Racetrack

To show latest race fixtures & results by racecourse, you can copy the code generated on RacingStats247 Widgets page, where you wish the fixtures/results to appear (select your implementation platform):

.PHP Files.HTML / .HTM FilesWordpressJoomla
<div><?php
$html = "";
$url = "http://www.racingstats247.com/RacecourseFeedRssWidget.aspx?langId=1&tournamentId=130902&option=1";
$xml = simplexml_load_file($url);
$description = $xml->channel->item->description;
$html .= "$description";
echo $html;
?></div>

1. Visit the RacingStats247 widgets page and make these selections in the Generator: Country > Racecourse name. Click the button “Generate”

2. Copy the widget code as it is.

3. Paste the widget code in your .PHP webpage of your website, where you wish the widget to appear.

4. Visit your website and see how the widget shows the latest race fixtures/results.

<div><?php
$html = "";
$url = "http://www.racingstats247.com/RacecourseFeedRssWidget.aspx?langId=1&tournamentId=130902&option=1";
$xml = simplexml_load_file($url);
$description = $xml->channel->item->description;
$html .= "$description";
echo $html;
?></div>

1. Visit the RacingStats247 widgets page and make these selections in the Generator: Country > Racecourse name. Click the button “Generate”

2. Copy the widget code as it is.

3. Paste the edited code in your .HTML / .HTM webpage of your website, where you wish the widget to appear.

4. As HTML/HTML files do not natively run PHP code, you need to add the following code line in the .htaccess file from the route of your website

AddType application/x-httpd-php .html .htm

If there is no file, you can create one. The .htaccess code may be different from a web hosting to another, so in case above code does not work, please view your hosting FAQ or contact their support and ask for correct .htaccess settings to run PHP code in HTML/HTM files

5. Visit your website and see how the widget shows the latest race fixtures / results for selected racecourse

1. If you are using WordPress as the platform of your website, you need to install a plugin like Insert PHP that can run the php code in your WordPress posts/pages

2. After installing above WP plugin, visit the RacingStats247 widgets page and make these selections in the Generator: Country > Racecourse name. Click the button “Generate”

3. Copy the widget code as it is in a Notepad file. Edit the code accordingly to the WP plugin integration (requires changing “< ?php” at beginning and “?>” at the end with the “ – it should look like below:

<div>[insert_php]
$html = "";
$url = "http://www.racingstats247.com/RacecourseFeedRssWidget.aspx?langId=1&tournamentId=130902&option=1";
$xml = simplexml_load_file($url);
$description = $xml->channel->item->description;
$html .= "$description";
echo $html;
[/insert_php]</div>

4. Paste the edited shortcode in your WP post, where you wish the data to appear (ATTENTION: select Text view when including the code in your post and save it like that – do not change back to Visual as it will break your code).

5. Visit your website and see how the widget shows the latest race fixtures / results for selected racecourse

1. If you are using Joomla as the platform of your website, you need to install an extension like Sourcerer that can run the php code in your Joomla articles

2. After installing above Joomla extension, visit the RacingStats247 widgets page and make these selections in the Generator: Country > Racecourse name. Click the button “Generate”

3. Copy the widget code as it is in a Notepad file. Edit the code accordingly to the Joomla extension (requires changing adding at the before the code “{source}” and at the end of the code “{/source}” – it should look like below:

{source}<div><?php
$html = "";
$url = "http://www.racingstats247.com/RacecourseFeedRssWidget.aspx?langId=1&tournamentId=130902&option=1";
$xml = simplexml_load_file($url);
$description = $xml->channel->item->description;
$html .= "$description";
echo $html;
?></div>{/source}

4. Paste the edited shortcode in your Joomla article, where you wish the data to appear.

5. Visit your website and see how the widget shows the latest race fixtures / results for selected racecourse

Racetracks

You can easily change get data for numerous horse racing tracks from countries like the UK, Ireland, the US, Australia, Canada, France, Belgium or Germany. Simply follow the widget code generator steps to get all the fixtures and results.

Data widgets available in this page are provided by RacingStats247.com