Main > Diary > Development

« Hoysala Temple VI - Girl | Main | Hoysala Temple VI - Girl II »

July 5, 2005

A Day Off, Photoblog Improvements

Today, I added a number of improvements to the photoblog.

First of which is I am now paginating the photoblog archive using MTPaginate. I found this article very useful in setting up the template. I may tweak the formatting or the pagination division a bit in the future, but for now it is a vast improvement over having all of the entries (and images!) load onto a single page.

Second, I added a strip of photos to the bottom of every photoblog individual entry. This should hopefully encourage people to want to browse the collection a bit more.

There is a propensity in MT to overload the Body, Extended Body, & Excerpt fields in order to create web log entries that are not simple articles such as entries for a photoblog. Having only three fields, or "columns" if one were to view this as a loosely typed database, can put you in a sticky situation when it comes to marking up and presenting your data to the user in different presentation contexts.

As a result, I've found more than once that I've had to resort to using Javascript to reach into the DOM and tweak the markup that is stored in one of those fields to change a link, etc. when that field is presented to the user. What makes this approach even more kludgey and is that then you introduce a whole slew of compatibility problems that must be solved between IE and Firefox. Only the Apple heads know if my site looks even halfway decent on Safari.

Browser compatibility feedback would be much appreciated.

This is the last day of my four-day holiday weekend. No work, just recreation. Life is good when life is on vacation.

Posted by jordanh at July 5, 2005 2:07 PM

Trackback Pings

TrackBack URL for this entry:
http://jordan.husney.com/mt/mt-tb.cgi/102.

Comments

Post a comment




Remember Me?