How do search engines find relevant content?

后端 未结 13 599
无人共我
无人共我 2021-01-29 20:03

How does Google find relevant content when it\'s parsing the web?

Let\'s say, for instance, Google uses the PHP native DOM Library to parse content. What methods would t

13条回答
  •  醉话见心
    2021-01-29 20:29

    Tricky, but I'll take a stab:

    An image (If applicable)

    • The first image on the page
    • the image with a name that includes the letters "logo"
    • the image that renders closest to the top-left (or top-right)
    • the image that appears most often on other pages of the site
    • an image smaller than some maximum dimensions

    A < 255 paragraph from the best slice of text

    • contents of the title tag
    • contents of the meta content description tag
    • contents of the first h1 tag
    • contents of the first p tag

    Keywords that would be used for our search engine, (stack overflow style)

    • substring of the domain name
    • substring of the url
    • substring of the title tag
    • proximity between the term and the most common word on the page and the top of the page

    Meta data Keywords,Description, all images, change-log (for moderation and administration purposes)

    • ak! gag! Syntax Error.

提交回复
热议问题