Relaunching the blog
Almost a year ago, I took down my blog and replaced it with a photoshopped Judge Parker cartoon. The plan was to tidy things up and cull out some old Drupal 4.7 code that I still had lying around, but Murphy's Law intervened. After quite a bit of hacking, I'm happy with where it's at -- not perfect, but much nicer than it was. For the Drupal geeks in the house, I thought I'd give a quick tour of the pieces that I'm using and what I'll be adding in the near future.
One of the biggest changes is invisible: I'm migrating my cloud of personal sites away from Site5 onto a new Slicehost VPS. Taking on the responsibility of maintaining my own server is a bit more work, but with careful attention to security and configuration it looks like things are going well. The ability to integrate tools like memcached and APC is great! I may not need them for my blog, but it's great having a sandbox to tinker with them that's a bit more permanent than localhost testing. If anyone's considering a VPS solution, check out Slicehost. They treat you right. (If I get hacked, blame my newb firewall configuration skills, not Drupal.)
Visually, the big change is a new theme. I hunted around on various CSS template sites and settled on Unbound from StyleShout.com. It's a CC 3.0 licensed design, so it can't be checked into the Drupal.org's GPL-only CVS repository, but I think it's a great example on how third-party designs can be rolled into Drupal. I'm definitely not a designer, but I can poke and prod at CSS when I need to, so starting with a great foundation is a big help.
I originally launched my blog using Drupal 4.6; there was a lot of cruft from older modules like Links, Quotes, and so on that made upgrading difficult. I wrote up a few one-off PHP scripts to migrate data from those modules to standard Drupal content types, and I'm using Views 2 to do most of the little bits like the rotating quotes block in the footer. The extra control is nice, and I've exported my custom views to a site-specific module so I won't lose them in future database migrations.
I've hacked my local copy of Drupal's core BlogAPI module to add support for free tagging and path aliasing -- I can now use MarsEdit to post blog entries with full taxonomy tagging, and custom paths without visiting the site to update my posts through the web UI. I'm looking at a more generalized solution to contribute back as a core patch; it's a shame that we don't support more of the extended MT data that the MetaWebLog standard passes along, but AtomPub is a much more flexible format in the long term.
I'm relying on native Drupal modules for integration with external APIs like Twitter and Delicious, rather than pulling in the JS-driven widgets offered by those services. Instead of sticking a JS widget in a sidebar block and retrieving data from Twitter/Delicious/etc on every page load, these modules us web services APIs to retrieve new bookmarks and messages at cron time, storing them locally in my Drupal database. That allows me to build custom Views, filter based on keywords, and control the formatting with a lot more precision than I'd be able to otherwise. The Delicious module that's currently available for Drupal 6 doesn't have Views integration, but the changes I've made are posted as a patch. Hopefully they can be rolled in soon.
I post new photos to Flickr frequently, and tend to change the header image on my blog when I find a photo I like. To simplify the process, I wired up a simple module that checks my Flickr account for new images tagged with 'blogheader' at cron-time. If it finds a new one, it downloads the high-res version to the files directory, then uses Imagecache to crop and scale it to the correct dimensions. Later, when it comes time to render a page, it uses hook_preprocess_page() to insert the image in place of the theme's default one. I'm working on adding some local caching and Views support to the Flickr module for Drupal, allowing that kind of system to be set up easier, but for the time being it's only 40-50 lines of custom PHP -- easy enough to maintain.
Finally, I'm working on adding sections for some of my older (MUCH older) content. Back in the scary days of Netscape 0.9, I built quite a few sites that survived on various Zip disks and FTP sites. I have them all in a local directory on the server now, and I'm using a custom content type with a Link field to create a node for each archived site; using WebSnapr and a custom Link Field formatter for CCK, I get auto-generated thumbnails on the overview page.
Where does this leave me? My big goals -- to integrate my blog with other stuff I'm doing around the web and automatically populate it even if I don't have time to post new content manually -- is coming along nicely. Next steps include weaving in the Amazon module to keep track of my reading lists, and pulling in automatic links to stuff that I'm posting on other sites, like Lullabot.com. Someday, I'll realize me dream of a markov chainer that posts for me. Until then...





Well now!
Glad to see it!
Welcome back!
Although I enjoyed the cartoon time and again over the last year, I'm really glad to see you relaunched your site. Welcome home!
The new site looks great. I
The new site looks great. I still haven't gotten mine going yet even though that was my original motivation behind Nitobe.
I've only heard good things about SliceHost, but I don't think I'm ready to be doing my own system administration right now. I don't have much love for my current host, but I also don't have to think about them too much.
Thanks for posting details on the modules you're using. Are you planning to release the code you wrote to pull in Flickr images as headers?
Probably...
...Though I might roll up a number of my site-specific helper modules into a single package. The guts of the Flickr integration is done by the contrib Flickr module, and the local caching is done by a mini-module I wrote called 'mirror' -- it just takes an image URL, checks for a locally cached version, and downloads it to /files if one doesn't already exist. It's not perfect, but it's an easy way to pipe things like Flickr pictures or Amazon product thumbnails into the Imagecache module.
Since it ONLY does local mirroring, it's a lot easier to re-use than some of the other snippets...
VPS Solution
I checked out slicehost when I was transferring my site over to a VPS as well. Almost went with them, but then I decided to go with Linode instead. They were a bit cheaper and I've been very satisfied. I'd love to hear why you went with slicehost.
Why Slicehost?
I took a look at Linode, too. In the end, it was Slicehost's excellent library of official and user-contributed articles detailing the setup process and administrative best practices for all of their supported OS's.
I hopped into the #slicehost IRC channel before signing up, and at 11pm on a Sunday evening, found half a dozen active, informed folks who were able to answer my questions and point me in the right direction for additional information. It was a really smooth process, and it just made the transition from 'dirt-simple shared hosting' to 'somewhat more complicated VPS' a lot easier.
That, and the fact that they have a nice web services API for managing a VPS. In my dreams, I will make a Drupal site that controls other VPS's. Eventually, it will become sentient and then humanity will be doomed.
Too late!
Adrian has beaten you to it
Somebody is home
Jeff,
Glad to see you up again with the redesigned site. Some of us have been waiting for awhile to see your blog back in action. It's been too long to not see the quality posts from you.
For awhile I went back and forth between shared hosting and a VPS. While managing a VPS does present some administrative headaches (especially if you experiment a lot like me), it beats the annoyance of having a site hosted by someone else. I like life when the only person to blame for my problems is myself.
Kudos on the new theme. I've been thinking of theme with the two columns right of the content myself. Apparently, it's the theme trend this year.
Welcome aboard!
So glad to have you with us. Please get in touch if you need anything.
Squint squint
The text color could be darker, and the font size could be bigger...
more on squint squint
agree on font size. (Yes, I can always increase the font size, but nicer not to be reminded that I'm half-blind.) I suspect the #666666 color may have some connection to how hard I'm finding it to read. also, some fluorescent lights reflecting on my screen... And of course, sans serif font in the body. Look forward to checking out the site, though!
+++1 will buy again
I sure am glad I'm using the NoSquint extension! This is a weblog I look forward to visiting again.
Flickr Image Import
The Flickr Image import idea sounds very neat, if you were planning on sharing it, I'd love to know where you uploaded it to.
Site looks good on IE 6 (work) and Safari (OS X Leopard).
awesome, but sad
I'm really excited to get to read your posts again, but also quite sad. I really liked that cartoon you had as the placeholder! Any chance you've still got that hidden somewhere on this fancy new site?
ps - comment_notify
http://drupal.org/project/comment_notify
It's nice for folks like me who ask a question and don't want to have to check back all the time. Or http://drupal.org/project/commentrss
At least you know where to find both the maintainers ;)
No harm asking
You could always ask the designer / copyright holder whether they'd allow you to do a GPL release of it. That's my plan for when I get around doing/porting the theme I want for freso.dk anyway. :)
Thanks for the Slicehost
Thanks for the Slicehost info. I've been getting tired of the limitations of shared hosting (i have multiple Drupal sites for work and home on shared hosting) so it's good to know about reasonably priced VPS solutions. I just don't have time right know to go through the changeover. Maybe next year!
w00t!
dude, it came out great! nice work :-)
can't wait to tinker with those blogapi patches and get 'em in core!
Glad to see it!
I'm really glad to see you relaunched your site
Regards, Elmira
great design!!!
I can't say whether this blog is better or worse (cause I don't remember, how it looked like one year ago), but I like the design and colours!!! Great!!!
Very informative article .
Very informative article .
nice work : - ) Relaunching
nice work : - ) Relaunching sucsessfully complete ! ))
I've only heard good things
I've only heard good things about SliceHost, but I don't think I'm ready to be doing my own system administration right now.
Post new comment