我所接觸的谷歌對我的豐富網頁摘要,和他們說,一些HTML是隱藏的,這就是爲什麼豐富網頁摘要卻是不可見的搜索引擎:Schema.org隱藏的HTML
舉例: 網址:http://www.theprinterdepo.com/hp-color-laser-4700dn-printer-q7493a-r 標記類型:產品,評論 隱藏內容:6
事情是,我在magento中使用這種方式實現了代碼,summary.phtml,而我沒有看到它的隱藏方式。
<?php if ($this->getReviewsCount()): ?>
<div class="ratings">
<?php if ($this->getRatingSummary()):?>
<span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div class="rating-box">
<div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"><meta itemprop="ratingValue" content="<?php echo $this->getRatingSummary()/10 ?>"/></div>
<span itemprop="reviewCount"><?php echo $this->getReviewsCount() ?></span>
</div>
</span>
<?php endif;?>
<p class="rating-links">
<a href="<?php echo $this->getReviewsUrl() ?>"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a>
<!--<span class="separator">|</span>-->
<!--<a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Add Your Review') ?></a>-->
</p>
</div>
<?php elseif ($this->getDisplayIfEmpty()): ?>
<p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
<?php endif; ?>
[HIDDEN MARKUPS on Rich Snippets SCHEMA.ORG](http://stackoverflow.com/questions/13017400/hidden-markups-on-rich-snippets-schema-org) – bmargulies