Monthly Archives: November 2006

Thinking about CSS compression

Today I stumbled across a post comparing online CSS compression services. More mobile devices support more advanced CSS, so I got to thinking: how could we make mobile CSS work better in Skweezer? Currently it’s either “on” or “off.” I read over the PHP code in the recommended service (very nice!) and I see that it does the following:

  • Remove comments and whitepace
  • Optionally convert colors to hex values, and shorten hex values where appropriate
  • Remove zero measurements
  • Sorts the CSS and combines identical selectors
  • Combines properties
  • Combines or removes empty rules

Because Skweezer also mangles optimizes the original HTML as well, I was thinking that in addition to the above compression techniques, Skweezer has the latitude to do the following operations:

  • Remove all properties related to position or advanced CSS that phones can’t use
  • Detect and remove browser-specific CSS hacks
  • Compress the selector names themselves using a hex identifier
  • Embed the CSS in the page if short enough? Not sure on this one…

The death of the cellphone keypad, once again

Angry man on phone(Oops, forgot to post this. Moving from “draft” to “published”. Sigh…) One of my high school teachers once told me that he didn’t plan on teaching his son how to type because it would only be a year or two before we’d be interacting with computers by speech and they’d stop including keyboards. In his opinion, typing would shortly become a quaint anachronistic skill. Oh well for that.

The pull of the future is too great, and so for the jillionth time I read today in Slashdot how the cellphone keypad will be reinvented or replaced altogether.

Mobience, which is based in South Korea, has redesigned the ABC and Qwerty key layout, and come up with MobileQwerty. It’s essentially the same three-letters-per-key system as the standard mobile keypad layout, but the letters have been rearranged in a Qwertyesque way to increase efficiency. The other system developed by Nuance is a mobile speech platform that turns speech into text and replaces the keypad altogether.

The first is an incremental layout change, and the second seems as unlikely as my teacher’s Star-Trekian fantasy. I have an idea: what if you could speak directly into your cell phone and then your speech was converted into signals and then those signals were converted to speech on the other end and the listener could just listen to the words without reading them? That would be exactly what we have right now.

Next version of Skweezer: conversions!

I just realized an easy way to describe the next version of Skweezer: like this site, except for mobile devices. Seriously, this is very handy. Then of course there’s Zamzar, which is similar but has a nicer design. I wish I could figure out a way to use these services with Skweezer, but phones do not like the upload so much. It would have to be more transparent to the mobile browsing experience, and so it seems like we’ll have to dive into file conversion ourselves. Along those lines, I have not yet found a PDF to HTML converter that I like. Still looking.