527 Posts from 2005

Uncategorized

Alan’s Multipost Bookmarklet Tool

Go, Dog Go http://cogdogblog.com/code/marklet_maker.php About Previously I have described a JavaScript bookmarklet tool I wrote for myseld so I could submit websites to multiple tracking sites. Maybe you too want to be able to do a one click submit to send sites to places like Furl or del.icio.us at the same time. http://cogdogblog.com/code/marklet_maker.php Thus I […]

Blog Pile

Hey, That’s Us! (But are we in FL?)

The January 2005 issue of Campus Technology has a nice two spread on my employer, the Maricopa Community Colleges. In “Who We Are”, our IT Vice Chancellor outlines some of the big numbers about our big system (which is impressive), our recent successful .980 billion dollar bond election, and puts some prods into some areas […]

Blog Pile

Oh, those messy character encodings..

I recently wrote of some experiments to improved Feed2JS (see the updates fed to the site, bottom of the main page). Specifically, based on the request from a user in Germany, I attempted to change the output to encode content as UTF-8 using the new features on Magpie RSS 0.7. However, I have gotten an […]

Blog Pile

When Projects Rain, It Pours

Yes, what is with the weather? Even here in Arizona, the last two weeks have brought tremendous rain to the desert, doubling are average, flooding the dry washes. Up north, the mountain tops are getting snow by the foot. And this week, the projects here habe been coming down in torrential buckets (as opposed to […]

Blog Pile

Better MT-ing 3: All Your Archives Are Wrong

Getting back to our series on better blogging, on this one I make the bold contention (ducking tomatoes) that all (well most) weblog software packages create archives the wrong way. It is not that they cannot do it better, but for the most part, the out of the blox templates build archives the lazy way– just tossing old blog entries into one large, never ending scrolling sack.

What am I blabbing about?

Just about every blog software I have seen has nicely built systems for creating archives by date of previous writings. They organize them into links by month, day, etc. Some, like MovableType, allow user defined categories, so old entries can be grouped by any hierarchy.

But what happens, and what is wrong (in this dog’s opinion) is that the definition of an “archive” is just one long entry appended after another. If you write a lot, or create more than 40 articles in a category, it becomes almost a useless overweight to find old content that takes long to download (all pictures come with it too). It ends up being one of those big anvils that always skirts the Roadrunner and plops the Coyote (I was always more of a Wile E. Coyote fan myself, but that is another story).

But here is where it gets interesting blog heads- you do not have to accept it that way, you can roll up your sleeves, and modify your archive templates to do what makes more sense to me- publish a list of previous posts by title and abstract, with links to the full shebang.

In this edition, I aim to show you not only how to weave this magic in MovableType, but also in Blogger where I recently managed to achieve the same feat. I have to give credit to the Tweezer’s Edge, a blog where I noticed this first– if you can build a better archive, I think it makes you stand out from the crowd that is still limited to the default templates.

Blog Pile

Tinkering Again With Feed2JS – Help With Char Sets?

For those the care to feed, I have been doing more minor tweaks to Feed2JS, and inside you will find I use the very same to display the latest updates to that site, since it now has its own feed.

The main thing to look for (beyond coverups for my typos) was Seb Paquet’s suggestion to populate the hypertext links attached tp the feed item titles with the title= attribute set to a part of the item’s description. This is done, see the example below, so feeds could be generated with title only displays, but mouse overs on the links will reveal the first 150 chars of the item description (if your browser does that for title attributes on href links).

I do need some help as I have a request from someone who is asking that the output be able to support UTF-8 character encoding. My first attempt was merely to update this server as well as the default php.ini to use utf-8 as the default character set. I am CharSetIgnorarant– will that have adverse affects on other people? Also, it did not seem to help his site, which is all utf-8 encoded. So now I am thinking this is something in Magpie.. the 0.71 update is supposed to support different character encodings.

I’ll be diving in later.