WikiLink` package

From Knot Atlas
Revision as of 09:11, 24 August 2005 by Scott (talk | contribs)
Jump to navigationJump to search

Scott has written a small package to facilitate wiki-editing programmatically through Mathematica. It can post and retrieve pages (just the current revision), and supports mediawiki user accounts, so is suitable for building a bot.

The package requires a version of Mathematica with J/Link (4.2 and above should do). Download the package here. You'll need to unzip the file somewhere, then open `package-test.nb' in Mathematica. Change the first line to point to the path you unzip the file to, and execute all the lines to see how the package works.

The code is available under your choice of either the MIT or GPL license, copyright Scott Morrison 2005. Source code is available directly through the wiki, at MediawikiConnection.java, MediawikiConnectionPool.java and WikiLink.m. The java component requires (and includes) the JDOM packages, and Apache's httpclient packages, both of which are available under Apache style licenses.