← Back to team overview

launchpad-dev team mailing list archive

Re: how to get better Google results for Launchpad

 

On 22 November 2011 23:12, Paul Sladen <sladen@xxxxxxxxxxxxx> wrote:
> 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.

Thanks, I'm glad you like it.

>> 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:

https://code.launchpad.net/~mbp/launchpad/808282-canonical-url/+merge/82811

actually renamed to recommended_canonical_url by a suggestion from Benji.
>
>  wget https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/209513
> -qO- | grep -c rel.*canonical
>  0

It's not merged yet.  When it is, it will take up to a few days before
it is live.

>
> 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

Please check the patch.

-- 
Martin


Follow ups

References