You can understand the algorithm I used and implement in your own way. Here what I have done is I created a php script that analyzes your downloaded “xml” data...