Daily Archives: October 13, 2004

A Workshops Worth

Are photographic workshops fun? I’ve never been on one, but I’d like to. I’d think twice about Iceland however (and then go anyway!).. The author has some beautiful images to go along with his essay.

Why does one attend a workshop? To learn. To share. To experience. To be fired and inspired. To be criticized and accept it and grow in one’s art from it. To change.

The Digital Journalist – October Issue

The October issue of The Digital Journalist is out, and probably has been for a few days. This issue has a tribute to Eddie James and a humorous look at 2004 that finishes with a very good idea ..

Jeez … If you’re an old, famous, iconic, white, male photographer, then 2004 may not have been your year…. What the heck is going on? It seems like the photographers I grew up admiring are dropping like flies this year.

Counting Hits and Referers – now there's two ways

b2++ and WPMU have long been able to record hits and referers. Now you can do it in two different ways!
The original way to record hits in WPMU was by adding this code to your index.html template:

{insert name='getreferer'}

but if you’re not sure that the web page is refreshed every time your blog is loaded you can insert the following html instead:

<script type="text/javascript" language="JavaScript1.2" src="{$siteurl}/wp-counter.php"></script>
<noscript>
<img src="{$siteurl}/wp-counter.php?page=img&loc={$smarty.server.SERVER_NAME}/{$smarty.server.REQUEST_URI}" alt="Stat Counter" border=0>
</noscript>

As usual, replace the quotes in the code above with regular shift-2 characters.

Here’s what the referers listing looks like in your backend:

Apache ForceType application/x-httpd-php and PHP CGI

To display “static” pages here I use the Apache “ForceType” directive so that all requests to /pages/something get processed by a php file called “pages”. Unfortunately that doesn’t work as easily when PHP is running as a CGI.
I found a possible solution in this Textpattern forum thread. Not sure if you can put “ScriptAlias” into a .htaccess file. I just checked and no, you can’t. That limits the usefulness of this solution dramatically!
Here’s how to use PATHINFO to create search engine friendly URLs. Again, it uses the ForceType idea.
Looks like it’s worth perceivering with mod_rewrite after all!

Mozilla/Firefox Stuff

The PRGoogleBar adds page rank to the Google Bar for Mozilla, another reason not to use IE!
The Mozile inline editor looks promising. It allows one to edit xhtml documents within a web page in a WYSIWYG way. It might help to style the containing DIV a little so it actually looks like an editor however.
Here’s a nasty spoof to try in Mozilla or Firefox. It may not work in FF PR1 but in earlier browsers it’ll display a Paypal login screen that looks very authentic!