jar.opera_Opera:只有4.13%的网络代码有效

jar.opera

alt

A new study from Opera finds that the overwhelming majority of web sites don’t adequately support web standards. The good news is that compared to previous studies, more web sites are valid today than they were in previous years. The bad news is that just 4.13% of the URLs included in the studies sample size — which was over 3.5 million web pages — passed the W3C validator.

Opera的一项新研究发现,绝大多数网站都没有充分支持Web标准。 好消息是,与以前的研究相比,今天有效的网站比过去几年更有效。 坏消息是,研究样本量中包括的URL中只有4.13%(超过350万个网页)通过了W3C验证器

The results came from Opera’s “Metadata Analysis and Mining Application” (MAMA), a search engine that “indexes the markup, style, scripting and the technology used while creating Web pages.” Opera engineers and data miners can then ask the search engine questions like, “how many sites use CSS?” (the answer is 80.4%) or, “how many markup errors does the average site have?” (it’s 47).

结果来自Opera的“元数据分析和挖掘应用程序”(MAMA),该搜索引擎“为创建网页时使用的标记,样式,脚本和技术建立索引”。 然后,Opera工程师和数据挖掘者可以向搜索引擎提问,例如“有多少个站点使用CSS?” (答案为80.4%)或“平均网站有多少标记错误?” (47岁)。

Opera is vague about what they’ll do with this tool, other than continue to analyze the data and post additional finding, but a press release hints at the possibility of making it publicly available to web developers.

除了继续分析数据并发布其他发现之外,Opera对他们将使用该工具的用途不明确,但新闻稿暗示了将其公开提供给Web开发人员的可能性。

“MAMA will help Web developers find examples of usage of features and functions, look at trends and gather data to justify technology to their clients or managers,” wrote Opera. “This will also encourage standards bodies to take into account developers’ suggestions about what is happening on the Web in reality and will eventually raise the quality and interoperability of specifications, the Web and browsers.”

Opera写道:“ MAMA将帮助Web开发人员查找使用功能和特性的示例,查看趋势并收集数据,以向其客户或经理证明技术合理性。” “这还将鼓励标准组织考虑开发人员对现实中Web发生的事情的建议,并最终提高规范,Web和浏览器的质量和互操作性。”

Ars Technica, which posted an analysis of the findings today, also seems to think that the search tool Opera writes about will be made public.

今天发布分析结果的 Ars Technica似乎也认为Opera编写的搜索工具将被公开。

The MAMA study findings released today, also revealed that ~50% of pages sporting “W3C Valid” buttons aren’t actually valid. The reason, surmises Opera, is that keeping pages valid is not easy for many developers, and for many keeping up with evolving standards is difficult. The key takeaway, says Opera, “is that people are BAD at this ‘HTML thing.’ Improper tag nesting is rampant, and misspelled or misplaced element and attribute names happen all the time. It is very easy to make silly, casual mistakes — we all make them.”

今天发布的MAMA研究结果还显示,约有50%带有“ W3C有效”按钮的页面实际上是无效的。 Opera认为,原因是使页面有效对许多开发人员而言并不容易,并且许多人都难以跟上不断发展的标准。 Opera说,主要的收获是,“人们对这种'HTML东西'持反感。 标签嵌套不当很普遍,并且元素和属性名称经常出现拼写错误或放错位置的情况。 犯傻的,偶然的错误很容易-我们都犯了。”

One problem, though, is that the tools people are using to create web pages also turn out ugly, invalid code. MAMA also looked at validation as it related to web page editors and content management systems, and found that with the exception of Apple’s iWeb — for which an impressive 81.91% of URLs pass validation — the results were generally dismal. Just 0.55% of pages made with Microsoft Frontpage are valid, according to MAMA, just 3.44% for Adobe Dreamweaver.

但是,一个问题是,人们用来创建网页的工具也会产生难看的无效代码。 MAMA还着眼于与网页编辑器和内容管理系统相关的验证,并发现,除了苹果公司的iWeb(其令人印象深刻的URL中有81.91%通过验证)外,结果通常令人沮丧。 据MAMA称,使用Microsoft Frontpage创建的页面只有0.55%有效,而Adobe Dreamweaver仅占3.44%。

For content management systems, the results weren’t much better. WordPress pages were valid just 9.0% of the time, just 12.74% for Typo, and 6.45% for Joomla. Google’s Blogger fared the worst, with only a paltry 0.30% of URLs passing validation.

对于内容管理系统,结果并没有好得多。 WordPress页面的有效时间仅为9.0%,Typo仅为12.74%,Joomla为6.45%。 Google的Blogger表现最差,只有很少的0.30%的URL通过了验证。

There is a lot of interesting information to dig through in the full results and Opera is promising to release more results as part of a planned “long, multi-part saga.”

完整的结果中有很多有趣的信息可供挖掘,Opera有望发布更多的结果,作为计划的“长期,多部分的传奇”的一部分。

翻译自: https://www.sitepoint.com/opera-just-413-of-webs-code-is-valid/

jar.opera

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值