Posts Tagged ‘wordpress’

wordpress can’t count: my 2000th blog posting

Sunday, June 15th, 2008

I was all exited about my 2000th post, because the dashboard is showing:

wordpress can\'t count

So I decided to tabulate my entries by number, and discovered that I really have 2261 (well, 2262 now) blog entries. This is the real story:

Post # Title Date
1 is this thing on, eh? (2003/06/04)
2 Happy Birthday (2003/06/04)
3 mmm (2003/06/05)
4 A century later, worse economy (2003/06/05)
5 Christian Anderson Smith, where were you in our hour of need? (2003/06/06)
6 fishepiphany (2003/06/07)
7 “What a Life!” lives! (2003/06/08)
8 pinholes (2003/06/09)
9 they don’t make ‘em like they used to (2003/06/12)
10 what’s this ear? (2003/06/19)
16 the wisdom of chairman ralph (2003/07/08)
20 Phew … (2003/07/29)
30 Canada supporting copy-controlled CDs (2003/10/09)
32 so long, emusic (2003/11/05)
40 how the blog got its name (2003/11/24)
50 do me a favour (2003/12/01)
60 malicious deomnibusation of maternal relative’s maternal relative strictly forbidden (2003/12/09)
64 DNX-1000 Hardware /dev/null Accelerator (2003/12/10)
70 Enoch, the Money Mart ad guy (2003/12/15)
80 Mozilla Mail Went Nuts (2003/12/21)
90 A helpful error message (2003/12/31)
100 very small, but not cheap (2004/01/06)
128 Attack of the Dodgy Duracells (2004/02/03)
200 first groundhog (2004/04/03)
250 freecache doesn’t (2004/06/13)
256 Getting (Not Very) Political (2004/06/23)
300 UofT Solar Car (2004/08/13)
400 let’s get confused (2004/10/13)
500 Good Activism Guide, from an unexpected source (2004/12/07)
512 and this makes news in Scotland: Krankie hurt in beanstalk tumble (2004/12/15)
600 The Passing of The Grammarian (2005/02/22)
700 get yer fives on! (2005/05/05)
750 Lego, ergo sum (2005/06/05)
800 StimpyFest: the time is now (2005/07/14)
900 no cheers for VIA Rail (2005/09/27)
1000 Meet Mr Random (2005/12/26)
1024 my letter to etymotic (2006/01/24)
1100 1656 days from PR application to Canadian Citizenship (2006/03/25)
1200 View from the nacelle of a 2.3MW wind turbine (2006/05/22)
1250 old taters (2006/06/18)
1300 when chitin isn’t enough (2006/07/20)
1400 confused (2006/10/03)
1500 alan_walsh-carter_arter_blues.mp3 (2006/12/21)
1600 all atwitter (2007/03/06)
1700 messing with cars makes you bad at spelling (2007/04/26)
1750 curious_orange-roncesvalles.jpg (2007/06/01)
1800 take your … (2007/07/21)
1900 serene detachment (2007/09/20)
2000 not very walkable here (2007/12/13)
2048 recursive headline (2008/01/22)
2100 glacial (2008/02/25)
2200 the most hateful coining in the language (2008/05/05)
2250 outlook_gone_all_big (2008/06/02)
2261 wind turbine data - we are generating! (2008/06/13)

The numbering seems to have gone sideways in the last 1000 entries; entry #1000 is, as they say, what it is.

puzzling evidence

Sunday, February 3rd, 2008

If anyone’s wondering why We may have seen a Chicken … looks suspiciously like this blog, it’s okay, it’s authorized activity. I’m doing a spot of reblogging, as wordpress.com blogs get monster search hits.

SEO? Me?! I’m hurt. It’s only bad when you do it.

more on WordPress dates

Saturday, March 17th, 2007

I got sick of the annoying date display bug, and so dug through the default theme files looking for specific references to date formats. And there were many …

I found that, instead of using the WordPress the_date() function, there were many calls to the_time('l, F jS, Y'), which forces a specific date format. If you replace instances of the_time('l, F jS, Y') with the_date(), your date and time format set in the Options panel will work as expected.

How hard was that? Not very. How easy would it be to be modified in the default template?

no false positives

Saturday, March 17th, 2007

There was some low-level kvetching on a Wordpress blog that Akismet was marking too many false positive comments as spam. Concerned, I trolled through all 11 pages of spam - and didn’t find one real comment.

site search broken

Friday, March 9th, 2007

I don’t think that WordPress’s search function works any more.
Ah, it’s been fixed in 2.1.2.

wordpress dates

Sunday, January 28th, 2007

I’m a bit peeved that even in WordPress 2.1, they haven’t fixed a very long-standing bug: all templates (especially the default one) should respect the user’s date format. It seems that moderators on the forums see this as a non-issue, and zealously close (or ignore, if such a passive thing can be done zealously) any discussion on the topic, as has happened here. I don’t need or want to edit PHP to make this work; it’s supposed to work.

Today’s date is 28 Jan 02007. I want you to see it that way. WordPress doesn’t.

claimID/microid for WordPress: fixed!

Wednesday, August 9th, 2006

I like the idea of claimID — a simple web ID system — and have been trying to mark all my online content with it. I installed Richard K Miller’s MicroID Plugin for WordPress, but it didn’t seem to want to correctly fingerprint the top level of my site.

A little sleuthing (even with my zero PHP skills) showed that claimID thought the URL of my site was http://scruss.com/blog/, while Richard’s plugin thought the URL was http://scruss.com/blog. The trailing slash made all the difference to the claimID fingerprint.

All I had to do was to edit the URL in my claimID page, get the site verified, and this blog is so mine

Reindexing old MT entries

Wednesday, September 22nd, 2004

I’m not quite there yet, but I’ve got all my old MT articles with the same IDs as they had under that CMS. I basically used DrBacchus’ More about migrating from MT to WP method, but tried to integrate Scott Hanson’s Export from WordPress. It was not a complete success, but I’ll document what I did here in the hope that it’s useful.

DrBacchus was using an older version of MT, while I’m using the most recent version. I found that the file you have to edit to insert IDs is lib/MT/ImportExport.pm — not lib/MT/App/CMS.pm.

If you can avoid the temptation of adding blog entries to WP before importing from MT, do so. It’s a royal pain to add them later.

I used the WP MT-export module to export all my blog entries, then trimmed out the existing entries which had been entered in MT. I then added entry IDs to the export file (an awk one-liner: awk 'BEGIN{id=323;} {print;} /^STATUS: / {print "ID:", id; id++;}' worked for me, as my highest MT article ID was 322). I then joined the export files from MT and WP in one big ‘export.txt’ file.

If you have existing WP entries, you’ll have to get rid of them. I found that going directly into the database, and doing:

delete from wp_posts;
delete from wp_comments;

would do it.

Don’t forget to patch import-mt.php as per DrB’s instructions before importing.

Here’s where the pain comes in — WP wouldn’t import the text from the entries created in MT. It restored all the metadata, but not the content. So I had to manually patch in the entries from the export file.

I still have to work out rewrite rules for permalinks, but at least everything’s on the server where it should be. Maybe John’s Moved To WordPress rewrite rules will help me, as I think that my host (1and1) may not be doing entirely halal things with .htaccess support.

Another cool thing about WordPress

Monday, August 30th, 2004

…. is that you can e-mail in blog entries. Like this one.