Of Code and Me

Somewhere to write down all the stuff I'm going to forget and then need

Speaking at JAX London 2011 October 1, 2011

Filed under: Android,guardian.co.uk,Java — Rupert Bates @ 5:15 pm

I am going to be giving a talk about the development of the recently released Guardian app for Android at the Jax 2011 conference.
The session is on the 2nd of November, more details here

Advertisements
 

Guardian App On Android V 1.0 September 7, 2011

Filed under: Android,guardian.co.uk — Rupert Bates @ 2:58 pm

Finally! The project I’ve been working on for the last 5 months goes live…
https://market.android.com/details?id=com.guardian
And:
http://www.guardian.co.uk/help/insideguardian/2011/sep/07/guardian-android-app

 

301 redirects from Asp.Net February 9, 2010

Filed under: Asp.Net,guardian.co.uk,Uncategorized,Web — Rupert Bates @ 2:29 pm

Using Response.Redirect in Asp.Net will issue a 302 (temporary redirect) response. For items that have moved permanently you should issue a 301 (permanent redirect) using code such as:

<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
    Response.StatusCode = (int) HttpStatusCode.MovedPermanently;
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location", "http://www.my-redirect.co.uk/newhomepage.aspx");
}
</script> 

Paul Roach the SEO lead at guardian.co.uk explains why this matters:
“301 redirects are preferable from an SEO point of view because they instruct the search engine to pass all of the value of the original page to the destination page, including link equity and page history / age. If you use 302 redirects the search engine considers it a temporary state and does not pass the value from the original page to the destination page, this can also lead to both pages being displayed in the index.”

 

New .Net Client Library for Guardian Open Platform November 26, 2009

Filed under: Asp.Net,C#,guardian.co.uk,Web — Rupert Bates @ 10:30 am

I’ve recently created a .Net client library for the Guardian’s Open Platform API which allows you to query guardian.co.uk, pull back content and ‘Build applications with the Guardian’.

The project is open source and hosted on codeplex.

You can find out more about the Open Platform API here:

http://www.guardian.co.uk/open-platform