W3C home > Mailing lists > Public > public-webplatform@w3.org > May 2013

AW: DOM API docs move script

From: David Kirstein <frozenice@frozenice.de>
Date: Thu, 2 May 2013 14:10:03 +0200
To: "'Scott Rowe'" <scottrowe@google.com>, <public-webplatform@w3.org>
Message-ID: <02db01ce472d$fa97b5f0$efc721d0$@frozenice.de>
Certainly, good sir! I'll take a look at it maybe this evening or so.


I'm currently working on another thing for the wiki, so I want to finish
that first, preferably. ;)




Von: Scott Rowe [mailto:scottrowe@google.com] 
Gesendet: Donnerstag, 2. Mai 2013 03:06
An: public-webplatform@w3.org; David Kirstein
Betreff: DOM API docs move script


We need someone to build and execute a script that will move the DOM API
pages into their proper organization.


Lemme splain [1]:


The good news is that most of the 1,129 pages in the dom namespace already
have an attribute that describes their preferred location, and this could be
used in a script to move them to that location. The attribute is the Applies
to field, which is a parameter of the API_Object_Method, and
API_Object_Property templates. The value is consistently the object to which
the method or property belongs. We want methods and properties under their
objects (i.e. dom/Element/error). 


The bad news is that we also need to update the pages that link to these
pages with the new location in the link since we want to avoid creating a
huge pile of redirects. So the script/bot would need to update those pages
that link to dom pages.


We need some sort of bot/script that performs these tasks. I've scoped and
outlined the work involved in WPD:Projects/DOM_API_docs [2]. The pseudocode
for the script is there, too.


frozenice: would you be available to whip up a script to accomplish this?





[1] http://www.youtube.com/watch?v=yokQ0_8__ts




Received on Thursday, 2 May 2013 12:10:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:13:48 UTC