Blog systems, feeds, and relative and absolute paths
I met Joe (or as he’s known in the club, “Fast Joey“) for coffee today and we chatted about puppies, unicorns, and what an amazing coinkeydink it is that we work so close to each other! And also about blogging systems and why sometimes images or links don’t work in a blog when the RSS feed is read.
For some dumb reason, it seems like Simple PHP Blog will let you write a post and embed an image and do so with a relative path (relative to the post location), but when it serves up its RSS feed, it doesn’t translate the image path from the relative to an absolute path (which is necessary because the relative path won’t work when its read not on the original page). Consequently, if you read a Simple PHP Blog post from its RSS feed (in bloglines, feedreader, or whatever) you won’t get working images. It doesn’t seem that Simple PHP Blog gives the author control over this, which is lame. I suppose the best way to solve it might be to figure out the full path to the image when composing a post and use that. Or switch to wordpress ![]()