Random thoughts of a fiber enthusiast - mostly fiber related, sometimes coherent

Month: March 2009 Page 3 of 4

Geeking

Moving a blog isn’t something that should be taken lightly. Don’t do as I did.

While waiting for a new build from the development team (of one), I decided to poke around a bit. I’ve been meaning to move the blog off to its own domain for years. Why today? Don’t know.

A quick whois shows that fibermusings daht anything is wide open.  I quickly registered it and added it to my hosting service account. Within 5 minutes, the website is up. I started to research how much work it is to move the blog from the old domain to the new. The answer, not much.  Since it’s all on the same hosting account, I don’t need to do a new installation.  I just needed to move it from one directory to another.

Huh. Really? That easy? Let’s try it…

Yeah, that’s all the thought I put into it. Not much. No planning. No thinking through the possible issues.

Things start to fall apart after that.

WordPress encodes full URL to all image links. Yup. All posts with pictures have to be changed. Manually. A quick Google search shows that I can do it via a SQL command to the MySQL database. Here’s the nail biter. You’re changing a live database. Yeah, I can do the whole backup and restore business. But I usually have DBAs who do this sort of stuff for me. I decide to go for broke. I’ve done everything up to now half assed, I might as well continue.

Here’s the appropriate MySQL command:

UPDATE <wp_prefix_posts>
SET post_content = replace(post_content, ‘old_url‘, ‘new_url‘)

For example, if your WordPress database table prefix is wp_, then in place of <wp_prefix_posts> you would enter wp_posts.  I did try it out on a single image heavy post first to make sure it worked before applying the script to the entire table. (Add ‘WHERE post_id = <some_id>‘ to the end.)

You need to apply this to the <wp_prefix_postmeta> table as well. A little more care is required here since this contains file system path instead of just URI.

Then there was the matter of redirecting the old blog location to the new.  More Googling shows a nifty trick with the .htaccess file with the following line:

Redirect permanent /<old_blog_directory_location> <new_URL>

Place the .htaccess file in the root directory of your website.  And voila! Everyone going to the blog in the old location will be automagically redirected to the new location.

Of course, this only resolves the issue of when someone actually visits your website. Anyone reading the blog using an RSS feed is hosed.  The feed is broken and I don’t know how to fix it.  They have to re-subscribe.  But then, it’s the age old question.  “If a tree falls in a forest and no one is around to hear it, does it make a sound?”  The equivalent here is, if everyone is using RSS Feeds (Bloglines, Google Reader, what have you) to be notified of new posts, and you’ve stopped publishing feeds at the old location, how will they ever know that you’ve moved?

The correct answer would have been to make a post announcing the up-coming move. Wait until the aggregators have received the feed, then make the actual move.

Yeah, that would have been smart. But I didn’t think of it until it was too late. Now it’s broken.  There’s a new feed and no way to push that out there.  Idiot.

Then, I come to find out that by moving it the way I did, I broke the smart upgrade system that my service provider provides.  It’s their system for one-click upgrades for installed software packages. I have no clue what I’m going to do about that. I’ve sent off an “I’m an idiot. Please help me.” message to their support.  We’ll see what they have to say.

Moral of the story? Don’t do as I do. Do as I say. Don’t do things half assed. Think it through first. I know better, but still didn’t follow my own advice. It may be a case of the cobbler’s children have no shoes.

For now, I’m okay as long as WordPress doesn’t come out with an urgent patch.

Update 1: The .htaccess hack appears to do the trick. The old RSS feed pings bounced off of the .htaccess file and onto the new feed. So the old feeds will continue to be updated.  Hooray!  This is confirmed with both Bloglines and Google Reader.

Update 2: My hosting service replied with, “If you’ve gotten this far with your blog move successfully, you have the requisite skills to upgrade WordPress manually.” And followed it up with atta-girl.

I guess I got lucky.

Meet Jill

A couple of weekends ago, I ransacked my garage for the lamb fleece. I found it. It’s a California Red lamb fleece. While it’s beautiful, it’s also not for next to skin wear that I would want for the scarf project.

A quick call to Kathleen convinced me that there was no hope for it. I needed to buy another fleece. The problem? It’s too early in the season for 2009 fleeces. Most small producers are sold out of 2008 fleeces. Those that still have inventory are likely to have the dregs. What to do?

Janet Heppler of Nebo-Rock Textiles (no website) to the rescue. I have purchased several fleeces from Janet in the past. Her fleeces are absolutely gorgeous. I have never seen a bad fleece from her. And she has a barn full of them.  There are very few people that I would buy fleeces from, sight unseen. Janet is one of them. I tell her exactly what I’m looking for; she’ll find something that absolutely meets my needs.

I had to sit on my hands for a few days because she was out of town — I assume for ASCH. When we finally talked, I asked for a smallish colored fleece.  She provides.

moorit-jill-fleece
Here’s Jill.  A light moorit fleece. All 6 gorgeous pounds of her.

moorit-jill-locksHer staple length comes in just a hair over 3″.  Above the ruler is a lock as it came off the fleece.  The bottom is a lock that I did a quick kitchen-sink-swish ™ with hot tap water and some dish soap.  She’s a beautiful taupe color and wonderfully soft.  I can’t wait to play with her.

2 weeks of the contest have come and gone and I’ve only just received the raw fleece. I’ve been day dreaming about the scarf pattern. I think I have a small glimmer of an idea. More paper, pen, and swatching required.

What about the California Red lamb fleece? I’ve got half of it washed. I flick carded some of it using the tap and brush method.  The tap opened up the locks, and the brush separated the guard hair from the fleece.  If I had only tapped, I would have been left with the scratchy guard hair in the final yarn.

The downside? The guard hair is where the red in the California Red are located. I’m now left with a cream colored fiber instead of rosy tinged fiber.  One or the other. You have to choose.  I chose no-itchiness over color.

ca-red-locksClockwise from top left:

  1. Unwashed lock
  2. Washed lock
  3. Drecks from the flick carder; mostly guard hair and some second cuts
  4. Beautiful creamy fiber after flick carding
  5. (center) a sample spun on my little Golding spindle

I think this will be perfect for a small woven lap blanket.

Not all of the 2 weeks was wasted. I’ve found that washing the fleece by locks and flick carding wasn’t so onerous after all.  And with the lock structure intact, I can spin from the lock for a true worsted yarn. That is, if I can prevent laziness and impatience from over taking me and go back to my semi-long draw.

Moving Day

I’ve moved this blog off to its own domain.  Please update your links and/or RSS feeds.

Page 3 of 4

Powered by WordPress & Theme by Anders Norén