神馬搜索結構化數據提交,神馬搜索向優質網站開放結構化數據提交功能。符合質量要求的網站,根據神馬的數據需求將需要的網頁字段數據提交給神馬搜索,神馬搜索在搜索結果中按既定模板展現,提升網站在搜索結果中的體驗,幫助站長獲得更多的搜索流量。
神馬搜索目前支持文檔、自媒體、視頻、資訊、論壇、問答等內容類型的數據,后續會逐步開放更多類型的數據。
開放數據的格式:
結構化數據支持以xml文件及索引型xml格式提交,其中限定索引型xml最多不超過三層,每層的item不超過1000個。
1.頂層xml格式
<sitemapindex>
<sitemap>
<loc>
http://www.abc.com/structure/index_1.xml
</loc>
<lastmod>2013-12-18 12:59:12</lastmod>
</sitemap>
<sitemap>
<loc>
http://www.abc.com/structure/index_2.xml
</loc>
<lastmod>2013-12-18 12:59:13</lastmod>
</sitemap>
</sitemapindex>
2.中間層xml格式(非必要,視數據量而定)
<sitemapindex>
<sitemap>
<loc>
http://www.abc.com/structure/index_1/1.xml
</loc>
<lastmod>2013-12-18 12:59:12</lastmod>
</sitemap>
</sitemapindex>
3.數據層xml格式
不同網頁類型的字段要求不同,此處僅列出通用字段
<?xml version="1.0" encoding="utf-8"?>
<document>
<webName>![CDATA[您的網站名(如淘寶網)]]</pwebName>
<hostName>![CDATA[網站主機名]]</hostName>
<datalist>
<item>
<url>![CDATA[http://www.domain.com/p-657298480.html]]</url>
<title>![CDATA[網頁標題]]</title>
<publishdate><![CDATA[2013-05-24]]></publishdate>
<tags><![CDATA[網頁核心關鍵字]]></tags>
</item>
<--n組item-->
</datalist>
</document>