为 YouTube 嵌入式视频创建视频站点地图

Creating a video sitemap for YouTube embedded videos

所以我有一个网站,其中使用默认的 iframe 嵌入了大量 YouTube 视频。现在,我想为我的网站创建一个视频站点地图,但我似乎找不到关于如何使用框架内的视频进行此操作的明确指南。 AudienceBloom.com 的 This entry from the Moz.com blog says that you need to use YouTube's old embed code (the one using <object> tags) in order for robots to be able to crawl them, as they don't crawl iframes. However, it's almost 5 years old (January 2012). So I looked at this other link 声称 Google 现在会抓取 iframe,只要它们对 SEO 友好(?)。但是,它补充说:

it is suspect that Google, unlike other major search engines, will ignore iFrames that point to a different domain, and not the top-level domain, or TDL.

但是,同样,这篇文章不是最新的。事实上它已经2岁多了。

所以我的问题是,这件事情目前是什么情况? google 现在会抓取 YouTube iframe 中的视频,只要它们正确包含在站点地图中吗?还是我必须使用 <noframes> 标签或旧的 YouTube 嵌入代码?

如有任何帮助,我们将不胜感激!我相信这也会对很多其他人有所帮助,因为这件事现在似乎还不清楚。

就像 THIS post 的 w3dk 的评论中写的那样 google 正在索引 Iframes 可能只是 not 在父文档的上下文中。 (2016)

At support.google.com 你可以发现 "Google tries to associate framed content with the page containing the frames, but we don't guarantee that we will."

但是你提供的信息越多越好。 所以我建议制作一个站点地图,并为那些禁用框架的人添加 <noframes>。 (提供备用内容)