nanovivid

WordPress Tip: Force All Feeds to Use Atom Atomatically

June 5th, 2008Code / SiteComments?

While migrating my site to WordPress, I got annoyed that WordPress uses RSS feeds by default with no way to change to Atom. Not that there’s a big difference or anything, but if you’re anal-retentive like me and want WordPress to use Atom but still have pretty feed URLs (http://nanovivid.com/feed/ instead of http://nanovivid.com/feed/?feed=atom), you can do it with one .htaccess RewriteRule:

RewriteRule (.*)/feed/?$ $1?feed=atom [L]

This simply takes any URL ending in /feed and invisibly appends ?feed=atom to it. Instant Atom feeds for everything!Î

Gotye - Heart's A Mess (Lull's Radio Edit)

Title and Registration

May 22nd, 2008Goodies / Site

The other day, John Gruber posted some nice code for converting text to title case. It was quickly ported to Python and JavaScript. I decided it would be useful to have a PHP version as well, so here’s my contribution.

I’ve already added one edge case that the original ignores, just because I had a title that needed the fix. One of my old posts is titled “More Scaper-ing.” Before the fix, it would get converted to “More Scaper-Ing,” which just looks wrong. So I dropped in a special case for it.

Let me know if you find the plugin useful or find any bugs.

Comments closed on this post. Please leave any bug reports or comments on the plugin’s page.

Lykke Li - I'm Good, I'm Gone (Fred Falke Remix)

Would You Like for Me to Talk Dirty to You?

May 15th, 2008Art / Site1 Comment

As I mentioned in my previous post about the redesign, it’s been in various states of non-progress for about three years. I figured it might be fun to talk about how it evolved over the last year (since that’s the only time I actually did anything slightly serious) and finally ended with the Dirty you see today. I always find the evolution of a design interesting and hope that you will too.

Oddly enough, the very first idea I had for a new design had the most similarities with the final product. The colors came from the Cherry Cheesecake theme on Kuler.

cherrycheesecake.png

Then I wandered off down a rabbit trail lined with spring grass and fresh raspberries. Or something.

raspberry1.png
raspberry2.png

After I got bored with that, it was another six months before I tried anything. At that point, did some iterations with brown and blue stripes.

brown1.png
brown2.png
brown3.png

By the third revision, it was starting to get somewhere, but it still wasn’t feeling right. So I took another break. When I revisited the ideas a few months later I promptly dropped the blue and faded the background, moving the design a little closer to the final product.

brown4.png
brown5.png
(I kind of abandoned this one midway through, I think.)

Then I got Super Mario Galaxy and well, that was the end of that. (Because that game? Is made of awesome).

Once I had gotten all 242 stars (yes, that’s 121 as Mario and then the same 121 as Luigi… what can I say? I’m a completionist), I got inspired to make a worn version of the circles logo.

dirty1.png

However, Copperplate didn’t feel quite right for the logo, so I started surfing around for distressed fonts that might have the look I wanted. As soon as I discovered Bleeding Cowboys, I knew I had the right font. When I added it to the design, however, it obviously needed some tweaking.

bleeding1.png

So I did some editing to eliminate the flourish of the second n and differentiate the i’s, v’s, and n’s. The other tweak I made that I think really makes the logo work better was to remove the serif from the a and join it with the n’s flourish.

After that, it was all just implementation.

Goat Explosion - I'm Always Alone

Don’t Be a Stranger

May 14th, 2008News / SiteComments?

Short and sweet: nanovivid.com user accounts are now re-enabled. However, if you have an existing account, you’ll have to reset your password before you can log in. Let me know if you have any issues.

Underworld - Peach Tree

Dirtywhirl

May 13th, 2008Geeking Out / News / Site2 Comments

After a little over five years of using my custom blog engine, I decided that it was time to switch to something else. (Even though it never technically had a name I’ll refer to it as nvJournal for the sake of brevity here). Although I had a lot of fun writing it and adding features over the years, I felt that the time it would take me to extend it further was more than I wanted to spend. So I up and switched to WordPress. I know, right? But it’s working out pretty well so far.

One of the big reasons for switching was so I can use MarsEdit. I was getting really tired of having to write all my posts in the browser and nvJournal didn’t have any sort of API support. Thus, I either had to write an XML-RPC interface or switch to something that did. There was also the lack of support for drafts. With nvJournal it was either published or not (I could publish privately, but then I’d have to dive into the database and manually edit the date when I posted).

nvJournal’s admin interface was also slightly… limited. It worked well enough for writing new posts, but management wasn’t so hot. I only ever got around to listing the twenty most recent posts and then throwing in a box where I could enter the ID of an old post to edit it.

So a couple weeks ago, I grabbed a copy of WordPress, threw up a test domain, and started playing. Obviously the first task was to get my old blog imported. It didn’t take too long to figure out the WordPress export format, so I was able to generate a file for import pretty quickly. I had to tweak a couple of core files to get my post IDs to carry over, but after that, it was smooth sailing.

Then I needed to settle on a design. I’ve been playing with ideas for the post-Whiteroom design since, oh, July of 2005. Nothing ever quite stuck though and I let it stagnate for a couple years. I finally picked things back up last spring, but again, none of the designs felt quite right. Then I tried again in the fall but it was the same story. However, this time, the stars aligned as I hit on the idea of a dirty, worn version of the circles logo that I used in 2003. It’s always been my favorite nanovivid logo by far, so I decided it was time to bring the circles back.

nvdot.gif circles.png whiteroom-icon-48.png nvglyph-worn.png

After a lot of pixel pushing, I finally ended up with the design you see here. Of course, I had to go and implement it in HTML, but that surprisingly ended up being fairly easy. There really weren’t too many cross-browser issues to work around this time, largely because the design is much simpler than the last one. And hey, my site is now properly IE7 compatible, so… yay?

Please let me know what you think of the new design. I think the only outstanding issue left is user accounts, and I’ll post once I have that worked out. I’m going to do my best to migrate them over. I hope the redesign and move to WordPress will mean that I will be a bit more likely to blog than in the past couple of years. But we’ll see how that goes.

Basement Jaxx - Same Old Show

Betteration

August 20th, 2006SiteComments?

For the first time in a while, I’ve added some new features to my site. This weekend, I coded two things that will help make it easier to stalk me find things. First is categories — every entry has at least one category associated with it. And because I care, I went back through all five-hundred-some entries and added categories to them.

You can also easily search my blog now without having to go to Google. Thanks to Searching with PHP and MySQL, I was able to implement this in just a couple hours.

Both are available from the archive page.

Mat Weddle - Who Is It

Accomplishment

July 25th, 2006SiteComments?

Well, I’ve done it. As promised, I blogged for a week. I’m even going to try and keep it up. Now where’s my cookie?

Down With The Butterfly - Blue And Green

Set Your Phasers to “Blog”

July 17th, 2006Site3 Comments

Hi! I’ve decided that I will write at least one blog post every day for the next week in a desperate attempt to get myself to actually create content for nanovivid.com again. And because I’m awesome, I’m going to let you decide what my punishment will be if I don’t pull it off. If you’re feeling really motivated, you could even offer me a reward. Like… not being run over by a truck driven by an angry cow. Man, I’m totally going to be looking BOTH ways before crossing the street from now on.

Lo-Fi-Fnk vs Karin Ström - Psykos (LFF Holiday RMX)

It’s Over

February 25th, 2006SiteComments?

I’m done with comment spam. From now on, all comments have to be approved unless you’re logged in. So get an account if you don’t have one. That is all.

Tegan & Sara vs. Mylo - Walking With A Ghost In Paris

Mother Nature’s on Crack

April 24th, 2005Randomness / Site / WeatherComments?

Just a reminder to make sure you’re either logged in to nanovivid.com or reading through your LiveJournal friends page. Otherwise you might be missing some entries, such as the rather hilarious one I posted this past week.

Also, it’s still snowing. And tomorrow it’s going to be 50°. God. This weather needs to figure things out.

Oh, and this is my 500th entry. Neat!

Elkland - We Share A Heart