Kottke on WALL•E ¬

2008-07-02

Jason Kottke’s observations and feelings about Pixar’s WALL•E mirror my own. Especially this:

With it, Andrew Stanton joins Brad Bird in Pixar’s top tier of directors, with the much-heralded John Lasseter in third place.

It’s an absolutely stunning movie. Truth be told, we went back two additional times during opening weekend to see it.

Introducing the mta_sanitize Textpattern Plug-in ¬

2008-06-30

I was running into a small issue on a project that I’ve been developing with the Textpattern CMS: I couldn’t find a tag to convert a title to a “URL-only title” like the Write tab on the admin side does for you. Textpattern has a built-in function named sanitizeForUrl() which provides this functionality, but no way to get that from the template system.

After looking for a tag that does this, I quickly whipped up a new plug-in: mta_sanitize.

When would you likely use this? Usually to assist in building links.

In my case, I needed to build a link in the form of “http://domain.tld/section/persons-name/” where the person’s name (first & last; properly capitalized) was stored in a custom field. The person’s name would be shown in one article, but needed to link to another article with more details.

I could’ve provided a link to the person’s detail article, but then I would’ve had to find a unique way to look up the article’s title using only the URL, title, or ID. I felt it’d be more flexible to store the name in a human readable format which wouldn’t require additional database lookups to display and so that left converting the name to a URL-friendly format. What better way than to use the same method that Textpattern already uses to convert titles to URL-friendly format?

With mta_sanitize installed, here’s an example of how I would build a link to a person’s detail article:

<a href="<txp:site_url />/section/<txp:mta_sanitize><txp:custom_field name="Person" /></txp:mta_sanitize>/"><txp:custom_field name="Person" /></a>

Which would result in the following HTML (assuming the “Person” custom field were populated with “John Doe”):

<a href="domain.tld/section/john-doe/">John Doe</a>

Hopefully others will find this useful. If you have any questions, comments, or feature requests, please drop me a line.

Create a Kick Ass Intranet App using 37signals ¬

2008-06-27

Travis Vocino on using Backpack, Basecamp, and Highrise in a site-specific browser as an intranet:

Just using them is fine but, as usual, I like to take it one step further into better integration with my desktop workflow. That’s where OpenID and Fluid.app come in.

I’ve been using this method for a little over a month and it’s a breath of fresh air.

[Via 37signals]

Google Trends for Websites ¬

2008-06-27

It appears that, along with some other nice updates to Google Trends, they’ve added support for comparing web sites by top level domain name.

Some trends to watch:

apple.com vs. mac.com vs. me.com

textpattern.com vs. expressionengine.com vs. wordpress.com

[Via AURUM3 NewTech]

Update: Link updated from the Google Trends blog to the Google Webmaster Central blog which has the specifics on this particular new feature.

WALL•E ¬

2008-06-27

Today is opening day for Pixar’s latest. Emily bought the first tickets of the day at The Palace 9.

ExpressionEngine vs. Textpattern ¬

2008-06-27

Jon Hicks on how my favorite CMS compares to an actual contender:

I’ve been badgered with the question “Which one should I use: Textpattern or Expression Engine?”. This post is to try and answer that[…]

[Via Daring Fireball]

Coming Textpattern Tag Parser Features ¬

2008-06-24

Textpattern has an amazingly flexible system of templates, forms, and plug-ins, but the next version (4.0.7) will improve it’s XML-based tag parser many times over.

The improvements to nested tag parsing will be a nice step up, but the attribute value parsing, esp. the ability to put Textpattern tags within attributes for function-like—well—functionality, will be quite a leap. Currently asy_wondertag provides the ability to parse tags within Textpattern tag attributes, but the other fixes will make this really shine.