blogging more

I don’t remember when the last time was that the front page of my blog only went back 3 days. I’m definitely blogging more after dropping out of twitterville. Definitely having more fun with the blog, anyway.

rebirth

I’ve been planning to reboot this blog with a simplified theme, perhaps a magazine-type layout. I’ve decided to start with this Blue Zinfandel theme, and have started hacking on it. No more banner images. No more heavy design. Mandigo has served me well (as K2 did before that). But it’s time for change.

There may be some things missing for now, but it’s time to simplify.

Of course, now that Jen launched her new theme for her blog today, I’m just totally following her again. But I’ve been planning this for weeks. Honest. Whatever…

Upgraded to Drupal 5

I just finished the first pass at upgrading this blog to Drupal 5.0. Looks like almost everything is working right out of the gate. I hit a few minor glitches:

  1. spam.module has a strange bug, where it fails to display nodes with ID larger than 1519. Node 1520 and higher failed to display at all until I disabled spam.module and switched to Akismet.
  2. CCK – my bikelog is MIA. not the end of the world – actually, I’d hoped to just go ahead and retire it and do what normal/sane people do: get a cyclecomputer. But, enough people find their way to that page from the CCK/Calculated Fields page that I’ll give ‘er a shot when I get a chance.
  3. The K2-derived theme I’d been using borks under D5. Again, not the end of the world. I’ll take a look at upgrading it later. For now, I’m kinda liking the new default Garland theme… Theme updated. Borrowed snippits from Garland to get the scripts etc… properly included.
  4. TinyMCE appears to be shy. It’s installed and enabled, but refuses to show up. Again, not the end of the world, as I’d just as often write raw text/html or use Performancing for Firefox, which works just fine.
    Update: I grabbed FCKEditor, and it’s doing a decent job. I miss having the user setting that let me turn off rich text editing by default, so it doesn’t bork embeded code, but maybe FCKEditor doesn’t do that…. Bork embedded code, I mean.
    I’m really not a fan of FCKEditor’s lack of semantic markup (using br br instead of wrapping paragraphs in p elements, for example) but it works.
  5. The code I’ve been using to automatically generate the colophon (list of active modules, etc…) borks under Drupal 5.

There may be other gotchas. I did the upgrade on my desktop box, then moved it into place so I’m relatively sure nothing is pouring smoke…

I just finished the first pass at upgrading this blog to Drupal 5.0. Looks like almost everything is working right out of the gate. I hit a few minor glitches:

  1. spam.module has a strange bug, where it fails to display nodes with ID larger than 1519. Node 1520 and higher failed to display at all until I disabled spam.module and switched to Akismet.
  2. CCK – my bikelog is MIA. not the end of the world – actually, I’d hoped to just go ahead and retire it and do what normal/sane people do: get a cyclecomputer. But, enough people find their way to that page from the CCK/Calculated Fields page that I’ll give ‘er a shot when I get a chance.
  3. The K2-derived theme I’d been using borks under D5. Again, not the end of the world. I’ll take a look at upgrading it later. For now, I’m kinda liking the new default Garland theme… Theme updated. Borrowed snippits from Garland to get the scripts etc… properly included.
  4. TinyMCE appears to be shy. It’s installed and enabled, but refuses to show up. Again, not the end of the world, as I’d just as often write raw text/html or use Performancing for Firefox, which works just fine.
    Update: I grabbed FCKEditor, and it’s doing a decent job. I miss having the user setting that let me turn off rich text editing by default, so it doesn’t bork embeded code, but maybe FCKEditor doesn’t do that…. Bork embedded code, I mean.
    I’m really not a fan of FCKEditor’s lack of semantic markup (using br br instead of wrapping paragraphs in p elements, for example) but it works.
  5. The code I’ve been using to automatically generate the colophon (list of active modules, etc…) borks under Drupal 5.

There may be other gotchas. I did the upgrade on my desktop box, then moved it into place so I’m relatively sure nothing is pouring smoke…

Batman visits!

I was just checking in, and on my Sitemeter stats page, saw an interesting recent visitor:

Visit from the Bat CaveVisit from the Bat Cave

I didn't realize Batman had moved the Cave so far from Gotham City. But, in another score for Drupal, the Dark Knight is researching how to move from Wordpress to Drupal.

I was just checking in, and on my Sitemeter stats page, saw an interesting recent visitor:

Visit from the Bat CaveVisit from the Bat Cave

I didn't realize Batman had moved the Cave so far from Gotham City. But, in another score for Drupal, the Dark Knight is researching how to move from WordPress to Drupal.

Comment Notification by eMail now available again!

Thanks to some great work by Christoph C. Cemper, there is now a module available to enable email notifications for comments by anonymous users (which, on my blog, is everyone but myself) on a Drupal blog. There should now be a “follow comments by email” checkbox underneath the comment submission form, which adds the much-missed feature.

It needs a (minor?) change to the stock comment.module, but Christoph provides a modified version of that. Hopefully the changes aren’t drastic enough to make upgrading Drupal less straightforward.

Thanks to Christoph for his quick work on this (he started on it last night, and has a usable module available before noon today!) I owe you a beer or two for this!

Thanks to some great work by Christoph C. Cemper, there is now a module available to enable email notifications for comments by anonymous users (which, on my blog, is everyone but myself) on a Drupal blog. There should now be a “follow comments by email” checkbox underneath the comment submission form, which adds the much-missed feature.

It needs a (minor?) change to the stock comment.module, but Christoph provides a modified version of that. Hopefully the changes aren’t drastic enough to make upgrading Drupal less straightforward.

Thanks to Christoph for his quick work on this (he started on it last night, and has a usable module available before noon today!) I owe you a beer or two for this!

Stopping the raging banality

This blog is about 2 posts away from devolving into a bona fide cat diary (and I’m not exactly a fan of cats). I’ll be trying to stop barfing banality into the internet tubes, so as a result I’ll probably be posting much less. Hopefully, as quantity goes down, quality (and relevance) may go up? Or, I might just wind up raising the bar so high that I finally fall out of this whole blogging thing. Either way, meh…

This blog is about 2 posts away from devolving into a bona fide cat diary (and I’m not exactly a fan of cats). I’ll be trying to stop barfing banality into the internet tubes, so as a result I’ll probably be posting much less. Hopefully, as quantity goes down, quality (and relevance) may go up? Or, I might just wind up raising the bar so high that I finally fall out of this whole blogging thing. Either way, meh…

1 month blogging with Drupal

It's been about a month since I made the switch from WordPress 2 to Drupal 4.7 to power my blog. There have been some ups and downs, but I have to say that I have absolutely no regrets about the move, nor do I plan on moving back any time soon.

Some things I still miss from the WordPress days though –

  • commenters able to subscribe to a thread of comments via email. sounds old school, but it REALLY helps keep conversations going.
  • actually, that's just about it.

There are some little niggles, like not being able to use the Flickr.module to integrate my Flickr sets here, but that's a limitation of DreamHost's security setup (disabling fopen), not of Drupal. If that REALLY bugs me, I'll look at hacking the Flickr.module cache code to not require fopen…

Once Drupal has been configured, it's no harder to run than WordPress. It performs as well (or better) once caching has been enabled. The threaded comments are great. The custom node types are really handy – I'm not using them so much on this blog (yet) but am using them quite a bit on some project sites.

The set of modules I'm using has evolved over the past month. I think I've come up with a pretty decent set of modules for a blogging platform in Drupal. It's not perfect, but it does the job quite nicely. 

I'd recommend WordPress for new bloggers, but I'd wholeheartedly recommend Drupal for people that want to take advantage of some of the more flexible content management stuff available in a higher-end app. Not a shot against WordPress at all – the two platforms serve slightly different (and complementary) roles.

It's been about a month since I made the switch from WordPress 2 to Drupal 4.7 to power my blog. There have been some ups and downs, but I have to say that I have absolutely no regrets about the move, nor do I plan on moving back any time soon.

Some things I still miss from the WordPress days though –

  • commenters able to subscribe to a thread of comments via email. sounds old school, but it REALLY helps keep conversations going.
  • actually, that's just about it.

There are some little niggles, like not being able to use the Flickr.module to integrate my Flickr sets here, but that's a limitation of DreamHost's security setup (disabling fopen), not of Drupal. If that REALLY bugs me, I'll look at hacking the Flickr.module cache code to not require fopen…

Once Drupal has been configured, it's no harder to run than WordPress. It performs as well (or better) once caching has been enabled. The threaded comments are great. The custom node types are really handy – I'm not using them so much on this blog (yet) but am using them quite a bit on some project sites.

The set of modules I'm using has evolved over the past month. I think I've come up with a pretty decent set of modules for a blogging platform in Drupal. It's not perfect, but it does the job quite nicely. 

I'd recommend WordPress for new bloggers, but I'd wholeheartedly recommend Drupal for people that want to take advantage of some of the more flexible content management stuff available in a higher-end app. Not a shot against WordPress at all – the two platforms serve slightly different (and complementary) roles.

Drupal Search Funkiness

I've been noticing that the search feature of this Drupal blog has been acting up for awhile – searching for "drupal" turns up only 4 items, but I've written many many posts mentioning Drupal. I didn't think it was a big deal, but I've actually been getting emails and IMs asking me wtf wrt searching.

So, I dug a bit deeper. Turns out, Drupal is refusing to index my content when cron.php is called. It's called every hour, but the /admin/settings/search status indicator is stuck at:

Drupal Search Index Not Updating: Taken on 2006/06/07, showing the search index not updating, even though cron.php is called every hour (and I even manually triggered it several times) and the number of items to process is turned down to 10.Drupal Search Index Not Updating: Taken on 2006/06/07, showing the search index not updating, even though cron.php is called every hour (and I even manually triggered it several times) and the number of items to process is turned down to 10.

Some poking around on the Drupal site didn't turn up anything useful. I'll keep poking around to hopefully find out wtf is going on with searching. It's a puzzler…

Update: Temporarily fixed. Something's definitely borked. It's only updating the first batch of nodes, even if cron.php is called multiple times. The hack fix involves editing search.module to allow larger batches so all nodes make it into the first run. I added a "2000" item to the $items array on line 217, then cleared the old index by clicking the "Re-index site" button. Manually called cron.php and let it chew, and now all nodes are properly indexed. No idea if I'll have to keep re-indexing. That would be an ugly hack…

Update the Second: Looks like everything's updating ok now… I'll try dropping the batch size back down to a sane value to see if it still works (or if it really is just indexing the first batch of records only)

Update the Third: Yeah. All's well now. New content is being automatically indexed, and all old content is properly indexed. Wonder what happened…

Drupal Search Funkiness - resolved: it's now 100% indexed. no idea what was wrong before...Drupal Search Funkiness – resolved: it's now 100% indexed. no idea what was wrong before…

I've been noticing that the search feature of this Drupal blog has been acting up for awhile – searching for "drupal" turns up only 4 items, but I've written many many posts mentioning Drupal. I didn't think it was a big deal, but I've actually been getting emails and IMs asking me wtf wrt searching.

So, I dug a bit deeper. Turns out, Drupal is refusing to index my content when cron.php is called. It's called every hour, but the /admin/settings/search status indicator is stuck at:

Drupal Search Index Not Updating: Taken on 2006/06/07, showing the search index not updating, even though cron.php is called every hour (and I even manually triggered it several times) and the number of items to process is turned down to 10.Drupal Search Index Not Updating: Taken on 2006/06/07, showing the search index not updating, even though cron.php is called every hour (and I even manually triggered it several times) and the number of items to process is turned down to 10.

Some poking around on the Drupal site didn't turn up anything useful. I'll keep poking around to hopefully find out wtf is going on with searching. It's a puzzler…

Update: Temporarily fixed. Something's definitely borked. It's only updating the first batch of nodes, even if cron.php is called multiple times. The hack fix involves editing search.module to allow larger batches so all nodes make it into the first run. I added a "2000" item to the $items array on line 217, then cleared the old index by clicking the "Re-index site" button. Manually called cron.php and let it chew, and now all nodes are properly indexed. No idea if I'll have to keep re-indexing. That would be an ugly hack…

Update the Second: Looks like everything's updating ok now… I'll try dropping the batch size back down to a sane value to see if it still works (or if it really is just indexing the first batch of records only)

Update the Third: Yeah. All's well now. New content is being automatically indexed, and all old content is properly indexed. Wonder what happened…

Drupal Search Funkiness - resolved: it's now 100% indexed. no idea what was wrong before...Drupal Search Funkiness – resolved: it's now 100% indexed. no idea what was wrong before…

Drupal Image Uploading

OK. I think I've just about gotten things closer to "feeling" right for me here. I was just fiddling with the Image and img_assist , and the drupalimage TinyMCE plugin, and finally got them all behaving as expected. Now, I can post an image to the blog while writing an entry, and it goes one step further than what WordPress did.

Drupal will create a completely independent "Image" content node, with full title/description/tag "metadata" and add it to an Image Gallery for later browsing and reuse. It's not just a file slapped in a folder on a server. It's a file slapped in a folder, with a bunch of supporting content and metadata to help organize it. That is so much more powerful/flexible than the straight "upload image" used by other blog apps.

So, I'm using the stock "Image" content type, with the "img_assist" module providing the upload service, and the "drupalimage" TinyMCE plugin providing a handy button right in the WYSIWYG editor to make it easy peasy to add images on the fly.

And, because it ties to the stock "Image" content type, I can also use things like the Image Publishing module to allow iPhoto to upload images directly to my copy(ies) of Drupal, for later use in blog posts and other content.

There are some minor wrinkles to iron out, then I'll roll it out to all of the Drupal sites we're running at work. Should be a handy way for our users to publish images – at least for the ones without Flickr accounts…

Screenshot of Drupal Image Upload: This is a screenshot of the Drupal img_assist image upload form, triggered by the drupalimage plugin for the TinyMCE module.Screenshot of Drupal Image Upload: This is a screenshot of the Drupal img_assist image upload form, triggered by the drupalimage plugin for the TinyMCE module.

 

Update: The HTMLArea module/editor has a similar image insert/upload utility. That one is even more streamlined, with less emphasis on creating a separate Image node (although that's what it does). Here's the HTMLArea utility, for comparison:

HTMLArea image insert/upload utility: A screenshot of the HTMLArea image insert/upload utility, taken from SocialLearning.ca  - running Drupal 4.6

HTMLArea image insert/upload utility: A screenshot of the HTMLArea image insert/upload utility, taken from SocialLearning.ca – running Drupal 4.6

Update 2: Looks like a bug in img_assist.module, which is adding some well-intentioned spans that are inadvertently borking image display on Mozilla browsers. By commenting out lines 1263 and 1287 of img_assist.module, everything appears to be hunky dory.

OK. I think I've just about gotten things closer to "feeling" right for me here. I was just fiddling with the Image and img_assist , and the drupalimage TinyMCE plugin, and finally got them all behaving as expected. Now, I can post an image to the blog while writing an entry, and it goes one step further than what WordPress did.

Drupal will create a completely independent "Image" content node, with full title/description/tag "metadata" and add it to an Image Gallery for later browsing and reuse. It's not just a file slapped in a folder on a server. It's a file slapped in a folder, with a bunch of supporting content and metadata to help organize it. That is so much more powerful/flexible than the straight "upload image" used by other blog apps.

So, I'm using the stock "Image" content type, with the "img_assist" module providing the upload service, and the "drupalimage" TinyMCE plugin providing a handy button right in the WYSIWYG editor to make it easy peasy to add images on the fly.

And, because it ties to the stock "Image" content type, I can also use things like the Image Publishing module to allow iPhoto to upload images directly to my copy(ies) of Drupal, for later use in blog posts and other content.

There are some minor wrinkles to iron out, then I'll roll it out to all of the Drupal sites we're running at work. Should be a handy way for our users to publish images – at least for the ones without Flickr accounts…

Screenshot of Drupal Image Upload: This is a screenshot of the Drupal img_assist image upload form, triggered by the drupalimage plugin for the TinyMCE module.Screenshot of Drupal Image Upload: This is a screenshot of the Drupal img_assist image upload form, triggered by the drupalimage plugin for the TinyMCE module.

 

Update: The HTMLArea module/editor has a similar image insert/upload utility. That one is even more streamlined, with less emphasis on creating a separate Image node (although that's what it does). Here's the HTMLArea utility, for comparison:

HTMLArea image insert/upload utility: A screenshot of the HTMLArea image insert/upload utility, taken from SocialLearning.ca  - running Drupal 4.6

HTMLArea image insert/upload utility: A screenshot of the HTMLArea image insert/upload utility, taken from SocialLearning.ca – running Drupal 4.6

Update 2: Looks like a bug in img_assist.module, which is adding some well-intentioned spans that are inadvertently borking image display on Mozilla browsers. By commenting out lines 1263 and 1287 of img_assist.module, everything appears to be hunky dory.