Gmail/Facebook 聊天 - iframa、ajax、url 锚点,但是索引呢?
我仍然不确定它是如何工作的(但这不是重点:D)。据我注意到,整个内容(几乎:D)都在 iframe 中,而聊天窗口在 iframe 之外。请求可能是通过 ajax 发出的,并且 url 正在像 const_part_of_url#something 一样发生变化 - 所以唯一的 url 锚点(或其他任何名称)正在发生变化。
有两件事困扰着我:
googlebot 怎么样,它是否能够正确索引这些页面(不是 gmail,而是使用一些使用类似“技术”的网页),第一是因为 iframe,第二是因为仅在 url 中更改了锚点?
是否可以使 url 的某些部分不仅更改锚点?
问题是我有一个 mp3 搜索引擎,你也可以在其中收听这些 mp3,这种带有播放列表的浮动“不重新加载”播放器会有点酷:D 但我非常关心正确的页面索引和其他 SEO等等……所以我现在真的不知道是否值得尝试:D
干杯
I'm still not sure how it works(but it's not the point:D). As far as I noticed, whole content(almost:D) is in the iframe and chat window is outside iframe. Request are probably made via ajax, and urls are changing like this const_part_of_url#something - so the only url anchors(or whatever it's called) are changing.
2 things bothering me :
What about googlebot, is it able to index those pages correctly(not gmail, but say some web page with similar "technology" used), 1st beacuse of iframe, 2nd because of only anchor changes in urls?
Is it possible to make some part of url changing not only anchors?
The thing is I have an mp3 search engine where you can listen these mp3s too, and this kind of floating, "not-reloading" player with playlist would be kinda cool:D But I'm very concern about proper page indexing and other SEO blah blah... so I don't really now if it's worth trying:D
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以检测机器人,而不是向它们提供仅限用户眼睛的内容...
编辑:您也可以按需加载它(javascript)...机器人不会加载它
you can detect robots and not feed them with user-eyes-only content ...
Edit : you can also load it on demand (javascript)... bots wont load it