Soccer Data Feeds

Soccer (European football) data feeds provide a wide range of data from live scores and results to statistics, competition rankings and match probabilities. While we discussed already about the benefits of each type of data feed implementation such as XML, RSS or iframe widgets, in this article we will cover a few free sources of soccer data feeds and best type of implementations to create the best results.
 football

SoccerStats247.com is the data provider in our below examples and while it offers different data implementations like iframe widgets & white labels or RSS feeds, we will show you how to include RSS data in your website content in a way that both offers useful updated content in your pages but also creates a good SEO value as the content is seen as originating from your own website.

Below RSS implementations are done with some simple PHP codes implementations, therefore in order for the code to be run in your website, the pages should be either .php or, if .html / .htm, you need to tell your hosting server using the .htaccess to run PHP code within such web files.

Match Results per Soccer Competition

To show the latest match results from a soccer competition you can use the following code:

Implementation:

  1. Copy the above code in a Notepad file for edit
  2. Visit SoccerStats247 RSS Feeds page, go to the Competitions RSS Feed section and select the language you want the data to be provided in and competition you are interested in to get the latest results
  3. Copy the link provided on Step 2 and Paste it in the Notepad file, on line 3, at the $url variable (changing the other link provided as example there between “”)
  4. In the Notepad file go line 5 where you have $i < 10. You can change here the value of 10 in another number as this will be the number of match results showed by the final code (for example for a competition that has only 6 matches / round, it makes sense to change that value to 6 to show only the last round results)
  5. Copy the code from the Notepad file to the page where you want to show the latest match results and make sure the page is set to run the PHP code implemented. Upload the page on your web hosting account. Alternatively, if you run a WordPress website, install a plugin like Easy Code Placement and paste the above code in this plugin
  6. Recommended to list the source of the data provided by including on your website a link to SoccerStats247.com

Match Results for Individual Team

To show the latest match results for a single team from a soccer competition you can use the following code:

Implementation:

  1. Copy the above code in a Notepad file for edit
  2. Visit SoccerStats247 RSS Feeds page, go to the Competitions RSS Feed section and select the language you want the data to be provided in and competition you are interested in to get the latest results
  3. Copy the link provided on Step 2 and Paste it in the Notepad file, on line 3, at the $url variable (changing the other link provided as example there between “”)
  4. In the Notepad file go line 7 where you have ‘Arsenal’. You can change here the text with the name of the team you are interested to show the results for (example: change the value to ‘Chelsea’ – the team name needs to be exactly the same as in the RSS feed)
  5. Copy the code from the Notepad file to the page where you want to show the latest match results and make sure the page is set to run the PHP code implemented. Upload the page on your web hosting account. Alternatively, if you run a WordPress website, install a plugin like Easy Code Placement and paste the above code in this plugin
  6. Recommended to list the source of the data provided by including on your website a link to SoccerStats247.com

Pre-Match Predictions per Soccer Competition

To show the pre-match predictions for games from a soccer competition you can use the following code:

Implementation:

  1. Copy the above code in a Notepad file for edit
  2. Visit SoccerStats247 RSS Feeds page, go to the Match Probabilities RSS Feed section and select the language you want the data to be provided in and competition you are interested in to get the pre-game predictions
  3. Copy the link provided on Step 2 and Paste it in the Notepad file, on line 3, at the $url variable (changing the other link provided as example there between “”)
  4. In the Notepad file go line 5 where you have $i < 6. You can change here the value of 6 in another number as this will be the number of match probabilities showed by the final code (as the feed pushes these predictions only on the day of the matches, the value or 5 or 6 should be more than enough for showing all match tips in a given day; on the days with no matches from selected competitions, the feed will return no results)
  5. Copy the code from the Notepad file to the page where you want to show the latest match results and make sure the page is set to run the PHP code implemented. Upload the page on your web hosting account. Alternatively, if you run a WordPress website, install a plugin like Easy Code Placement and paste the above code in this plugin
  6. Recommended to list the source of the data provided by including on your website a link to SoccerStats247.com

Leave a Reply