Converting Web Slices to RSS

In writing, IE8 are just around the corner. One new features in IE8 which draws a lot of attention, if we listen to the IE team, is the Web Slices feature. I will not discuss if this will be useful for IE users or not, but when looking into the technology I did suddenly remember an old xslt published by our friends over at W3C. More specifically the xhtml to RSS xslt and it just hit me that Web Slices can be to great help in converting a web page into a RSS or ATOM feed.

Read More

Moving a script? IE might hit you twice!

I have seen a lot of strange browser bugs during the years, but I think this one is one of the strangest. This bug is related to IE6 and IE7 only and occurs when a script tag linking to an external JavaScript file is moved on a page and the content of the external JavaScript file is of an certain nature. This condition can make IE6 and IE7 hit the server twice instead of one.

Read More

Coyote - an Roller theme

The Coyote theme When I started this blog I choose the Apache Roller blog application as back end. A couple of years ago I had the pleasure of evaluating several blog solutions for my employee and the Apache Roller blog did stand out in its architecture already then and now it's even more solid and flexible. It's easy to install, it's secure, it has a good architecture and it does scale (not that I think this blog will be that popular).

But, as all applications there are always small issues which you do not agree with or which are not working quite the way you would like it to. I was not perfectly happy with the default templates shipped with Roller so I ended up with creating my own template for Roller. This became the Coyote theme which you find here.

Read More

How to fix & when xslt outputs html

Producing html from an xml source with xslt should be an plain and simple process but this is not always the case. The escaping of the & entity can in some situations create major headache and when it comes to the Java world it seems like & like to turn itself into unescaped & inside href attributes when xslt is set to html as output method.

This problem can look like it's rooted in the xslt, in the source xml, in the application server and all different kind of places. But, the true problem is buried deep down in Java.

Read More

Structure your site and get a menu for free

Illustration of menu

A well structured site will in many cases give a lot of goodies for free. A good structure are good for user interaction, it's good SEO and there are bucket loads of examples where a clean and well structured site are an benefit in the back end. In this example I'll explain how a good structure can result in an menu almost for free.

Read More