Live Cricket Score Website Using Cricinfo Xml Feed

Introduction :

We know that it is very hard to create a live cricket score website , Because it consist live update . Updating our website as per the score which show in Television was very hard . So it is better to find an another outsource to get the live updates to our website . Most of the webmasters where using Widgets for show live-cricket score on their website . But the problem with Widgets was , They show the owner website address below the Widget . This will cause the website which show live cricket score widget user website . Through this article you are going to learn about fetching live cricket score from cricinfo using their Xml data with the help of Php .

What is Cricinfo :

Cricinfo is a famous cricket news website , People visiting the site for getting new and information related to the cricket . Actually Cricinfo not providing any API for showing the Live Cricket Score , But they proving live Xml data .
Demo : Click for Demo 

How to Create Live Score Website Using Cricinfo XML File :

It is very easy to create Live Cricket Score website using Cricinfo XML File , Just follow the below steps to finish the process .
  • First of all you need to create a page to show the Live Cricket Score Updates .
  • Copy/Paste the following Php code to the page which you created .
<title>Cricinfo - Live Cricket Score Update</title>
<link rel="stylesheet" href="" type="text/css" />
<h1>Live Cricket Score Feed</h1>
$rss = simplexml_load_file('');
foreach ($rss->channel->item as $item) { 
   echo '<div class="line">';
   echo "<p>" . $item->description . "</p>";
   echo '</div>';
  • Save the page you create for showing live cricket score , After pasting the above Php code . 
  • Open the page you create "" .
  • You are done .
By creating a live cricket score website , You can increase your website visitors and earn more impression and money . It is a simple script that i made . If you want to add more additional feature just ask me using the comment box .

Suggested Articles For Web Programmers :

I hope you well enjoyed this article , If you have any doubts or suggestions related to this article , Please let us know by using the comment box given below . Thanks


  1. how to hit the server again and again using livescore api to give latest result.please help me

    1. Please add a refresh script in your page. It will help you to reload the page every minuet or second that you specified. It will help you.


  2. I like your all post. You have done really good work . Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.

    live cricket streaming
    india vs eng live cricket streaming
    pak vs india 2018live cricket streaming
    pak vs india asia cup live cricket streaming
    pak vs india live 2018
    world cup 2019
    live worldcup 2019

  3. I cannot do this please help. I copied the code and pasted it on my page but it only displayed thind like 'echo' and others. Anyone to help me please !


Wapmaster or Webmaster can Comment Us with the following Comment Box . Don't add Links to your site for Spamming our Blog .. Once you add Comment with Link . It will be deleted immediatly by our Admins .