Drupal SimpleSAMLphp Module Updated

The Drupal SimpleSAMLphp that I wrote long time ago, has been through updates from a large set of contributors. Now, I am happy to announce that the module has a dedicated maintainer, that have put great effort into updated the module for the latest version of both SimpleSAMLphp and Drupal.

He has made available two new packages for download: One for drupal 6.x and one for drupal 7.x.

The project is likely to move to drupal.org soon.

Thank you Steve Moitozo II for maintaining this open source project from now on…

If you are interested in the project there is an active community (mailinglist) with currently 24 members.

Migration to WordPress

I’ve ran rnd.feide.no on Drupal for 2-3 years now. While drupal is a very sophisticated platform with tons of features; for this particular site, it was basically an overkill. I’ve just converted the site back to WordPress which I used before I migrated to Drupal. The reasoning is to save some time maintaining this site, and focus mostly on content. The plugin API is somewhat simpler in WordPress, which allows me to extend the site without disturbing other work I’m focusing on.

If you miss some content, or find 404s, let me know.

I’ll probably fresh up the theme a bit sometime soon, and improve some of the contents (such as the attributelist).

Commenting on the blog entries should now work again (have been disabled for a while on the drupal site for various reasons). I’ll probably add OpenID login pretty soon.

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. I’ve been regularly user of Opera, OmniWeb, Camino, but now I mostly use Safari 4.

I use spotify for listening to music.

For e-mail I use Apple Mail and iPhone mail with IMAP. I use S/MIME and X.509 for signing and encryption of e-mail.

For calendaring I use Google Calendar. I use CalDAV between Google Calendar and Apple iCal. I also use CalDAV to my iPhone calendar. I use an iCalendar export together with some custom scripts to update our work calendar system.

To keep track of what needs to be done, I use remember the milk, and the RTM iPhone application. I’ve written some customized views using their web-services API.

I have a full incremental backup of my whole computer several times during a day with Apple TimeCapusle. As mentioned documents and code is also backed-up with revision history in Subversion. I also use Dropbox for file synchronisation with revision history, and for sharing files with my family, and for synchronising files for offline reading on my iPhone. I also maintain a cloned disk image using SuperDuper for minimizing the time to restore to being productive after a disk or computer crash.

I use flickr a lot to share photos. I use the flickr web-services API for some custom photo views and integration with other services. Most of the photos I shoot using Canon 5D + 50mm f/1.4. Other services that I use regularly includes Geni.com for Geneagoly, Google Docs Spreadsheet for echonomy, self-written app for budgetting, iZepto for hour tracking.

Drupal Update – Under Maintenance

I’m upgrading drupal from 5.12 to 6.X. This is a large update, and it will take me a couple of days to get back all the functionality. All the content should be readable now, but login, themes etc is not yet ready.

  • Update: Authentication should now work with OpenIdP and Feide.
  • Update 2: Attributes is back. Views2 rocks!
  • Update 3: Federations view is back.
  • Update 4: Federated software
  • Update 5: Updated theming with a new Drupal 6 theme.
  • Update 6: Improved UI on lists of attribute and federated software. Improve UI on attributes.

Searching for norwegian drupal sites

The norwegian government is reviewing all public norwegian web sites, and is ranking them based on criterias as availability and content. This alone did not interest me in particular, but I noticed that they are listing all public norwegian web sites in one HTML page.

As I have been working with the Drupal CMS, I decided to spend some minutes to write a web-scraping script to figure out which of them was using Drupal.

What I did was to grab the list page from norge.no, extracting the ID of all the items with regex. Then visit the detail page for every web site, where I found a link to the web site itself with a name. Then I visited the web site and looked for drupal-ish content like “sites/all“. I found two web sites:

Next, I did the same looking for “eZ Publish“, something that yielded many more hits:

./eZ Publishsearch.php 
............................
Site [NUPI - Norsk utenrikspolitisk institutt] is using eZ Publish: http://www.nupi.no/
..........................................................
Site [H?gskolen i Telemark] is using eZ Publish: http://www.hit.no/
......
Site [Universitetet i Agder] is using eZ Publish: http://www.uia.no/
............................................................
....................................................
Site [H?gskolen i Nord-Tr?ndelag] is using eZ Publish: http://www.hint.no
......
Site [Sokndal kommune] is using eZ Publish: http://www.sokndal.kommune.no
.........
Site [H?gskolen i Oslo] is using eZ Publish: http://www.hio.no/
........................................................................
Site [H?gskolen i Lillehammer] is using eZ Publish: http://www.hil.no/
............................................................
Site [Fiskeriforskning - Norsk institutt for fiskeri- og havbruksf] is using eZ Publish: http://www.fiskeriforskning.no/
.......................................................................
Site [Eigersund kommune] is using eZ Publish: http://www.eigersund.kommune.no/
...
Site [Midtre Gauldal kommune] is using eZ Publish: http://www.midtre-gauldal.kommune.no
...........................
Site [H?gskolen i Gj?vik] is using eZ Publish: http://www.hig.no/
...............
Site [Bjerkreim kommune] is using eZ Publish: http://www.bjerkreim.kommune.no
.........................................
Site [Lund kommune] is using eZ Publish: http://www.lund.kommune.no/
.............................................................
.............................................................
................................................

Markdown rocks

If you’re tired of XML and verbose markup languages, the best readable (and writable) markup language I’ve seen is Markdown.

I’ve started using it as input format for drupal, and I’m considering whether it could compete with docbook when it comes to writing technical documentation. What do you think? One big feature that markdown has over docbook is that it can be parsable in realtime (on web). Doing XSLT on docbook is really taking CPU and time.

I also would like it as a input format for Dokuwiki, but could not find any stable available module.

BTW: Textile looks terrible – I don’t understand it, do you?

Drupal upgraded to 5.12

I’ve updated drupal running rnd.feide.no to latest 5.x version, version 5.12. Let me know if you encounter any issues after the upgrade.

I will probably not upgrade to 6.x until early 2009.

The simpleSAMLphp login module actually seems to work better with 5.12. There was some issues with caching of the dynamic menu items (federated logout and login). Now, you will not see logout after you have successfully logged out. Good!

Drupal installation upgraded to 5.7

I’ve just upgraded the drupal installation running rnd.feide.no to version 5.7 (from 5.2). I had to perform a few fixes, and also did some updates to the theme.

If some links break, or the site is misbehaving by some other means, let me know.

Update: The theme update is tested in Safari and Firefox. Seems to be some minor issues with Opera. Not tested in IE.