I had some time to kill this evening, so I figured I’d address some minor nagging issues with the site. One of which, was that Chrome did not seem to be auto-discovering my RSS feed correctly. I thought I had everything set up right, and it seemed to get picked up by Firefox and IE just fine, but never in Chrome. So where would one begin with solving this issue?
At least, that is the first step I took. I swear it was working at one time, so maybe there is a bug in Chrome? Doesn’t appear to be one. So let me see if there is some different method or syntax that I should be using in my HTML head tag. Not seeing anything new. I’m missing something, obviously, so what is the next course of action?
Compare to a Working Site?
That’s the ticket! I see the RSS icon show up all the time when I’m visiting websites, so I’ll just compare theirs to mine and see what I’m not doing. (Note – I expect to see the RSS feed icon in Chrome because I have the Chrome Reader extension installed for simple adding/removing of feeds in Google Reader.) Not seeing anything really different, other than some sites have an atom & xml feed tag so I’ll add an atom tag just to be safe. Still not working, what the hell?!
Software Development 101
Now is a good time to say “the hell with it!” and walk away or better yet get a second set of eyes involved. I chose the former and went to the store for a bit. After returning I decided to give it one more shot and this time I’d do what I should have done in the beginning and carefully examine my syntax and compare to the examples I’m seeing online. Well, wouldn’t you know it! I got a “Alternate” tag where I probably should have a “alternate” tag. Oops! Make the two second change and wouldn’t you know it, my RSS feed is found!
Moral of the Story
If something isn’t working how you expect it to, take a closer look at your own work first. Take a nice, close look. It could be the simplest little thing, such as an uppercase letter (facepalm), but if you get carried away you can and will waste a lot of time. In my case, I lost a good hour over something so stupid. Also remember, you don’t have to be a beginner to make a beginner mistake!