gpt4 book ai didi

angularjs - Angular 与微数据

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:28:44 24 4
gpt4 key购买 nike

Microdata 是否与动态 Angular ng-repeat 项一起使用?

我可以将它用作:

<div itemscope itemtype="http://schema.org/Product" ng-repeat="item in items">

</div>

最佳答案

我找到了 schema validator其中,对于我的网站,实际上显示了 Angular 表达式:

...
datePublished {{lvl_project['year']}}
name "{{lvl_project['title']}}"
keywords {{lvl_project['tools'].join(',')}}
...

此外,它不会显示所有 ng-repeat 生成的元素。

在我看来,这似乎是一个强有力的迹象,表明 google-bot 没有看到 Angular 生成的元素及其值,但可能还有更多我不知道的问题。

关于angularjs - Angular 与微数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32458214/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com