Category Archives: WordPress

The open source publishing platform I co-founded — development, releases, community, and the ecosystem.

Archives Page Tip

I’m finally fixing all the bugs on photomatt.net, converting a lot of old stuff into WordPress Pages and generally tidying a few things. For my archives I wanted to display a list of recent entry titles like Hemingway does, but I ran into the problem that it would only show 10 at a time (or whatever you have set in your options) and then makes you page through the rest, which sucks. But, thanks to WP, the fix is easy! I added query_posts($query_string . '&showposts=1000&order=asc'); to the archive.php template right under the header call. Basically what this says is to take the current page query and add the part that shows a bunch of posts, in this case 1000, and also to sort it chronologically instead of newest to oldest. (Eric would be happy.) Since it’s in my archive template it doesn’t mess with any other pages. That’s all!

WordPress and Lyceum

I just read that Boing Boing has blogged about a new WordPress-based system called Lycueum. The iBiblio project first contacted me it seems about two years ago, so I applaud them for finally getting a release out. From my examination of the code, it seems it’s exactly what WordPress MU is except they’ve modified every SQL statement (what a pain!) to use a monolithic table structure. We tested this approach for MU, but found it was too expensive to scale past a certain point. With monolithic structures you hit a wall based on your hardware. In MU users are divided and can be partitioned easily, for example on WordPress.com we have the users partitioned between 4096 databases, which allows you to scale very cheaply and efficiently to hundreds of thousands and even millions of users and extremely high levels of traffic. It’s unfortunate the Lyceum folks came to different conclusions and decided to focus their efforts on a fork rather than on the core codebase, especially as the massive changes going into WP 2.1 are going to be difficult to merge, but I still wish them the best and I’ll be watching the project closely and picking up anything interesting they do and bringing it back to WP. (Such is the beauty of Open Source. :)) If nothing else, it highlights that the MU site needs a little TLC.

Free Sun Server

I put in an application for a free Sun server to try out for either WordPress.com or Ping-o-Matic, depending on when/if it arrives. Everything we’ve done on WP.com has been Dell thus far, and honestly they’ve been pretty good with the exception of one box that they’re going to replace soon. Our biggest DB server (a Dell 6850) does north of 300 queries per second, but it weighs as much as me and uses a crazy amount of power, which is expensive. Of course as more and more of our infrastructure becomes distributed, high performance boxes don’t matter as much.

Hack WP for NY Times

I was at the New York Times last week and one of the things that blew me away were how many WordPress blogs they’re running. I had seen 2-3, but it turns out they have almost 25 running on both sides of the paywall and they’re going to be doing even more with WordPress as time goes on. (There are also some interesting things going on with Times Select.) There’s more good news: they’re hiring. Khoi Vinh writes “A thorough knowledge of weblog publishing software, especially WordPress, is required.” Sounds like a great gig for whoever gets it. Bringing things full circle, Khoi’s site is one of my favorites and an inspriation for the new WordPress.org.

New Theme Competition

Someone is running a WordPress 2.0 theme competition with some pretty sweet prizes. Winners of previous competitions run by Alex have gotten a ton of exposure all over the blogosphere. I think there is so much new functionality possible with the new functions in 2.0 that themes like Regulus take advantage of that it should be a factor in the competition somehow.

Markup Survey

Ian Hixie at Google just published a really awesome web authoring survey of a billion documents. What I found most interesting about reading it was places that things I’ve worked on, notably WordPress and GMPG, popped up.

HTTP Headers — “A pretty significant number of pages include an X-Pingback header (more than the number of pages with the Set-Cookie2 header). In fact, X-Pingback was the 30th most-seen header in our data sample.”

WordPress is one of the few platforms that supports pingback, an alternative to Trackback with a real spec. Apparently there are enough WP pages in the world for this to make a blip on the radar.

Page Headers — “It turns out that a tiny but measurable number of people do use the profileattribute, though. The three most-often used values are http://gmpg.org/xfn/1, http://dublincore.org/documents/dcq-html/, and http://gmpg.org/xfn/11. This makes XFN the most popular HTML metadata profile!”

Too cool for words. 🙂 Both of these profiles are included by default in some WordPress templates.

rel="pingback" and rel="bookmark" both skirt the charts in the link relationship page. No XFN values made the cut there.

The <a> element — “external seems to be mainly propagated by WordPress, but people have long been asking for a way to label their links as being external vs internal.”

Nice to get a direct mention there, and we’ve supported bookmark and tag from the beginning. All in all the report is a very interesting read, and kudos to Google for doing this type of research and sharing it with the web. I hope to see more of these in the future, it delights my inner markup geek.