Adrian Cini

Adrian Cini - Web Developer and internet marketer personal blog

Google Authorship – building an obsolete tool in dotnetblogengine

Google Authorship – building an obsolete tool in dotnetblogengine

So I was about to publish my next post about some simple but yet effective development I did on the dotnetblogengine which is the blog engine running this blog and how easy it is to add custom extensions. I was glad that with few lines of code and a less than 5 minute youtube tutorial I was able to make a Google Authorship extension for my blog, see plan below :) .

Google Authorship is dead

The plan scribble on a piece of wine stained paper as opposed to notes I take at work, these are normally coffee stained reported something like this. GoogleAuthorshipExtennsion for dotnetblogengine

  • On end of each post publishing
  • Gets the post author
  • Reads from an uploaded xml file
  • XML file contents
    • Blog Post Author
    • GoogleAuthorid
    • Display Google Authorship
    • Author Description

Practically my first BlogEngine.NET.Custom.Extensions would append the author details based on the google authorship standard to every post in my blog.

Google Author Adrian Cini

What is google authorship and why it was relevant for seo

Google Authorship is a way to link blog content like posts to the actual author Google+ profile. This is easily achieved using the < a rel="author" and passing in your google plus profile id. This not only claimed to improved the search results but also returned a nice picture of the author, nice is a relative word in some cases. PS: At this point I realised I was building an obsolete tool.

Google Authorship search result example

Why was relevant ..... easy cause Google understood that there is even a better way to do things and they kindly informed the community that:
Authorship no longer supported

I repeat Authorship is dead

Google ended its three-year experiment with Google Authorship yesterday, but the use of Author Rank to improve search results will continue, from the google webmasters blog.

The Dotnetblogengine Extension for Google Authorship in 20 minutes

If you have the code base of blogengine and it is open in visual studio and no problem with publishing this will be an interesting 10 minute job. If you do not then cool great time to get started with this new blog engine, go get the code from code plex

You will need to add a new class to the extension folder: Custom\Extensions\OnPageSeo.cs .By referencing a couple of Blogengine libraries BlogEngine.Core and BlogEngine.Core.Web.Controls;
[Extension("OnPage Description Metatags, Google Author","1.0.0","Adrian Cini")]
public class OnPageSeo
The web controls reference will allow us to define extension attributes, thanks to this we will be able to plug an event on the post a right place to do this is in the constructor.
public OnPageSeo()
{
Post.Serving += new EventHandler(Post_Serving);
}
and add our html to the end of the body post with just a simple string concat.

public void Post_Serving(object sender, ServingEventArgs e){
if (e.Location == ServingLocation.SinglePost)
{
//TODO XML with author settings
e.Body += GetAuthorTag("111254170622220751214");
e.Body += FaceBookShare();
}

Conclusion

If Google can afford to kill the work done on their authorship program than so can I. That is the way the cookie crumbles and now that I know how easy it is to add extensions to the blogengine platform just sit back and wait for The Rich Snippit Extension created by myself in my next my article.

See what Google had to say back in the day:

About the author

Adrian Cini - worked in different markets like gaming , marketing, regulatory bodies, government etc. Passionate in Internet marketing, search engine optimisation and development frameworks.
Facebook

Pingbacks and trackbacks (1)+

Loading