Extract img url links from HTML document

I needed to find and get a webpage’s img src url links. I wanted to do this with a script on a regular basis. The solution I found was to use PHP domdocument: http://stackoverflow.com/questions/138313/how-to-extract-img-src-title-and-alt-from-html-using-php

After spending some time using wget, cat, grep and so on to solve my problem, this little php code made …

ldapsearch users and places that contains æ, ø and å

We needed to collect “Place” information per user from our LDAP server. The problem was that the description of the “Place” came out strangely encoded whenever it contained one of the norwegian characters æ,ø or å. The ldap command: ldapsearch -x -H ldap://ourldapserver.uib.no x121Address=XXXXXX where XXXXXX is the “place” code, gave a place description that …