-
Notifications
You must be signed in to change notification settings - Fork 480
Replace JavaScript 101 Section with MDN information using Kuma API #257
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
Comments
Hi there, I've largely been the author of the code behind the Kuma API. Let me know if you need anything, and I'll see if I can help! |
Hey @lmorchard, pleased to make your acquaintance! We'll certainly do just that. |
Also, for what it's worth: We're mulling over a lot of the same kinks you mentioned, for docs in general at MDN & Mozilla. Not saying we have any solutions yet, but interested in more perspectives :) |
@lmorchard +1 let us know anything you need at dev-mdn@lists.mozilla.org or just file issues at our repos |
Just a word about SEO and duplicated content. Search engines, tend to dislike when 2 pages on the web have the same content and in our case may penalize MDN or learn.jquery.com (or both) ranking.
Reading/videos on the topic: |
Thanks for the heads up @DavidBruant - using @rel=canonical and getting it into the head presents a minor challenge, but not an insurmountable one. All jQuery sites use the same header, so we'd just have to seed pages built from MDN data with some metadata we could use to put the canonical url in the head. |
Just wanted to add a point about submitting requests for new features you might need. Our Bugzilla form would be an ideal way to do this, assuming you don't mind signing up for an account. The form helps us to understand exactly what you need so that we can provide it as soon as possible. And if you haven't noticed, we are thrilled to be working with you. Looking forward to seeing where this goes. |
This presents licensing challenges as well. MDN content is CC-BY-SA 2.5, while our content is MIT. MDN code samples are a mixture of MIT and CC-0 while our code samples are CC-0. |
@teoli2003 may be able to help with how to attribute MDN content in jQuery docs. FWIW dochub.io simply attributes in an About page: |
IANAL, but the explanation there is the one to follow: https://developer.mozilla.org/en-US/docs/MDN/About#Copyrights_and_licenses |
I understand how we can properly attribute the content properly. I just think it's a very important factor to consider. It complicates the licensing quite a bit, actually. Especially if the content gets stored in the repository and not just hosted on the site. |
Last comment in here was quite a while ago, so let me re-open this discussion. We should probably prioritise this issue a little, since we shouldn't maintain a section that will get replaced by other content soon. Currently more than 20 open issues are regarding this section. |
I would vote to use the power of the |
👍 to @dmethvin's comment |
If we offer tutorials in the "js 101" camp, then great - but as for technical resource and reference, 👍 to linking to MDN |
@danheberden Currently the articles are more likely structured as reference than tutorials. Except the My suggestion:
If you want, I can take that all this week. Keep in mind that would enable us to close a huge bunch of issues. |
Sounds like a good way to go then! 😈 |
sounds great to me, @arthurvr! |
👍 |
JQuery removed their javascript 101 section, I propose simply linking directly to where they suggest readers go for information, as seen in jquery/learn.jquery.com#257.
As we discussed in #117, maintaining our own JS 101 section adds overhead to our process and is duplicative of the MDN JavaScript and DOM resources. However, straight-up linking to MDN (from where?) without actually having basic JS/DOM content on our site to read at the time was an unappealing prospect. What we did not realise at the time is that there is an API for obtaining the content of MDN and using it elsewhere. This seems like a reasonable, nay... awesome, alternative than hosting and maintaining "our own" JS 101 reference and it seems that it would not be difficult to integrate hitting Kuma into our grunt build.
There are a few kinks to be discussed and ironed out, including but not limited to
In general, however, this does seem like a generally good idea and I'd like to discuss these sticky points further and then see if we can move forward.
(cc @codepo8)
The text was updated successfully, but these errors were encountered: