Well, “anything” is loosely termed. I run about 6 different MediaWiki sites for the NMC, and I have to remind myself alot that the software is a huge black box (it works super) and I am pretty sure the things I have done tap maybe 8% of what it is capable of doing. One of the limits is the kind of content you can put in the editing pane. Sure you can add additional tags you want to allow, but even a security lazy bum like me is not interesting in allowing any person to add <script> tags in there. Danger, Danger, MediaWiki Robinson! So in prepping some new things for the wiki that we have reset for the 2009 NMC Horizon Project– we don’t delete the old stuff or hide them in edits; each year I migrate content to its own namespace, e.g. http://horizon.nmc.org/wiki/Horizon2007:Main_Page and http://horizon.nmc.org/wiki/Horizon2008:Main_Page. I’d like to [...]
CogBlogged Tagged ‘code’
Give and the Nets Giveth Back
Oh yeah, it does pay to give stuff away! Or at least to put half baked ideas “out there”. After just posting late last night about my crude 5 card flickr story demo I lamented the problems in code I had in easily getting random flickr photos from a given tag, John Krutsch emailed and offered some code to do what I needed more elegantly. I was going through gyrations to pull photos from an RSS feed, which meant I could only grab newer pix; John’s code scavenges all the photos by cleverly parsing the results of the flickr search results. I plunked in all his code and got all of the duct tape in place and was stunned that I did not have my usual round of 20 PHP typos in a row. It did work as advertised, though I notice every time it had to do the search, [...]




