Monday 12 September 2011

Text Links vs Image Links (SEO)

A slight departure from the normal SharePoint articles I normally write, so from a completely HTML design point of view, here's an interesting question that I've asked myself several times and only answered through my own experience and through quite a few assumptions.
If you have an image displaying text, how does that compare in terms of SEO (and by SEO I'm not referring to SharePoint search ranking here) against using the actual text itself in a link. To give an example, you may display a link using HTML markup like this:

<a href="/mylink/"><img src="thisisalink.jpg" alt="this is a link"/></a>

or like this:

<a href="/mylink/">this is a link</a>

Whichever way you decide, which one ranks better? 

It seems there is no definitive answer, but there are quite a debates about the whole subject. I read an article recently that helps to clarify: http://www.kingrosales.com/2009/04/seo-debate-text-links-vs-image-based-links/ but even this makes some assumptions. Having said that, in my experience, I have always used text and I think on the logic provided in the article, I feel as though that's probably the right way to go.

Friday 2 September 2011

Finding Feature IDs

​If you're anything like me, sometimes you need to find out what the ID of a SharePoint feature is and it can be something of a trial to locate the exact ID, especially if there's no handy SharePoint Server to remote onto and then go and search the FEATURES directory. So, a much easier way to get the ID of a feature is to use the Developer Toolbar (if you're using IE). Turn on the developer toolbar and select the Activate button of the feature you're interested in using the element selector. The button is enclosed in a DIV which has an ID attribute as follows:

ietoolbar_featuresexample.jpg
As you can see from the image, the ID attribute of the DIV is a GUID, and this GUID is the Feature ID. Simple.