网站日期是否有标准化(meta?)标签? [英] Is there a standardized (meta?) tag for the date of a website?

查看:223
本文介绍了网站日期是否有标准化(meta?)标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索引擎真正吸引的一件事是创建网站的日期。您知道这个问题:您搜索了一些CSS或JavaScript问题,Google从2002年起返回了大量的结果,解释了如何在IE 5.5和Netscape 4.6中解决问题,而有用的文章则被放在第3页上。只有一个用于第3页,而有意义的搜索结果不是这样。

One thing that search engines really suck with is the date when a website was created. You know the problem: You search for some CSS or JavaScript problem and Google returns a ton of results from 2002 explaining how to fix the problem in IE 5.5 and Netscape 4.6 while the helpful articles are buried on Page 3. There is only one use for Page 3, and meaningful search results are not it.

无论如何,我只是想知道是否有标准化或至少普遍接受的标签或元标记,我可以放在我自己的页面上来表示他们创建的日期?

Anyway, I just wonder if there is a standardized or at least generally accepted tag or meta tag that I can put on my own pages to indicate the date they were created?

不是它有助于过滤掉搜索结果中的旧垃圾(特别是因为他们的2002年文章中的人们没有激励改变),但我只是想做我的一部分:P

Not that it helps filtering out the old crap out of search results (especially since the people at #1 with their 2002 articles have zero incentive to change), but I'd just like to do my part :P

推荐答案

有一些 WHATWG元扩展建议,在 HTML5规范,可以满足页面的创建日期。

There have been a few WHATWG Meta Extension proposals, referenced in the HTML5 specification which could cater for the creation date of a page.

接受提案

dcterms.available - 资源可用的日期。

dcterms.created - 资源的创建日期。

dcterms .dateAccepted - 资源被接受的日期。

dcterms.submitted - 提交资源的日期。

dcterms.issued - 资源的发布日期。

"Accepted" Proposals
dcterms.available - The date the resource became available.
dcterms.created - The creation date of the resource.
dcterms.dateAccepted - The date the resource was accepted.
dcterms.submitted - The date the resource was submitted.
dcterms.issued - The publication date of a resource.

相关Accepted提案

dcterms.modified - 资源的修改日期

dcterms.valid - 资源的有效性。

Related "Accepted" Proposals
dcterms.modified - The modification date of a resource
dcterms.valid - The validity of the resource.

由于缺少文档(例如创建),有几个不完整的提案尚未被接受。

There are a couple of "incomplete proposals" which haven't been accepted due to a lack of documentation (such as created).

我不相信 Hangy's answer dc.date (现在 dcterms.date )在这里是相关的,据我所知,这个日期是与资源相关联的日期。例如,如果资源是关于1066年黑客之战的讨论,则 dcterms.date 可以设置为1066.对于<$ c也可以这样说$ c> icas.datetime 。

I don't believe Hangy's answer of dc.date (now dcterms.date) would be relevant here as, as far as I'm lead to believe, the date of this is the date associated with the resource. For example, if the resource was a discussion about the Battle of Hastings in 1066, the dcterms.date could be set to 1066. The same could also be said for icas.datetime.

这篇关于网站日期是否有标准化(meta?)标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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