p.norris
Aug 24, 2018

Details of MXP file format

4 comments

Dear all,

 

I have a set of old scorecards downloaded from our league website. I'm working on a script to automatically convert these to MXP format so we can add them to Cricketstatz. I've extracted all the relevant data from the scorecard file, and now need to write the data out to an MXP file.

 

So far, I have been using an MXP file produced by Total Cricket Scorer as a template. However, I was wondering if anyone could point me to a schema for an MXP file, the available variables, possible values for each variable etc.

 

Kind regards,

 

Paul

p.norris
Aug 27, 2018

Dear Mark,

 

Many thanks for your reply.

 

I had indeed looked at the api, and it could well be an option. My preference for mxp simply reflects how a deliminated text file (which is what the mxp files outputted by TCS appear to resemble) is easier to create in the package I am using to handle the old scorecards.

 

Is there an advantage to the api approach?

 

Best wishes,

 

Paul

Mark @CricketStatz
Aug 27, 2018Edited: Aug 27, 2018

There are a few of advantages to using the API:

 

1. It is our preferred method of publishing matches and will get a lot more development focus in the future (the MXP file import is more of a legacy thing that is there to allow import from older scoring programs)

2. It is real time in that it publishes immediately (rather than having to manually handle a file and then manually import it)

3. (Optionally) Players, teams, divisions and grounds will automatically be added to the online database when they can't be matched

p.norris
Aug 29, 2018

Dear Mark,

 

Many thanks for your replies. I can see why the api would be the most appropriate method moving forward. However, it is a little overkill for the task I am doing just now. I'll drop an email to the support address just now. Thanks for all your help.

 

Paul

Commenting is off for this post.
New Posts
  • Victor Isaacs
    3 days ago

    Hi Mark, After all this time my old laptop has died on me and with my sons help I purchased a Chrome Book laptop (compact and not too heavy). However I have been having an issue in using the Chrome Browser supplied. I am able to get into my admin section of CZ, but trying to look at stats/players/matches etc in the open public site it wont let me: I can get http://www2.cricketstatz.com/ss/web.aspx?club=231522 However when I say click on players http://www2.cricketstatz.com/ss/web.aspx?mode=20&club=231522&team= There is a pre message saying Not secure. And will not let me view any. Do you have any idea on this please ? Thanks
  • Kevin Mitchell
    Nov 8

    I am trying to import matches from Play Cricket to the database - however, it doesn't seem to be working. It seems to get stuck if there is a player/official not in the database - I've tried the 'Quick Add' but the match won't upload any further.
  • Rameaze Raza
    Oct 29

    I notice an issue with the historical stats we imported into the system. Players that have since changed club cannot see their stats on their current profile page. Their profile page only have their stats from their current team; however if they view their profile from the league page their complete stats is visible. Can you look into this for me please.

Top Suggestions

©2019 CricketStatz.Com | Privacy