6

I am working on a project for my university basketball team. During each game their statistics software will create an XML file and update it mid-game with player statistics, shots, etc.

What I would like to do is to display this content in a post during the games so that media members could have access to it. I'd like to be able to link to the XML file and then have the post update when changes are made or the other option is to update it on a frequent basis to make sure the statistics are up to date.

How can I do this? I've tried the plugin WP All Import but it requires a paid version to do chron updates.

  • This could help: wp.tutsplus.com/tutorials/creative-coding/… – MikeNGarrett Jan 27 '14 at 2:26
  • Welcome to our site! I took the plugin recommendation part out of the question, because that is off topic here. Take a look at the solutions for How can I avoid code duplication for a blog with lots of source code? They are probably related to your task. – fuxia Jan 27 '14 at 6:43
  • If the paid version works for your needs then just buy it, you can use your time for other things. As there is an actual full plugin that does it, it indicates that it is not a very simple thing to do and you will have to break this big question into smaller parts. One will probably be a php related question about importing and parsing XML files and the other will be a wordpress related about how to display the result of the processing on your site. – Mark Kaplun Jan 27 '14 at 7:29
  • @MarkKaplun Thank you all for your help. I apologize for not responding earlier. I went ahead and got the pro version and it is working perfectly. Good advice. – Jonathan Britt Jan 28 '14 at 23:43
3

You could the following to achieve this in the "WordPress way":

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.