Challenge: wolframalpha plugin to display stats
Hey, here is another challenge. I would like to give the content of a wiki page as an input to wolframalpha and have it display the graph wolframalpha produces displayed on the wiki page. Is the corresponding plugin capable of that?
Application: Let wolframalpha plot our statistics. If a better format to put the numbers in makes this task easier we can adapt to that. Here a sample link on what I think could be called as wolframalpha function
A very useful application, graph.tk, has API we can use to implement graphs easily using LaTeX. Unlike WolframAlpha, it's open source so we can use it basically how we like.
http://graph.tk/about/api.html
However, this involves iframes, which can be implemented with the iframe widget: http://www.mediawikiwidgets.org/Iframe
Good find, looks interesting. I was just pointing to wolframalpha because I know it can be embedded into this wiki (see http://wiki.ubc.ca/Help:Widgets/WolframAlpha and http://products.wolframalpha.com/api/). Either way, is there a toy example on how we could get graph.tk to display anything in the wiki?
Not until we get the admin to install the iframe module. One thing that's not good about graph.tk is that it can't plot points...
I found a graphing widget, but if it's not good enough we can make our ourselves; it isn't too hard: {{#widget:WolframAlpha|id=45a99effbf17c0286917f132ab9d3595}}
Aehm, does your graphing widget plot equations? http://www.wolframalpha.com/widgets/view.jsp?id=45a99effbf17c0286917f132ab9d3595 Next steps: Embed it in the user statistics page, and make it read input from that page. Too bad graph.tk can't do points :(
Both can plot equations. Integrating the WolframAlpha one will be a bit hard though because the MediaWiki widget doesn't allow other input parameters.
Before we reinvent the wheel, what about asking the wiki team what statistics they could offer us. They might have a lot already ready to go.