You can perhaps find some "ideas" in this discussion. Note that I have never published that node... Bart