你能控制pinterest的“查找图片"吗?结果? [英] Can you control pinterest's "find image" results?

查看:17
本文介绍了你能控制pinterest的“查找图片"吗?结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户决定固定我们的网址之一,我想简单地控制在 Pinterest 的查找图像"结果中显示哪些图像,而不是通过我们的网站添加 Pin It 按钮.

Rather than add Pin It buttons through our site, I would like to simply control what images show up in Pinterest's "Find Image" results if a user decides to pin one of our URLs.

截至目前,查找图片"允许用户滚动浏览在页面上找到的图片,以便他们可以选择要固定的图片.我假设找到的"图像以 html 文件中的第一个 jpg 开头(这可能是一个错误的假设吗??).在我们的网站上,这迫使用户在到达特色产品图片之前滚动浏览大约 15 张导航和促销图片.有没有办法指定这个图像首先显示在这些结果中?也许通过元标记,或者通过向元素添加类或 id?

As of now, "Find Images" allows the user to scroll through the images it finds on the page so they can select which image to pin. The "found" images start with the first jpg in the html file, I'm assuming (could that be a bad assumption??). On our site, this forces a user to scroll through about 15 navigation and promotion images before arriving at the featured product image. Is there any way to specify this image to show first in those results? Maybe through a meta tag, or by adding a class or id to the element?

如果没有公开的 Pinterest API,这似乎只是猜测,但我想看看其他人是否遇到过这个问题,或者解决了这个问题.谢谢.

Without a public Pinterest API, this seems like just guesswork, but I wanted to see if anyone else has run into this, or solved this. Thanks.

推荐答案

大量搜索结果,包括 Pinterest 帮助中心 谈谈在 HTML 元素中使用 nopin,这是无效的 HTML.他们没有记录的是具有相同(格式良好)效果的数据属性.

A lot of search results including the Pinterest Help Center talk about using nopin in HTML elements, which is invalid HTML. What they don't document is a data attribute to the same (well formed) effect.

<代码><img src="foobar" data-pin-nopin="true"/>

这篇关于你能控制pinterest的“查找图片"吗?结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆