我应该包含一个<元生成器>吗?标签?元生成器>
假设我有某种专有的网络框架。我应该在生成的文件中包含 标记吗?
我注意到 StackExchange 0.9 应用程序可以这样做,并且想知道这样做的优点/缺点是什么。它有什么作用,或者只是对查看源代码的人有用吗?
Suppose I have some sort of proprietary web framework. Should I include a <meta generator="My framework">
tag in the generated files?
I noticed that StackExchange 0.9 applications do that, and wondered what are the pros/cons of doing it. Does it have any effect, or is it just useful for people looking at the source to see?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
自动生成(也称为“自动生成”内容)是通过编程方式生成的内容。如果 Google 旨在操纵搜索排名而不是帮助用户,则可能会对此类内容采取行动。一些示例情况包括但不限于:
对读者来说毫无意义但可能包含搜索关键字的文本。
文本由自动化工具翻译,在发布前无需人工审核或管理。
通过自动化流程(例如马尔可夫链)生成的文本。
使用自动同义词或混淆技术生成的文本。
通过抓取 Atom/RSS 提要或搜索结果生成的文本。
拼接或组合来自不同网页的内容而没有增加足够的价值。
形成谷歌...
Automatically generated (also called "auto-generated"—content) is content that's been generated programmatically. In cases where it's intended to manipulate search rankings and not help users, Google may take actions on such content. Some example cases include, but are not limited to:
Text that makes no sense to the reader but which may contain search keywords.
Text translated by an automated tool without human review or curation before publishing.
Text generated through automated processes, such as Markov chains.
Text generated using automated synonymizing or obfuscation techniques.
Text generated from scraping Atom/RSS feeds or search results.
Stitching or combining content from different web pages without adding sufficient value.
form google...
这可以使黑客的工作变得更容易,因此明智的做法是保留选择性生成器。
This can make a hacker's job bit easier, therefore it would be wise to just keep selective generators instead.
好处(或坏处?)是您可以出现在 搜索 已完成生成器。
A benefit (or a con?) is that you can show up in searches done for generator.
我以前从未见过这样格式化的标签,其中包含名为
generator
的属性和生成软件作为其值。通常你会看到它呈现为name="generator"
以及生成软件作为其相应的内容,例如:以前我不知道这方面的任何标准,但它看起来像 HTML5 已经将“生成器”的使用标准化为元数据名称。它是这样描述的:
在过去,当动态 Web 应用程序还没有那么流行时,某些网站编辑器,例如 FrontPage(我说过),会在您创建新的 HTML 文档或使用它们发布网站时自动插入生成器标记。这意味着“此页面是使用 FrontPage 创建的”。我认为任何现代编辑器或 IDE 都不会再这样做了,但我可能是错的。然而,它现在在动态网络应用程序中肯定很常用。
I've never seen a tag formatted like that before, with an attribute called
generator
and the generating software as its value. Usually you'll see it presented asname="generator"
and the generating software as its corresponding content, for example:Previously I was unaware of any standard for this, however it looks like HTML5 has gone ahead and standardized the use of "generator" as a metadata name. It describes it thus:
In the past when dynamic web apps weren't that prevalent, certain web site editors, like FrontPage (there, I said it), would automatically insert generator tags when you create new HTML documents or publish sites using them. This was taken to mean "This page was created using FrontPage". I don't think any modern editors or IDEs do this anymore, but I could be wrong. It's definitely commonly used in dynamic web apps today, however.