Wiki Module for Drupal

As explained in Drupal Wiki I wrote my own drupal module to wrap PMWiki to give me a fairly rich wiki in my Drupal site.

Download the Wiki module HERE

To install the module

  • Unpack the module file in the modules folder of your Drupal installation.

Optical Flow Odometer

This project kicked off with the desire to have an easy way to measure distance travelled in a cave.

Handling Key Presses in Swing

Below are some notes on handling key presses (keyboard input) in Java.

Open Source

Here are some free/open source projects that I have developed.

Optical-Flow-Odometer - Measure distance from a video stream by adding a cheap laser pointer into the mix

Wiki Module for Drupal is a PMWiki modukle for Drupal

Survey Digitiser is an application to allow on-screen digitisation of scanned maps and plans

Musings

Here are some things that make me think, and some ill-informed musings.

I have a passing interest in art and philosophy and at the moment where I've got to is "Art is the mathematics of emotion"

Maths is an abstract way of representing a concept. By understanding the mathematical abstractions it is possible to exchange ideas about the world around us. There are many forms of mathematics, it covers a broad range of concepts. Similarly art is a way of conveying a feeling, emotion or range of feelings and emotions to another person.

 

Trips 2010

Trips in 2010

07/07/10SellGillHoles - Bit of a walk to a dry Sell Gill. After lots of faffing with rigging we made it all the way to the end
16/06/10PillarHoles - Long walk to an interesting shaft (3 shafts in fact) rigging a bit dubious but worthwhile non-the-less
16/06/10IllusionPot - A cracking trip, first time out for a few weeks due to a knackered shoulder and well worth it.

Drupal Wiki

Using Drupal as a Wiki

I decided to move my presonal site over to Drupal. The old site was partly manually created HTML and partly PMWiki. I liked PMWiki because it was fairly simple and worked well. One of the add-ons I used was syntax highlighting for code that I post. Having looked around at a few CMS's I decided Drupal was probably a good fit for my requirements, well coded, well supported and with more modules that I could shake a stick at.

So how to do a wiki with syntax highlighting in Drupal?

Java

Read an XML document

below is the basic Java DOM approach to reading an xml document (file) into memory

DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder;
Document doc;
try {
	docBuilder = docBuilderFactory.newDocumentBuilder();
	doc = docBuilder.parse (new File("FileName"));
}
catch (ParserConfigurationException e) {
	e.printStackTrace();
}
catch (SAXException e) {
	e.printStackTrace();
}
catch (IOException e) {
	e.printStackTrace();
}		

Syndicate content