小编:使用目标页面的sourceId,推荐(点我查看什么是sourceId) spanid=sourceId::${sourceId}class=cy_cmt_count/span 使用目标页面的url spanid=url::${topic_url}class=cy_cmt_count/span 使用目标页面的topicId spanid=topicI
使用目标页面的sourceId,推荐(点我查看什么是sourceId)
<span id = "sourceId::${sourceId}" class = "cy_cmt_count" ></span>
使用目标页面的url
<span id = "url::${topic_url}" class = "cy_cmt_count" ></span>
使用目标页面的topicId
<span id = "topicId::${topicId}" class = "cy_cmt_count" ></span>
页面最后,需要添加如下代码
<script id="cy_cmt_num" src="
http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrFzMEIb"></script >
下面是一个批量获取评论数的示例代码
<span id = "sourceId::${sourceId}" class = "cy_cmt_count" ></span>
使用目标页面的url
<span id = "url::${topic_url}" class = "cy_cmt_count" ></span>
使用目标页面的topicId
<span id = "topicId::${topicId}" class = "cy_cmt_count" ></span>
页面最后,需要添加如下代码
<script id="cy_cmt_num" src="
http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrFzMEIb"></script >下面是一个批量获取评论数的示例代码
当前网址:https://www.3sranchmt.com//experience/share/2015/1007/51.html


![[世界说]外国媒体:美](http://news.anhuinews.com/guoji/202506/W020250610786431081492.png)

![[关于中国的事情]科学](http://news.anhuinews.com/xwgn/202509/W020250902708458255360.png)

