今天看了一篇官方文檔,也就是百度移動(dòng)搜索建站優(yōu)化白皮書(shū),文章內(nèi)容指出內(nèi)容頁(yè)要加上產(chǎn)出時(shí)間,且時(shí)間盡量全,時(shí)間格式為年-月-日 時(shí):分:秒。
百度移動(dòng)搜索建站優(yōu)化對(duì)發(fā)布時(shí)間的要求
織夢(mèng)時(shí)間標(biāo)簽大全
arclist及l(fā)ist 自由列表及列表調(diào)用時(shí)間標(biāo)簽
{dede:arclist}...{/dede:arclist}里的時(shí)間調(diào)用標(biāo)簽:
{dede:arclist}
<p>[field:pubdate function="MyDate('Y年m月d日 H時(shí)i分s秒',@me)"/]</p>
{/dede:arclist}
文章頁(yè)單獨(dú)標(biāo)簽調(diào)用
{dede:field.pubdate function="MyDate('Y-m-d H:i:s',@me)"/}
或者
{dede:field.pubdate function="GetDateTimeMK(@me)"/}
或者
{dede:field name='pubdate'function='strftime("%Y-%m-%d %H:%M:%S",@me)' /}
{dede:field name='pubdate' function='GetDateTimeMk(@me)'/}