giventofly / exportpwp Goto Github PK
View Code? Open in Web Editor NEWExport your planeswalker points to a .csv file
License: MIT License
Export your planeswalker points to a .csv file
License: MIT License
Field names are repeated in the output. For example, "Format : Sealed"
could be just "Sealed"
. You just have to split around the :
and trim heading space of the result.
There's an "expand all" button just on the left of the header row. Is this is achieving the same as what you're doing with code?
This might be simplified telling the user to click on that button.
See #14
The link in Step one is to laneswalkerPoints/History
. To fix this, it needs to have the URL inside the round brackets, e.g.
[https://www.wizards.com/Magic/PlaneswalkerPoints/History](https://www.wizards.com/Magic/PlaneswalkerPoints/History)
Hi there, thanks for putting this together and posting it. I have 2 pieces of feedback
The current header has 2 "store" entries. The second "store" and "place" also don't make sense given their columns. I think the first line of the script should be:
let content = '"date","description","store","points","pro points","multiplier","total event players","format","location","place","round number","result","opponent"\r\n';
I also wonder if there's a way to get the script to expand multiple opponents (from 2hg, team events, etc.). I'm relatively new to html, so don't have any suggestions as to how to do it other than that the structure appears to be:
<div class="MatchOpponentTeamExpand">
<a href="javascript:void(0);" onclick="return DisplayTeamOpponents(this);" class="ExpandSmall"></a>
<div class="MatchOpponentTeamLabel">
Multiple Opponents
</div>
</div>
Which then appears to fill in the following:
<div class="MatchOpponentTeam" style="display: block;">
<div class="TeamOpponent">Player1</div>
<div class="TeamOpponent">Player2</div>
<div class="TeamOpponent">Player3</div>
</div>
Writing the rationale behind the projects helps clarify the cause and intent.
Putting the code that may vary separately will ease modification and diff.
Using ISO date formating will make see the changes easier for an international public.
See #7
Seems the header has the "store" field badly quoted. The first quote is missing.
So instead of:
"date","description","store",...
I got:
"date","description",store",...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.