我有一個頁面,其中通過使用JavaScript讀取JSON來動態(tài)加載一些事件。我div使用EventSchema.org標(biāo)記為每個事件構(gòu)建一個。Google的測試工具不會讀取此標(biāo)記。是由于標(biāo)記中的錯誤,還是由于動態(tài)加載?HTML代碼之一Event是:<div class="evento well" itemscope itemtype="http://schema.org/Event"> <meta itemprop="startDate" content="2015-03-20T20:00:00.000Z"> <meta itemprop="endDate" content="2015-01-21T20:00:00.000Z"> <div class="dataEvento"> <div class="dayWeekEvento">venerdì</div> <div class="dayNumEvento">20</div> <div class="monthEvento">Marzo</div> </div> <div class="datiEvento"> <div class="oraEvento">ore 21:00</div> <div class="titoloEvento"><span itemprop="name">Titolo evento</span></div> <div class="luogoEvento" itemprop="address" itemscope="" itemtype="http://schema.org/PostalAddress"><a href="https://www.google.it/maps/place/Milano" target="_blank"><span class=" glyphicon glyphicon-map-marker" aria-hidden="true"></span> <span itemprop="addressLocality">Milano</span></a></div> </div></div>
如果使用JavaScript動態(tài)構(gòu)建標(biāo)記,那么Schema.org標(biāo)記是否有效?
慕工程0101907
2019-11-20 10:39:07