W3C home > Mailing lists > Public > public-webplatform@w3.org > January 2014

Re: Attribution to MSDN on JavaScript pages

From: Max Polk <maxpolk@gmail.com>
Date: Sat, 25 Jan 2014 17:21:34 -0500
Message-ID: <52E438EE.8020905@gmail.com>
To: Eliot Graff <Eliot.Graff@microsoft.com>, PhistucK <phistuck@gmail.com>
CC: Eliezer Bernart <eliezer.bernart@gmail.com>, Julee Burdekin <jburdeki@adobe.com>, Doug Schepers <schepers@w3.org>, Renoir Boulanger <renoir@w3.org>, WebPlatform Public List <public-webplatform@w3.org>
PhistucK wrote:
> >>Adding the actual original article link is way better for imported 
> content. If it is possible, I strongly prefer it.

Eliot wrote:
> Unfortunately, I do not know if the URL for each data has been 
> preserved and can readily be imported (I don’t think they were; that 
> was the reason that the HTML, CSS, and other pages Microsoft donated 
> point to the Internet Explorer API Reference page).Hi Phistuck.

I discovered a scheme to obtain all the original urls for the JavaScript 
reference pages, but it will take a bit of time to get it to work just 
right.  Basically you have to do what the browser is doing when you 
click to expand the sections, except you do it from a script that 
pretends to expand each section one at a time, iterating and recursing 
over all the sections until there are no more children.  Then you map 
the titles and urls back to the page names we are using and correct the 
attribution section.  A somewhat larger effort but if it's good 
information maybe it's worth it.
Received on Saturday, 25 January 2014 22:22:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:57 UTC