-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add /compare #11
Comments
@Zegnat and I especially would like a version with a html-entry-box, not just a URL field. I'm not sure what would be the best way to implement it, but would try to help if I can. (I'd like to have this locally, but throwing all of it in a giant vagrant box afterwards should be doable. Being made for deployment on heroku at least keeps state away) Since the parsers are running on subdomains (and different dynos I assume?), maybe adding an endpoint that returns pure JSON to each of them and fetch them from the browser would be a possible solution? |
A good example of aggregating multiple parsers (IMHO) is MacFarlane’s Babelmark 2 for Markdown. The way it communicates with different parsers is documented in its FAQ:
|
Come up with a protocol and I'll gladly update the Go parser. Curious that Babelmark uses GET instead of POST... isn't the latter just as simple when doing XHR? Some other reason to use GET that I'm not thinking of? |
That shows the results of each of the parsers for a given URL.
Inspired by @willnorris' mf2 compare site.
https://willnorris.github.io/mf2compare
The text was updated successfully, but these errors were encountered: