Casper: A Ghost-like WordPress theme

Today I am releasing an early version of my new WordPress theme, Casper.

Casper is a direct port of the Ghost blogging platform default theme by the same name. It is a gorgeously simple, one column theme that transitions nicely to mobile devices. The idea behind this project was to emulate the original theme exactly, then work to add features exclusive to WordPress. So far the theme supports media-specific image loading via responsive-img.js, a single widget area above the footer, a social icons section, and many options available through the WordPress customizer.

View Casper  on GitHub

The x-webkit-speech Input Attribute

Google is always at the bleeding edge of web development standards, so it’s not surprising that voice recognition capabilities are turned on by default in all new versions of their Chrome browser. Web developers can take advantage of it today with the x-webkit-speech input attribute. Just add it to any text input like so:

<code><input type="text" x-webkit-speech />

and visitors to your page using Chrome will be presented with an extra microphone button in the search box.

Right now this is a Chrome-only feature but likely will become supported by all popular browsers over time.

View Demo

FlashPress Beta 1

This post marks the birthing of my text editor/WordPress blog editor (it also works somewhat with other blogs). This blog has been created with it, and I will continue to use it for the majority of my posts. The reason I began to create it was that my MySQL server began acting up and would take half an hour just to log in. Using the xml-rpc format, I was able to bypass everything, so that there is no login time, and posting takes a few seconds. No page refreshes means no waiting.

This is created entirely from scratch. although the macromedia components came in handy. The text editor is based off of an open-source flash, obedit. I had to create a method to parse the html output from an html text box into standard Xhtml. After logging in, you are able to edit or delete an existing post, or create a new one. A quick editor allows for changing text in a post without delay, or the true text editor allows for formating.

Some bugs: The Html format adds a new div for every line, unneccessary, but not noticable in the final product; Loading posts to edit loads the html, not just the text. I will create a parse method for this soon. I will also create a “cookie” to save username/password. This will be updated, but only to fix the glitches. I am also thinking of adding a spell-check like that of obedit.

Update: Flashpress, my made-from-scratch blog editor, is in it’s 0.2 beta version. With tweaks and bug fixes, it is becoming more and more stable. It has the potential for a lot of uses, the source could be adapted into such things as a spell check, a word processor, a person-to-person chat, or an all out HTML editor. It now supports basic images, along with mild bug fixes to solve formatting problems.

Adobe Flex 2.0 Beta 2 Release

Adobe, since acquiring Macromedia (makers of flash), has been sitting idly, keeping to themselves for a good bit of time. Now they have released Flex 2 beta 2. Flex is a language that is written in MXML, but compiled into SWF files. It is used to build quick, easy, and rich interfaces. It’s script library is enormous, containing the new Actionscript 3 Library and includes API processors for many frequently used web searches. To a flash programmer, Flex is almost cheating, it’s ease of using scripts is astounding. If you have knowledge or interest, you can download Flex here. I have yet to create my first program.
Update: Began messing around with Flex, and it is astonishingly easy to build all kinds of beautiful programs and displays. The big difference in Flash and Flex is the way these things are accomplished and how they are used. To show an XML spreadsheet in Flash, you must create a function to process the data, store everything to variables and then to arrays, then use a component or premade viewer to show your data, let alone letting you search, edit, sort, and organize any of it. Flex accomplishes this beautifully with a few lines of xml code.

No Excuse Not To Have A Mac

Windows users, your time is gone. The Macintosh BootCamp beta was released today, eliminating any reason to keep a faulty PC around. BootCamp allows any intel Mac running 10.4.6 or over install and run the WindowsXP operating system, separate from OSX, on the same machine. This allows full access to any and all windows programs, while keeping the speed and reliability of your Macintosh partition. The windows fix for Macintosh has been around for over a year, PearPC. So now you can go ahead and buy that new iMac you’ve had you eye on. NOTE: Windows, being what it is, is still susceptible to viruses. They will not, however, affect your Macintosh partition.