问题原文
原帖链接 · Brendan Vogt · CC BY-SA 3.0
I am trying to understand what the various dates mean in Article from Schema.org.
From what I can understand is the following:
dateCreatedis when the writer first starting with the article. Nothing has been made public yet for reading.dateCreatedcan be earlier or the same asdatePublished, but not later.datePublishedis when the writer is finished with the article and has made it available online for reading.dateModifiedis when the article is modified.
The above is my opinion. What is the general opinion regarding this?
If an article has not be edited will it then contain nothing/null for dateModified? The reason why I ask is because when you run your code through the structured data testing tool it says that dateModified is not required but recommended. How can it be recommended for articles that have not been edited from their original source? Should dateModified then be the same as datePublished just so that the red error message can go away? Or shouldn't I worry about it and treat it as a warning?
When is dateModified set for the first time? After dateCreated or after datePublished?
社区高分解答
原帖链接 · grg · CC BY-SA 3.0
dateModified always has a potential value (there's always something you could set) and can be equal to or later than dateCreated. ‘Creating is modifying’ and a good example of this is the filesystem on whatever OS you're using — creating a file sets the dateCreated and the dateModified together, then subsequent edits change the dateModified.
Whether or not you count publishing as a modification or not is up to you, but I encourage you to be consistent with this. In my case, I do count publishing as a modification, so when publishing I set datePublished and update dateModified.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
