Daily Archives: October 18, 2004

Feelings from the (Apache) Forrest!

In my search for generating project documentation I have reached a forrest (thanks to an anonymous suggestion). Right now, I am returning from some 2 hours wandering in the forrest… Apache Forrest. The walk seemed interesting, with fresh air (other types of site organization and skins) and with the trees and flowers I like all over (xdoc based documentation source, Ant based process, XSL transformations). But, unfortunatelly not completely relaxing. After figuring out the paths, I have tried to customize my way (customize the site look), but with no real success. Much of the indicators (custom properties – like colors, headers) are in place but are pointing to dead-ends (the corresponding XSL fragments are either not working or they are missing completely). I sat for a moment in the first clearing I have found and I was thinking that with all this beauties around maybe it would be great to continue. I just came out for a moment to tell you that I am not yet lost!
This was my first metaphoric walk in the Apache Forrest. I will go deeper into its XSLTs and I will be back with a more technical description. Maybe I will try some more uptodate version (even if it is a night build).

Generating documentation series:

PS:I hope that by now you have already realized that I am far away from a web developer so for me hacking into html, css and alike is unfortunately quite a killer.


Leave a comment

Filed under Tools

Firefox hack

For about 2 years I have become an unusual Windows user – at least some may consider this, cause I was not using IE and Outlook anymore (damn, I must confess that from time to time I fire IE to visit Flash enabled pages and to print some pages – it still renders better). So, I was using Mozilla suite for a long time – yep everything from Mozilla worked oke with me (browser, mail client, etc). I have tried from time to time Firefox and also Thunderbird (I still think this last little brother doesn’t equal the Mozilla Mail features, but it will). Uptill version 1.0PR I have found big problems using Firefox, but the last preview release touched my heart, convincing me to give it an extensive chance. So here I am using Firefox as my default system browser and Mozilla Mail as my default mail client.
From time to time – as I always have liked to have things happening exactly as I expected on my computer – I had to go deeper in the confs of Mozilla and Firefox (I have posted here some other tricks). After moving to Firefox PR1.0 I have experienced some problems with the handling of mailto URIs. Even if Mozilla Mail is my system default mail client, Firefox kept fireing Outlook – and surely I don’t like this.
I have scanned the available infos and I have found that even if Mozilla registers correctly as the system mail client it doesn’t correctly register for handling mailto URIs. The suggested solution was to change the file type association of (none) URI mailto to Mozilla Mail client. Unfortunately this doesn’t work as the suggested:

mozilla -mail %1

which in fact is translated to

mozilla -mail mailto=mail_address,subject=mail_subject

doesn’t really trigger a new mail composer. Continuing to search through Mozilla documentation I have found out that the correct command line should look like:

mozilla -compose to=mail_address,subject=mail_subject

At this point it may seem that there is no solution as the URIs parameter is mailto (which in fact should be to).
But wait! I don’t give up so easy. Searching again I have found a Mozilla/Firefox mozex plugin which allows some external programs configuration. In the documentation page is said there is no need to configure mozex as long as you already did the previous trick. Unfortunately again, this didn’t work. Something else that haven’t work at this step was the mozex preference page in Firefox, and so I had to install it under Mozilla (where the preferences are in place) and go to the trick a like most about:config. From there I have extracted the mozex preference keys. Armed with these I go back to Firefox and using again about:config I have set

mozex.command.mailer mozilla -compose to=%a,subject=%s

and …. TA DAAAA: now it works. Even if this full configuration took me a while I think it’s worth it: I have my things doing back what I expect.

Mozilla/Firefox related posts

Leave a comment

Filed under Tools