Hey Jörn, I definitely agree that having a quick and easy way to convert our metadata over into OA format is a good thing. We'll need to add categories, options, and examples, and try to get them to add that to their spec. I'll ping Jon in the next day or two to try and get the ball rolling.
-- Yehuda On Mon, Oct 6, 2008 at 3:56 PM, Jörn Zaefferer < [EMAIL PROTECTED]> wrote: > Hi, > > I've implemented the first version of an xsl stylesheet that converts > our wiki-export-xml to the OpenAjax Metadata > ( > http://www.openajax.org/member/wiki/OpenAjax_Metadata_Specification_API_Metadata > ). > So far it covers the "constructors", fields and methods of the jQuery > "class" - unfortunately thats the element names to work with. > > If you wonder why we should bother with that: Odds are good that > various IDEs will support that format, eg. Visual Studio and Aptana. > If other libraries adopt it as well, we should see much better IDE > support for both jQuery and others in the future, which certainly is a > good thing to have. It would also be nice to reuse various API > browsers to display our documentation, without having to (re)write the > browsers ourselve. > > I've commited the files here: > http://jqueryjs.googlecode.com/svn/trunk/tools/openAjaxMetadata/ > The resulting xml file is here: > > http://jqueryjs.googlecode.com/svn/trunk/tools/openAjaxMetadata/result/index.xml > (Also at http://dev.jquery.com/view/trunk/tools/openAjaxMetadata - > though not there yet at the time of writing) > > In addition to the stuff in the spec, I've added the options element > to the parameter element (here for jQuery.ajax and animate). Examples > are also included, with the desc-element renamed to description, but > otherwise the same content (css, html, code). > Options are actually part of the spec, but with different semantics: > > http://www.openajax.org/member/wiki/OpenAjax_Metadata_Specification_Datatypes#.3Coptions.3E > > I'm not sure yet how to proceed to get them to include the necessary > elements - I'll propably contact Jon Ferraiolo. I talked with him > about it already at the Ajax Experience. > > Feedback or help is welcome! > > Jörn > > > > -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
