← Back to team overview

launchpad-dev team mailing list archive

Re: how to get better Google results for Launchpad

 

On 22/11/11 07:02, Martin Pool wrote:
I was a bit inspired by the recent Google developer day

schema.org tagging++ and kudos.

1- canonical_url_recommended property on a view

I think this is the only one without a merge/patch (sorry if I've missed it), currently:

wget https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/209513 -qO- | grep -c rel.*canonical
  0

My guess that is solvable with:

  canonical_url_recommended = 'http://launchpad.net/bugs/%d' % bug_number
  print <link rel="canonical" href="%s"/>' % canonical_url_recommended


Follow ups

References