tom0711 wrote: ↑May 29th, 2023, 10:11 am
how do i get or create this skin? I've downloaded the "futbol" skin but it's a different one showing only seria a/PL/Bundesliga one at a time and not updated. i would like to have it like in the images above it looks amazing!
The skin, as I mentioned, is incomplete and was only an exercise from my part, seeing how nice the "futbol" skin looked, so there are NO guarantees it will do all that you want. It has NO fixtures, NO navigation through World Cup groups, NO individual team screens and plenty of other features of a fully fledged skin in this field are missing. I don't plan to add them not because it would be hard, but because I personally don't need such a skin and it would take considerable work and time to parse through such a great amount of data like these sites offer.
Since the time I posted those images and code, the site changed both its query format from its address AND the structure of the JSON content within, so the regex patterns used to parse it required significant adjustments - yet another reason to not pursue a regular update of this. Fortunately, I made the parsing patterns modular and structured into "levels of nesting" (e.g. FootballPattern is made of some Level 1 Patterns, Level 1 Patterns are made of some Level 2 Patterns, and so on) in the Variables.inc file, so the adjustment was easier because of that.
As for creating such a skin, I already covered that in my earlier replies to you and in this thread. The code of the skin, which is about half a MB in accordance with the amount of data being parsed and displayed at the same time, can offer you plenty of clues into how to either create such a skin yourself, use parts of it in your own code, or improve it further. I know it's easier to just get or download an already made skin and enjoy using it and then come back here after one or two years and ask for another, but if you want something, you have to take action eventually. You generally need to examine the page source of a sample page of that site (e.g.
https://www.fotmob.com/leagues/87/overview/league?season= for La Liga), format it using
https://webformatter.com/ for better visualizing the structure and content, design the regex patterns for the UNformatted (i.e. original) page source, and optionally testing things or getting some clues on the regex syntax from sites like
https://regexr.com/ where you can paste the said page source as well.
Football_2.0.0.rmskin
I updated the things in Variables.inc to match the new content format on that site, but in the future you'll have to do that yourself, or look for another such skin - there's a reason why I didn't actually release it, because it was meant only as a "showcase" on the building process, so to speak. Feel free to ask any question related to what is what in the skin.
P.S. You already have some formatted and unformatted versions of both the HTML and the JSON within, in the ...Football\@Resources\Local folder, if you want to have a shot at how it looks and how parsing is done according to the patterns in the Variables.inc file.
You do not have the required permissions to view the files attached to this post.