Blogs

New Interface for OpenWiki Management

I’ve updated the user interface of OpenWiki administration, and added a new view listing wikis that other administer but you have been granted write permission to.

There has been a lot of feature requests for this.

How I work - the tools

I use a 15-inch MacBook Pro and an iPhone.

To keep track of code I use Subversion and Google Code. I write code in TextMate and occationally use BBedit, in particular I use BBedit for diff-ing. I use Transmit for editing files over SFTP/SSH.

I never write documents in Microsoft Office nor OpenOffice. I started out with LaTeX, threw that away for OASIS DocBook. And recently I’ve threw away DocBook for something as simple as Markdown. All documents is stored in Subversion and I have written web-frontends that automatically updates and presents the latest version, such as http://rnd.feide.no and http://simplesamlphp.org. I’ve written scripts to automatically create table of contents, anchored headers and section numbers.

Everything I write (more or less) is publicly accessible both through the web-frontends and through a publicly available subversion repository. I try to avoid using wikis.

To follow blogs and news I use Google Reader and RSS. My blog http://rnd.feide.no is currently running on drupal. It is to heavy-weight for my use, and I will downgrade back to Wordpress whenever I have time.

I use 1Password to keep track of passwords, serials and other secret stuff.

New SimpleSAMLphp Documentation Site

I’m happy to announce that today we are launching a new documentation site for SimpleSAMLphp.

This page will also hold a future version of the simpleSAMLphp home page.

If you want to link to the documentation index of the latest stable release of simplesamlphp; use this link:

Most of the old documentation is linked correctly over to the new portal. If you encounter some links on rnd.feide.no that is not redirecting; let me know, and I’ll fix it.

Notice that documentation is now proper versioned; which means that you will be able to view all documents in revision 1.4, 1.5 and trunk, and easily switch between the revisions on a list on the upper right.

The search field is not yet working; we are waiting for google to index the new site. It should automatically start working in days or hours. We are using google custom search.

The new site should be snappy; I’m sorry for the inconvenience of the sluggish old site.

The new site is probably full of bugs; if you encounter some let me know.

The new site is automatically updated from subversion once an hour.

Identity Provider in a box

SurfNet has created a easy to setup virtual image of a SimpleSAMLphp Identity Provider, with a webbased UI configuration frontend.

arnes has a SimpleSAMLphp in a box solution as well (with eduroam support):

SimpleSAMLphp Release Plan

  • Accepted Not yet started
  • Started Work in progress
  • Fixed Completed

Release 1.6 (February 2010)

Release 1.7 (May 2010)

Release 2.0 (Late 2010)

HTML Table of Contents with PHP

Just in case you need a code sniplet to extract table of contents out of HTML:


function tocr(&$s, $level = 1) {
	$headersOnLevel = array();
	$previous = NULL;
	while(!empty($s) && $s[0][1] >= $level ) {

		if ($s[0][1] == $level) {
			$headersOnLevel[$s[0][2]] = NULL;
			array_shift($s);
		} else {
			$headersOnLevel[reset(array_reverse(array_keys($headersOnLevel)))] = tocr(&$s, $level+1);
		}

	}
	return $headersOnLevel;			
}

function tocprint($toc) {
	$html = '<ul>';
	foreach($toc AS $header => $children) {
		$html .= '<li>' . $header;		
		if (is_array($children)) $html .= tocprint($children);
		$html .= '</li>';
	}
	$html .= '</ul>';
	return $html;
}

function toc($html) {
	preg_match_all('|<h([1-6])[^>]*>(.*)</h[1-6]>|m', $html, $matches, PREG_SET_ORDER);	
	$toc = tocr($matches);
	return tocprint($toc);
}

Connecting to the Feide RnD SVN Repository using Versions

Click to add a repository:

Fill in this url:

  • https://svn.rnd.feide.no/docs/trunk/geant

and then type in your username and password from Feide OpenIdP. Your username on the short form, like ‘andreas’.

Then click on the GÉANT bookmark in the left pane, next click on the first line on the right pane, and then click Checkout button.

Find a suitable place for your work copy, in example inside your Documents folder:

And you now have a working work copy:

Now, you may add files, edit files.

  • To update others changes into your working copy: click Update.
  • To provide your changes back to the repository (for others): click Commit.

Foodle Becomes Success In Germany

The german research network, DFN (Deutschen Forschungsnetz), has deployed a customized version of the Foodle software and made it available to german students and other users. Its use is rapidly increasing and it is considered a great success.

SimpleSAMLphp 1.5 released

SimpleSAMLphp version 1.5 is now available.

Foodle Now Includes Discussion

Foodle now got a new feature! Discussion shows up as a separate tab on each Foodle page. Can be used to discuss the agenda of meetings etc.