-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brainstorm and Create a way to Automate Updates for DRS and Record Holder Leaderboards #8
Comments
It would be relatively simple to make the same or similar display that is currently an image file using just HTML and some CSS. Considering that as of now this information is apparently only updated manually, you could just manually modify the text of the HTML each time an update needs to be made. This would be easy to implement and maintain and suitable in the case of infrequent updates. When there becomes a more active set of data that changes over time that would reflect the leaderboard info and rankings, then it would be suitable to automate this using javascript for example to fetch the information and update the text in the HTML. |
I communicated with jergy2 additionally on Discord and he provided the following code: `
`<style>
which he said should output: This could be repurposed not only to update more simply, but also to solve both leaderboard update problems (and future ones as well!) I will be poking around in the Wix devtools to try and get this injected code to function properly. Thank you so much to @jergy2 !! Edit - I am not sure why the above code is getting split into sections like that in this comment, but it's all a single block. |
WOOO! Exciting stuff. Thanks @jergy2 and @tehchives ! One step closer to automating that entire process 😁 |
I've created some files to track sourcing and host this code over in wix-site-public - Tomorrow will update the pages themselves. |
Currently, the DRS and Record Holder leaderboards use images that I created in a photo editor, but there is likely a way we can keep the background but superimpose plaintext drawn from the Database or other repo. This would make it much easier to update (either manually or, ideally, automatically as new filings and data are released).
The text was updated successfully, but these errors were encountered: