如何找出谷歌如何排序网页?

时间:2015-12-03 07:01:08

标签: html

所以我被告知你可以在一个html页面中设置一个标签,告诉搜索引擎它是什么类型的页面(如果标签被设置为游戏,那么google将把它组织成游戏)。这将做什么标签以及如何找到它? (哥哥告诉我这个,如果不可能,或者我会理解错误的信息)

2 个答案:

答案 0 :(得分:1)

您可以在网站中使用结构化数据来告诉搜索引擎页面上描述的内容并提供机器可读的详细信息。

这是(此时)recommended way by Google

http://schema.org详细介绍了此格式,可在此处找到类型:

http://schema.org/docs/full.html

为了解决您的示例,以下是Game (copy&paste)类型的示例:

<section itemscope itemtype="http://schema.org/Game">
    <section itemprop="offers" itemscope itemtype="http://schema.org/Offer">
        <span>Approx. Retail:</span>
        <span itemprop="priceCurrency">$</span><span itemprop="price">17.99</span>
        <a href="/monopoly-2/en_US/shop/where-to-buy.cfm?brand_guid=DAD28866-1C43-11DD-BD0B-0800200C9A66&prodName=Monopoly%20Game" itemprop="availableAtOrFrom">Where To Buy</a>
    </section>
    <span itemprop="audience" itemscope itemtype="http://schema.org/PeopleAudience">
      Ages: <span itemprop="suggestedMinAge">8</span> YEARS & UP
    </span>
      <h4>Game  Description:</h4>
    <p itemprop="description">Own it all as a high-flying trader in the fast-paced world of real estate. Tour the city for the hottest properties: sites, stations and utilities are all up for grabs. Invest in houses and hotels, then watch the rent come pouring in! Make deals with other players and look out for bargains at auction. There are many ways to get what you want. For really speedy dealers, use the speed die for a quick and intense game of Monopoly. So get on Go and trade your way to success!<br/><br/>Includes <span itemprop="gameItem">gameboard</span>, <span itemprop="gameItem">8 tokens</span>, <span itemprop="gameItem">28 Title Deed cards</span>, <span itemprop="gameItem">16 Chance cards</span>, <span itemprop="gameItem">16 Community Chest cards</span>, <span itemprop="gameItem">money pack</span>,<span itemprop="gameItem"> 32 houses</span>, <span itemprop="gameItem">12 hotels</span>, 2 dice and instructions<br/><br/>•Features a speed die for a faster, more intense game<br/>•Includes the new token that was voted No. 1: the cat<br/><br/>For <div itemprop="numberOfPlayers" itemscope itemtype="http://schema.org/QuantitativeValue">
<span itemprop="minValue">3</span> to <span itemprop="maxValue">5</span>  players </div>.<br/><br/>Ages 8 and up.<br/><br/>Monopoly and all related characters are trademarks of <span itemprop="copyrightHolder">Hasbro</span>. <P></p>
</section>

正如您所看到的,添加了一些属性,如itemtypeitemprop等,其中包含针对搜索引擎的数据。这些属性因类型而异。

答案 1 :(得分:0)

Google除了阅读标签以组织网页并对其进行排名外,还做了很多其他事情。但是,HTML中定义了一个标记来描述关键字和有关您网页的其他信息。

元标记放置在HTML文档的头部,可用于定义页面字符集,添加描述,关键字和作者(以及其他内容)。

例如:

<head>
<meta charset="UTF-8">
<meta name="description" content="Jordan's Homepage">
<meta name="keywords" content="Games, younger brothers, stack overflow">
<meta name="author" content="Jordan 1591">
</head> 

谷歌的排名算法非常复杂,并未完全公开,部分原因是为了防止人们滥用它们并被排名不公平,但任何搜索引擎(包括谷歌)都会将元标记视为裸机最小。