[web2py] Re: response.meta attributes

2011-06-06 Thread Massimo Di Pierro
you have to edit the layout.html

On Jun 6, 7:08 am, Francisco Costa m...@franciscocosta.com wrote:
 Hello,

 I would like to have some meta tags that look like this:
     meta property=og:type content=activity /

 This is because of the facebook like 
 button:https://developers.facebook.com/docs/reference/plugins/like/(Step 2 -
 Get Open Graph Tags)

 The thing is when you try response.meta.foo = 'bar' it generates
     meta name=foo content=bar /

 Any help on creating meta tags with the attribute property?


[web2py] Re: response.meta attributes

2011-06-06 Thread Francisco Costa
 you have to edit the layout.html

I suppose I could but I won't get a like button in every pages and I'm
trying to have a clean code.

That's why I would like to be able to define those meta tags in
controllers or views.