Blogger – Grey Panthers Savannah https://grey-panther.net Just another WordPress site Fri, 25 Feb 2011 10:02:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.9 206299117 Sorry for the malware warning! https://grey-panther.net/2011/02/sorry-for-the-malware-warning.html https://grey-panther.net/2011/02/sorry-for-the-malware-warning.html#comments Fri, 25 Feb 2011 10:02:00 +0000 https://grey-panther.net/?p=77 If you have tried to visit my blog recently, you might have to a warning like this from your webbrowser:

Warning: Something's Not Right Here!

hype-free.blogspot.com contains content from randaclay.com
, a site known to distribute malware.
Your computer might catch a virus if you visit this site.
...

The source of the warning is the image / link in the comment form, which I have now removed (or more precisely replaced with a local copy). It seems that the randaclay.com has been hacked and thus it is classified as malicious by Google, which in turn leads to all sites linking to it being marked a potentially malicious. So, while I’m sorry for doing this, I will remove the links to their site until they manage to resolve the issue and will mirror their manifesto below:

Almost all blog platforms by default are set up so that a “dead end” piece of code is inserted wherever there is a link in a comment, so that search engines will not “count” the link as they are crawling the internet. This was originally designed to help stop comment spam, but it doesn’t work. What it does is remove some of the incentive for your readers contribute to your site by commenting on your posts.

What can you do about it? Turn off “nofollow”. Show your commenters that you appreciate them. Spread the link love.

]]>
https://grey-panther.net/2011/02/sorry-for-the-malware-warning.html/feed 1 77
Update to the Blogger Tag Cloud https://grey-panther.net/2010/04/update-to-the-blogger-tag-cloud.html https://grey-panther.net/2010/04/update-to-the-blogger-tag-cloud.html#comments Tue, 20 Apr 2010 14:27:00 +0000 https://grey-panther.net/?p=106 A small PSE (Public Service Announcement): if you were using the Blogger Tag Cloud I’ve put together based on the WP-Cumulus plugin, you might have noticed that it stopped working some time ago (I’m not entirely sure when, since I didn’t notice it, until a reader commented and brought it to my attention – thanks again Soufiane).

The problem was that the server hosting the SWF and JS file didn’t serve them anymore, instead giving a 403 – access refused error. To mitigate this problem I’ve uploaded the SWF file to Google Code and used the JS file from the Google Ajax Library and bought the plugin back to life.

So, if you are using the plugin and you are subscribed to my feed, go to the original (now updated) post and use the new code.

Thank you and sorry for any inconvenience caused!

]]>
https://grey-panther.net/2010/04/update-to-the-blogger-tag-cloud.html/feed 1 106
Pulling a Hanselman https://grey-panther.net/2009/07/pulling-a-hanselman.html https://grey-panther.net/2009/07/pulling-a-hanselman.html#comments Fri, 24 Jul 2009 14:24:00 +0000 https://grey-panther.net/?p=256 User interface / interaction design 101: if you want something, the least you can do is to ask for it. So I decided to take a page out of Scot Hanselman’s book (a blog worth reading BTW if you are interested in programming – it has an emphasis on Microsoft specific technologies, but other topics are also mentioned quite frequently) and created a “banner” which is shown to the visitors the first time they arrive at the site (or every time if they use incognito mode :-)).

scott_hanselman_blog

So, if you like my ramblings, please subscribe. If you don’t, leave a comment and subscribe :-).

]]>
https://grey-panther.net/2009/07/pulling-a-hanselman.html/feed 1 256
Tried to review RocketPost… https://grey-panther.net/2009/07/tried-to-review-rocketpost.html https://grey-panther.net/2009/07/tried-to-review-rocketpost.html#comments Mon, 13 Jul 2009 09:21:00 +0000 https://grey-panther.net/?p=274 435561154_94cde137f3_o A reader of mine asked about my opinions about RocketPost, so I thought I’ll give it a try. Their interface seemed alright and there were some interesting features showcased in the tour. An other thing I’ve liked is that they offer a free version with no restrictions, other than the number of blogs limited to one.

Unfortunately I failed to get it to work :-(. I tried to make it recognize my blog, but I had no success (just a bunch or error messages). I’ve tried both the free basic and a trial of the pro version on two systems (one running WinXP and one running Win7) with the same (lack of) results. One thing I remarked is that it installs a Firefox extension, the purpose of which I’m not entirely sure about… (probably it has some integration with the browser). Their FAQ system wasn’t much help either. It only offers to search by keywords, and doesn’t show a list of known issues. It also didn’t return anything when I tried to search for “Blogger” and other related URL’s…

But the the funniest (or most annoying – depending on your point of view) message was the following:

rocketpost_uninstall_error_message

This appears when you try to uninstall the product it asks you if you want to restart your computer, but the text of the message gets lost somehow (this problem reproduced constantly on both systems with both versions). If you are unfortunate enough to click Yes and have some unsaved work… (then again, you shouldn’t try out beta software on your main system).

Final verdict: unknown. I wouldn’t pay money for it at the moment, that’s for sure.

Picture taken from Bitpicture’s photostream with permission.

]]>
https://grey-panther.net/2009/07/tried-to-review-rocketpost.html/feed 2 274
Blogger tag cloud https://grey-panther.net/2009/03/blogger-tag-cloud.html https://grey-panther.net/2009/03/blogger-tag-cloud.html#comments Tue, 24 Mar 2009 12:48:00 +0000 https://grey-panther.net/?p=347 Some time ago I experimented with the Cumulus plugin for Blogger, but concluded that I had so many tags (probably a sign of ADD :-)) that the only thing it did, was to transform your computer into a heater, by keeping the processor at 100%. So, I created a Yahoo Pipe which extracts the top N tags and modified the source code for the embedding to use it.

Below you can see the pipe, which is relatively simple:

top_tags_yahoo_pipes

The code consumes the result of the pipe as JSON and generates the flash object. It is adapted from the original include code. If you wish to use it, you should edit the Yahoo Pipes URL (replace it with your blog URL and the number of tags you wish to show), the text color (on the line with “tcolor”) and possibly the size of the flash. The weird method for constructing the links is necessary because Blogger seems to “muck” with the code otherwise.

<div id="tagCloudContainer"></div>
<script type="text/javascript">
var tagCloud = {
  'storeCloud' : function (obj) {
    var baseUrl = location.protocol + "//" + location.host;
    var cloud = '';
    for (var i in obj.value.items) {
      cloud += "<" + "a " + "href='" + baseUrl + "/search/label/" + obj.value.items[i].title + "' style='8'>" + obj.value.items[i].title + '<' + '/a>';
    }
    cloud += '<' + '/tags>';    
    tagCloud.cloudTags = cloud;
    setTimeout(tagCloud.renderTagcloudCallback, 100);
  },
  
  'renderTagcloudCallback' : function () {  
    try {
      swfobject.embedSWF('http://hype-free.googlecode.com/svn/trunk/blog/tagcloud.swf', 'tagCloudContainer', '230', '240', '7', '',
        { 'tcolor' : '0x666633', 'mode' : 'tags', 'distr' : 'true', 'tspeed' : '100', 'tagcloud' : tagCloud.cloudTags },
        { 'wmode' : 'transparent', 'allowScriptAccess' : 'always' });      
    } catch (err) {
      alert(err);
      setTimeout(tagCloud.renderTagcloudCallback, 100);
    }
  },
  
  'init' : function () {
    var script = document.createElement('script');
    script.src = 'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js';
    document.getElementsByTagName('head')[0].appendChild(script);
    
    script = document.createElement('script');
    script.src = 'http://pipes.yahoo.com/pipes/pipe.run?BlogUrl=http%3A%2F%2Fhype-free.blogspot.com%2F&Topcount=10&_id=xKTkgQsT3hGl4j3nJpREag&_render=json&_callback=tagCloud.storeCloud';
    document.getElementsByTagName('head')[0].appendChild(script);    
    return this;
  }
}.init();
</script>

If you are reading this in your RSS reader, visit the blog to see it in action.

Update: it seems that the Flash file can’t interpret tag names with special symbols in them (like ‘). Because of this I modified the pipe so that such tags are filtered out. This will result in some top tags not being displayed (if they contain special characters), but I considered this the right solution, because even if they were displayed, clicking on them wouldn’t result in anything. Credit goes to Evie for finding this issue.

Update: the S3 instance hosting the flash file and javascript (halotemplates.s3.amazonaws.com) went away (thanks to Soufiane for pointing this out). So I’ve downloaded the latest version of the WP-Cumulus and uploaded the SWF file from to Google Code. The SWFObject library is also served from there. So to everyone using the old version: please update to the latest code posted above to make it work again. Sorry for the disruption!

Update: The update broke the “clickability” of the links, since it seems that the new SWF file requires absolute URLs for that. This is now fixed in the script above.

Update: Yahoo pipes changed their backend and thus some adjustment was needed in the pipe which was done.

]]>
https://grey-panther.net/2009/03/blogger-tag-cloud.html/feed 25 347
Blogger tag plugin https://grey-panther.net/2009/03/blogger-tag-plugin.html https://grey-panther.net/2009/03/blogger-tag-plugin.html#comments Fri, 13 Mar 2009 12:57:00 +0000 https://grey-panther.net/?p=362 I wanted to install the the Cumulus plugin for Blogger, however I realized that I have too many tags :-), so here is a static snapshot instead.

Blogumulus by Roy Tanck and Amanda Fazani

Update: reduced the number of tags to avoid hogging the CPU.

Update: the server hosting the javascript / flash files went away, so I’ve moved them to alternative locations. See this post for the details.

]]>
https://grey-panther.net/2009/03/blogger-tag-plugin.html/feed 2 362
Update to the Top Commenters widget https://grey-panther.net/2009/02/update-to-the-top-commenters-widget.html https://grey-panther.net/2009/02/update-to-the-top-commenters-widget.html#respond Tue, 17 Feb 2009 16:17:00 +0000 https://grey-panther.net/?p=398 404571262_a7ce21a9f2_oSome time ago I created a "Top Commenters" widget for Blogger using Yahoo Pipes. Unfortunately my efforts to use the resulting RSS directly failed. The problem was that Blogger was displaying older entries, even though I tried a bunch of different things to convince it that the element were new (like setting the date, adding random characters to the name and/or the link). Even after extensive discussions on the Blogger Help Group I couldn’t figure it out.

So I give it up and embed directly the Blogger widget offered by Yahoo. I didn’t want to go this way for two reasons: I didn’t want my readers to have to load an other javascript. Also from a security stand point, it is better not to load Javascript / Flash from third party sources (not that I don’t trust Yahoo, but better safe than sorry).

PS. I checked out some alternative RSS manipulation services, but none of them could deliver HTML in a sinkable enough format. So until Yahoo offers HTML out or I figure out the mysteries of the Blogger RSS fetcher, I’m stuck with this solution.

Image taken from Tomas Caspers’ photostream with permission.

]]>
https://grey-panther.net/2009/02/update-to-the-top-commenters-widget.html/feed 0 398
Making sure that your favicon works with Blogger https://grey-panther.net/2008/12/making-sure-that-your-favicon-works-with-blogger.html https://grey-panther.net/2008/12/making-sure-that-your-favicon-works-with-blogger.html#comments Fri, 12 Dec 2008 15:40:00 +0000 https://grey-panther.net/?p=535 My favicon stopped showing up some time ago on my blogger page, but until now I was just too lazy to investigate. Turns out that blogger adds the following line in the header:

<link href='http://www.blogger.com/favicon.ico' rel='icon' type='image/vnd.microsoft.icon'/>

Which overrides my favicon setting. The solution? Put your favicon declaration after the following line in your template:

<b:include data='blog' name='all-head-content'/>

Something like this:

<b:include data='blog' name='all-head-content'/>
<link href='http://hype.free.googlepages.com/info.ico' rel='shortcut icon' type='image/vnd.microsoft.icon'/>

I tested it in FF3, Opera 9.50 and IE7 and it works in all three of them.

Hope this helps.

]]>
https://grey-panther.net/2008/12/making-sure-that-your-favicon-works-with-blogger.html/feed 3 535
Creating your own top commenters widget for blogger https://grey-panther.net/2008/12/creating-your-own-top-commenters-widget-for-blogger.html https://grey-panther.net/2008/12/creating-your-own-top-commenters-widget-for-blogger.html#comments Thu, 04 Dec 2008 12:52:00 +0000 https://grey-panther.net/?p=557 Some time ago I added a top commenter widget to the blog, based on a tip from Blogger Buster. However it started acting up, so I decided to roll my own using Yahoo Pipes!. Below you will find a short tutorial on how to do it, as well as the ready-made pipe, based on the idea that “if you teach a man how to fish…”.

The steps performed by the pipe are the following:

  1. It takes the blog URL from the user
  2. It removes the beginning (“http://”) and end (“/”) of the URL. This is much easier than requiring the user to enter the URL in a particular format 🙂
  3. It builds the URL for the comment feed of the given blog. We only fetch the summary of the last 500 comments to conserve bandwidth.
  4. It fetches the given feed.
  5. You can specify a given user who should not be shown (probably your own nick)
  6. It filters out comments made by anonymous and by the specified user
  7. It aggregates the comments based on the author names
  8. It sorts the result in descending order based on the number of occurances
  9. Puts the author name in the title and the author link in the link field for the resulting feed.
  10. Finally it appends the count to each title

You can access the pipe here and create your own, customized version (different blog URL, different user to filter out).

To add it to your own blog, add a “Feed” widget with the resulting RSS feed (you can obtain the address of the feed by going to “More options” -> “Get as RSS”)

Update: I can’t figure out how to make the Blogger RSS fetcher to update the complete feed. Until I figure out, you can use the the alternative solution described here.

]]>
https://grey-panther.net/2008/12/creating-your-own-top-commenters-widget-for-blogger.html/feed 2 557
Pimping my blog https://grey-panther.net/2008/10/pimping-my-blog.html https://grey-panther.net/2008/10/pimping-my-blog.html#respond Sat, 11 Oct 2008 09:37:00 +0000 https://grey-panther.net/?p=660 I’ve re-arranged my blog a little for it to be more usable (for both of my regular readers :-)). Here are some things I’ve done:

  • Added my logo in the header
  • Redirected the autodiscovery feeds through Feedburner. This should give a more accurate readership number (fortunately users don’t have to do anything for this to work).
  • I’ve moved my sidebar over to the right. As most people start reading on the left side of the page, it is more logical to have the content there, rather than navigation / subscription / etc (although this may depend on the goals you try to achieve).
  • I’ve reduced the number of text fields. To do this I’ve hidden the blogger navbar (it doesn’t seem to violate the TOS) – my biggest problem with it was that the search box was on the left side, while I would have preferred to be on the right side. To compensate for it, I’ve added a search box on the right side (where it belong IMHO). I played around with Google Custom Search for a while, but there was a delay between me posting and Google indexing, and also it didn’t blend it nicely with the template.
  • Also, I’ve hidden by default the e-mail subscription box. It was distracting attention, and probably most people will use feeds anyway. You can still get to it by clicking on the “Subscribe via e-mail” link. The image used for it was taken from Wikimedia Commons.
]]>
https://grey-panther.net/2008/10/pimping-my-blog.html/feed 0 660