frjo's archive June 2009

Running Lighttpd as a static file server for Drupal 6 on a Debian GNU/Linux server

Lighttpd web serverI found Robert Douglass article Using Lighttpd as a static file server for Drupal and thought it would be interesting to try out. Check also out the Lighttpd home page (pron. lighty).

There are two main reasons for using a separate server for static files. The first is to offload the main server, e.g. Apache with mod_php, letting it only handle the dynamic requests. The second is to allow browsers to download files in parallel and without the overhead of cookies etc.

After I implemented the static file server Yslow gives xdeb.org Grade A with a score of 90.

The Loudness War kills my music interest

Little Boots BBC Sound of 2009 winnerThe record labels want their music to stand out, i.e be louder than others. They do it by compressing the dynamics of the music. It is called “The Loudness War”.

I stumbled upon BBC Sound of 2009 winner Little Boots on the BBC web site some month ago. I downloaded two BBC videos (MPEG4 and AAC 128 Kbit soundtrack) with live performance of “Meddle” and “Stuck on repeat”. Very good and interesting music!

I took the soundtracks from the videos and listen to them a lot. The sound quality was surprisingly good, the BBC has people who knows what they are doing. I was looking forward to Little Boots first album.

A couple of weeks ago I bought the album “Hands” and it’s quite good but I’m sorry to say that it sounds like crap. “Meddle” and “Stuck on repeat” are on the album but sounds nothing like the nice BBC recordings.

How to set up Apache Solr search for Drupal 6 on a Debian GNU/Linux server

Apache Solr SearchAt DrupalCamp Stockholm 2009 Robert Douglass from Acquia talked about Drupal with Apache Solr search. Solr takes searching in Drupal a huge step forward. Speed and faceted search on author/type/term/language/date/CCK fields are the main features. A “Did you mean …” function is there also and it works surprisingly well.

There are also some really interesting things coming like multi site searching, dokument searching and searching of external non Drupal sites.

Drupal.org is already using Apache Solr search. Search for Sweden there and I’m the top result! http://drupal.org/search/apachesolr_search/sweden

When you search on Drupal.org or here on xdeb.org check out the blocks at the side of the search result page. They let you sort the result and filter it by author, node type and taxonomy terms. This is faceted search.

For people who don’t want to set up and maintain there own Apache Solr search Acquia has the service Acquia Search with a 30 day trial.

If you still here and want to know how to set up Apache Solr for Drupal 6 on a Debian GNU/Linux server here follows how I did it.

DrupalCamp Stockholm 2009

DrupalCamp Stockholm 2009Fredag och lördag var jag på DrupalCamp i Stockholm. Dag 1 var för beslutsfattare och dag 2 för utvecklare. Dag 3 hölls ett dokument-sprint i NodeOne lokaler i Gamla Stan under ledning av Addison Berry (Drupal documentation team lead) och Johan Falk.

Det var fulltecknat flera veckor i förväg så det fanns verkligen ett uppdämt behov. Drupal är hett! Genomgående mycket hög kvalité på föreläsningarna. Mest intressant för mig var Robert Douglass presentation om Apache Solr search som jag skriver mer om i en senare blog.

Denna DrupalCamp arrangerades av NodeOne och Dataföreningen. Dataföreningen har himla trevliga lokaler mitt emot Centalstationen upptäckte jag. Har arbetat med dem i ett par år för att bygga alla deras webb-platser i Drupal men aldrig varit till dessa lokaler förut.

Läs mer på: