Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  7] [ 5]  / answers: 1 / hits: 34252  / 13 Years ago, wed, february 29, 2012, 12:00:00

I am trying to make MDN's Javascript Reference available for offline browsing (personal use).

I am not the website's owner nor developer, and I can only access its generated output.



My first thought was to inject an HTML5 appcache.manifest in the page ; Using manifestR I have generated a list of the page's assets.

Then I've tried pointing to my local manifest file using the file:/// protocol, using the http:// protocol and finally using a base64 string, representing the file's contents (data:text/cache-manifest,). Nothing seems to work.



After googling a bit, I stumbled upon their public FTP. Haven't fully crawled it yet. But still didn't find any mentions of the js docs.







I have considered saving the HTML pages using the browser's Save As command; But I would rather develop a javascript-based crawler than saving every single page separately.




Where can I find an offline version of MDN Docs ? Or how can I browse MDN docs while being offline ?


More From » html

 Answers
1

Download it at https://mdn-downloads.s3-us-west-2.amazonaws.com/developer.mozilla.org.tar.gz



The Downloading content section of About MDN provides the above link (for a tarball download) along with guidance on other ways to access the MDN content, both as single pages and via third-party tools.



And others : don't mirror with wget & co, this is putting un-needed pressure on the website and hinders other users. At least make sure https://developer.mozilla.org/robots.txt (which asks for gentle throttling) is properly handled. Wget does not handle this for instance (http://savannah.gnu.org/bugs/?30999).


[#87137] Tuesday, February 28, 2012, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jabari

Total Points: 580
Total Questions: 85
Total Answers: 110

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
;