Friday, April 30, 2004

Creating custom 404 error pages

What should you take into account when you create custom 404 (Not Found) error pages?
That's the question I just asked myself and did some "Google Research".
I got lots of results how you have to configure Apache or IIS, but that's not what I'm interested in.

Here are some results which cover what I want to know:
* Useful "Page not found" error pages
* Implementing Sensible 404 Pages With Apache

Saturday, April 17, 2004

Java-based Argument Parsers

I just was in the need of an java-based argument parser.

That's what I found:
* JSAP (pretty active; seems to be the most advanced incl. usage generation, support for datatypes and Unix-style cascaded configuration files with default values)
* jcmdline (not as active as JSAP; aims for standardized commandline options, allows more sophisticated validations, displays usage and error messages)
* JArgs (not much active, very simplistic and easy to use)

It's hard to say which one is the best, since all suite different needs.
If you wonder, for my task I chose JSAP, but I'll keep an eye on all of them.

Update 2004-04-23:
Phil Wilson pointed me to one more:
* Apache Jakarta Commons CLI (seems to be similar in functionality and usage like JSAP)

Thursday, April 15, 2004

OutlookContacts2AdobePSA v0.5 released

The new version v0.5 of the macro which exports Outlook contacts to Adobe Photoshop Album 2 contacts can be found here:
http://stud4.tuwien.ac.at/~e9625392/psa/OutlookContacts2AdobePSA-0.5.zip

Changes:
* Use ALLUSERSPROFILE and APPDATA for parts of the initial contacts.xml location (thanks to DPX)
* Print error message, if folder for contacts.xml does not exist

Feedback is very appreciated!
Please go to the Adobe Photoshop Album forum at www.adobeforums.com and look for a thread with the subject "Tool: Import Outlook Contacts into PSA2" for this task.

Wednesday, April 14, 2004

OutlookContacts2AdobePSA v0.3 released

Here's the version v0.3 of the macro which exports Outlook contacts to Adobe Photoshop Album 2 contacts:
http://stud4.tuwien.ac.at/~e9625392/psa/OutlookContacts2AdobePSA-0.3.zip

Changes:
* Fixed handling of empty names (thanks to Alexander)
* Fixed bug when backup is chosen and original file does not exist

Feedback (especially from other PSA language versions than german) is very appreciated!
Please go to the Adobe Photoshop Album forum at www.adobeforums.com and look for a thread with the subject "Tool: Import Outlook Contacts into PSA2" for this task.

Tuesday, April 13, 2004

OutlookContacts2AdobePSA v0.2 released

Here's the new version (v0.2) of my little software which exports Outlook contacts to Adobe Photoshop Album 2 contacts:
http://stud4.tuwien.ac.at/~e9625392/psa/OutlookContacts2AdobePSA-0.2.zip

Changes:
* A GUI which allows you to set some options
* Optionally ignore entries without email address
* Optionally ignore entries without name
* Change location of contact file (unfortunately a file dialog is not supported from within Outlook - help is very appreciated!)
* Change encoding format of XML file (for other languages)
* Optionally make a backup of the existing contacts.xml file
* Fixed bug in generated XML format

Feedback (especially from other PSA language versions than german) is very appreciated!
Please go to the Adobe Photoshop Album forum at www.adobeforums.com and look for a thread with the subject "Tool: Import Outlook Contacts into PSA2" for this task.

Thursday, April 01, 2004

Groovy : a powerful dynamic for the Java Platform

Groovy really seems to be a promising new agile dynamic language for the JVM.
You don't know how simple programming can be if you don't have a look at the syntax of Groovy.