Jump to content

Extension talk:WolframAlphaWidgets

Add topic
From mediawiki.org
Latest comment: 14 years ago by Martyk in topic checked for security

checked for security

[edit]

Hello, how are the Wolfrma Alpha widgets checked for security? That is, if I turn on this extension, what sorts of javascript may it end up running when someone inserts a widget into a page? Is there a description of the scope of what widgets can do / what libraries they are limited to / any verification that takes place? Thanks, Sj 18:06, 14 September 2010 (UTC)Reply


The javascript emitted by the widgets is limited to a pre-defined template which is filled in by the widget author's choices of inputs and layout. All user input is sanitized and escaped using ESAPI standard methods. The widgets depend on jQuery, which is loaded dynamically as required. Martyk 18:06, 15 September 2010 (UTC)Reply
OK. Is there a list of available templates? Thanks for the examples below.
There is not a list, there is really just one template. The variations between widgets basically boil down to the form / input elements (the content) and how the results show up (lightbox / popup / in-line). Martyk 15:28, 22 September 2010 (UTC)Reply

Demo site; or suggest some widgets to try

[edit]

Could you suggest a characteristic set of 10 widgets to test out, to demonstrate the range of what widgets can do? Thanks, Sj 18:09, 14 September 2010 (UTC)Reply


Here is a list of example widgets. Fundamentally there is not much difference between any two widgets. There is an embedded web form and an iFrame to show results. The rest happens on our end. Martyk 18:28, 16 September 2010 (UTC)Reply
US State Economic Comparisons
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=1e20930364da4f6f53f118467c2648b9
Derivative Solver
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=c44e503833b64e9f27197a484f4257c0
Human Growth Chart
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=2f1e0f79bf8e30d846b3dc75b4a0f2cf
Quick calorie calculator
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=18b59ce1fd616d874afad0f44ba338d
Balancing Chemical Equations
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=e16e74a63567ecb44ade5c87002bb1d9
Market Capitalization
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=ea9acf4b03b798b780210a5b71983e06
Weather
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=160c88652d47d0be60bfbfed25111412
Heart Disease Risk
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=c2b11d93e55c5acfc93aa4234fa31936
Thermodynamic properties
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=25df35de87aa441b88f22a6c2a830a17
Find Anagrams
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=a69b829614f408e69f37f63235acebc8
Olympic performance
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=2ac2406e835bd49c70469acae337d292
Today's Tides
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=dabd8d2ce74e782c65a973ef76fd540b
Find an Object in the Sky
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=8ce6790cc6a94e65f17f908f462fae85
The Essential Kitchen Unit Converter
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=b197ffdef2ddc3308584dce7afa3661b
Line Constructor
http://developer.wolframalpha.com/widgets/gallery/view.jsp?id=b928fec5932bf2fddd2cc88c038b8ccb