我想添加与Zend框架headMeta(问题是:如何创建"itemprop"):-谷歌生成器+html5检查http://www.google.com/webmasters/+1/button/
<meta itemprop="name" content="Title of your content">
<meta itemprop="description" content="This would be a description of the content your users are sharing">
<meta itemprop="image" content="ourimage.jpg">
编辑:我想为google +做这个:http://www.google.com/webmasters/+1/button/
谢谢
我看到你把你的问题标记为"html5"。两天前我也有类似的问题。你不能在HTML5中使用"itemprop"。相反,你可以像这样使用元"name":
//这里$key类似于"description ", value -> "Title of your content"$ this -> headMeta()——> appendName(键,价值美元);
如果你想在facebook上这样做,这就是HTML5验证器不会抛出很多错误的方法