Posts tagged WordPress
Microsoft’s Web App Gallery FAIL
Mar 25th
Giving Microsoft, IIS, and PHP.exe the benefit of the doubt, I decided to try installing WordPress on Windows via Microsoft’s new Web Application Gallery. The install is simple and straightforward: install MySQL, go to the web app gallery, click on the download, choose what you want, poof! Done.
I got the first few steps knocked out, I selected WordPress, gave it my MySQL username and password, and let it go. It installed PHP for Windows, the MySQL connector, and WordPress. Then I launched my browser and pointed to http://localhost:81 and… no. Error 402. I monkeyed with the site in IIS and was able to generate an error that simply says: Parameter not found.
PHP is installed. IIS assicates .php files with PHP.exe. But Wordpress no worky.
Fail.
Posting Your Latest Tweet in Wordpress
Feb 19th
Although I posted yesterday how to add your latest tweet to Wordpress without a plugin, I made several changes to the script before I posted it to make it more “generic” and re-usable. Since I’ve changed it quite a bit, I decided to repost it. This new script also autolinks @usernames and #hash tags.
Directions are this easy: set the path of $tw_File with a static, writable file. Set $tw_userid to your Twitter user id. Done.
Wordpress “Press This” 404 Problem
Jan 22nd
WordPress › Support » Press This 404 issue.
“Press This” hasn’t worked for me for ages. I am so happy to have it back!
WordPress 2.7 RC1
Dec 2nd
I just downloaded and installed WordPress 2.7 RC1. The upgrade took about 3 minutes, end to end, and the “several moments” database upgrade took less than 2 seconds. All in the all, there’s very little to notice on the front end that is different, I haven’t been able to test comment threading yet. However, the new admin site is really nice looking. The Dashboard is a HUGE improvement over the <2.7 series.
Themes were entirely unbroken. Upgrading firsttube.com may be a bit more of a challenge since I’ve manually changed a few fore WordPress files, which may prevent in place automatic upgrades. However, all in all, I think the 2.7 release is looking really great.
When 2.7 final is released, I expect to be updating my live site pretty quickly.
BePress: A WordPress Theme
Sep 7th
Chasing a random whim, I decided to check if there was an existing WordPress theme to mimic the BeOS 5 desktop. If there is one, I can’t find it. As I’ve detailed before, I’ve been learning to hack WordPress. So I thought, perhaps this is a chance for me to write my first WordPress theme.
Enter BePress. At first, I began this project as a 100% table-free CSS/XHTML project. After a few hours of tinkering, however, and after looking into some old code Eugenia wrote, it became clear to me that going table-less will not render the result I’d like to see. Perhaps for a 2.0 version I’ll pursue that goal. In the meantime, for my 0.2 roll I replaced my divs and spans with tables and got a nice, smooth BeOS table-like interface. Behold, BePress.
Although far from complete – complete to me means all pages of the theme are present and rendering properly – I’m feeling that it’s a nice start. I’m also getting more comfortable digging into WordPress. It turns out that writing a theme is exceptionally easy once you understand how The Loop works.
I expect to continue to mess with this for another week or two before I look into WordPress hosting it for download. I don’t see any reason why not to share it with the world, if there’s actually still anyone out there with a nostalgia for the BeOS who wants to theme their WordPress blog.
OSNews vs. WordPress
Aug 13th
I’ve spent quite a bit of time, over the last 5 or 6 days, diving into WordPress and learning what makes it tick. Parts of WordPress are really impressive – just flat out cool. The way some of it works is fairly complex and deciphering it sometimes means reading page after page after page to understand an entire routine. But sometimes, when you finally see, end to end, how something in WordPress works – I mean really see individual bits of the engine – you have to admit it teaches you a little about PHP. WordPress, underneath it all, is a pretty big beast and its strength and ubiquitous presence comes largely, I think, from the fact that it can do virtually anything. The really sweet plugin system, the ways hooks work, “The Loop,” the dynamic options panel – it’s all very educational.
The interesting thing here is that I’ve browsed the source of Slash, Scoop, phpNuke, and now WordPress, and all of them are definitively more complex and much heavier than the entire OSNews codebase. Now, before you jump all over me – firstly, Slash and Scoop are Perl, and I don’t really read Perl, so I can’t speak as an expert there. Secondly, WordPress and Nuke both are very portable and dynamic, whereas OSNews has a narrow focus and, location-wise, is very static. But that aside, OSNews has withstood simultaneous link bombs from Slashdot and Digg. As amazing as WordPress is, it’s mostly amazing that it functions at all and loads in less than 2 minutes per page with as much going on as I can see behind the scenes. That’s not a cut on WordPress, by the way.
In fact, if anything , what is really impressed upon me is how smooth and simple OSNews code is, if I may be so bold. OSNews runs superfast due, in part, to lots of creative caching, some on-demand, some via cron. But it also does so because of highly efficient queries that are measured for speed on their JOINs, meaning in some cases, it’s faster to do 20 simple queries than one complex one, or build a long and scary chain of “OR x=a OR x=b OR x=c OR x=d…” Watching WordPress code in action is really fun for me, but watching OSNews work knowing what I now know about how much work PHP can cram into its threads is even more fun.

