Friday, June 10, 2011

Weasel Marten or Mink

Great headlines and story from Washington State.

Man with dead weasel-like creature accused of Hoquiam assault
The victim asked, "Why are you carrying a weasel?" Police said the attacker said, "It's not a weasel, it's a martin," then punched him in the nose and fled.
He said he had found the martin dead near Hoquiam, but police don't know why he carried it with him. A martin is a member of the weasel family.
Thankfully, the local press didn't stop there and updated the story with urgent information.

Hoquiam 'weasel' assault case involved mink, not marten
Now, Hoquiam Police Chief Jeff Myers tells KXRO the animal actually was a mink. He says martens haven't been seen in the Grays Harbor area for 50 years.
I'm glad that's solved.

Tuesday, May 17, 2011

Keep Me Turning



"Keep Me Turning" from the album Rough Mix by Pete Townshend and Ronnie Lane.

Saturday, September 11, 2010

Head Full of Doubt/Road Full of Promise



Music video by The Avett Brothers performing Head Full Of Doubt/Road Full Of Promise. (C) 2009 The Avett Brothers and AR, LLC

Saturday, February 21, 2009

Blogger, Robots.txt, Canonical URLs, Feeds - Let's get some Synergy

A little rant where I ask Blogger to make a slight change. The story begins...

Several months back, Blogger changed the way they did comments somewhat. Short version is they broke up post pages that receive many comments (200+). This is fine. In doing so, they also had to add some query parameters to comment permalinks so they could work with the new pagination. Again, nothing wrong with that.

But sometimes googlebot gets confused with a page having multiple urls. These are canonical issues. ( Admission - I have trouble both spelling and saying canonical, but I digress). This hit our favorite blog phydeaux3 when I noticed suddenly last December hits from Google had dropped off, to almost nothing. What I found when I started looking into it was it seemed Google was now suddenly grabbing tons of these comment permalink urls and giving them prominence over what should be the real url. Example.

Instead of having this url in the Google index
phydeaux3.blogspot.com/2006/09/code-for-beta-blogger-label-cloud.html
Which is the proper url, which has hundreds of links pointing at it, Google was indexing urls like this instead
phydeaux3.blogspot.com/2006/09/code-for-beta-blogger-label-
cloud.html?showComment=1221076440000

Which is just a link to a particular comment. But since that url doesn't having any links to it (as it shouldn't) it doesn't rise to the top of any searches like the real url would.

In a perfect world, Google usually knows which is the better url, and probably most of the time it does things correctly. But for whatever reason Google was mucking it up the same way on many of my posts that used to get search hits.

I should say here that ultimately I don't give a shit. Hell it took me a month to even notice as I'm not doing a lot of posting. I don't really care too much whether I get hits or not and I figure it will eventually work itself out. But it's a problem with such an easy solution.

Now my good pal, Notorious I.M.P, pointed out to me this recent post from Google Webmaster Central talking about a new feature that allows you to fix (supposedly) canonical issues like this by adding a "hint" to google with a <link> tag. Well that's fine. If'n it works.

If you wanted to try it for Blogger you would add something like this to the head of your template.

<b:if cond='data:blog.pageType == "item"'>
<link expr:href='data:blog.url' rel='canonical'/>
</b:if>


I've just tried that so I don't know if it actually works or not, but it outputs things the way the Webmasters Tools blog says to.

But for Blogger, we are really fighting a battle that could have a better solution. Only we users can't do it. It would have to be done at Blogger. A better solutions would be to add a few lines to the robots.txt file to take into account these canonical urls that the comment pagination changed caused. Blogger already blocks urls with "search" in the path which correctly blocks redundant label/search pages. But a few tweaks would help out also. Something along the lines of adding these two lines to the robots.txt

Disallow: /feeds/comments
Disallow: /*?showComment*


Now if I have that right (which I may not) that would 1) Block comments feeds from being indexed. That's where I believe the comment pagination links are being picked up from mainly, and besides comments feeds really don't need to be indexed do they? 2). Would block any urls with ?showComment in them which would block any of the comment permalinks if they got picked up somewhere else.

Or maybe there is a better way of doing it. Or they could do nothing. I'm just ranting.

Wednesday, September 24, 2008

Random Post Widget Fix

Ok, following up on the recent breakage of the Random Post widget, I've updated the instructions page with the new code that should fix everything. If you need it, then go to the Widgets Instruction page and you can get the new works.

If you installed the one-click widget then all you need to do is delete the old one, and reinstall from the updated instructions page.

If you used the manual code, then you just need to replace the old script code in your template with the updated code. (Note - if you are an FTP blog make sure you redo the first line with your Blog ID - only FTP blogs need to do that.)

Hopefully this should resolve all issues. Thanks for shopping at phydeaux3 and have a nice day.