【发布时间】:2013-06-10 20:02:57
【问题描述】:
我正在使用 Moovweb SDK 来转换我的博客站点,并且我有一个这样的 cmets 列表:
<ul class="commentlist">
<li class="comment" id="li-comment-131126">
<div id="comment-131126">
<div class="comment-author vcard">
Comment from <cite class="fn" id="tevfik_sertel01">Tevfik Sertel</cite>
</div>
<p>I'm so great!</p>
</div>
</li>
<li class="comment" id="li-comment-131127">
<div id="comment-131127">
<div class="comment-author vcard">
Comment from <cite class="fn" id="jimmy_page01">Jimmy Page</cite>
</div>
<p>You're really not that great.</p>
</div>
</li>
<li class="comment" id="li-comment-131129">
<div id="comment-131129">
<div class="comment-author vcard">
Comment from <cite class="fn" id="roger_waters_07">Roger Waters</cite>
</div>
<p>You're actually kind of a bore.</p>
</div>
</li>
</ul>
因为它们很荒谬,所以我想摆脱所有不是 tevfik 编写的 cmets。
或者更确切地说,删除 id 不包含 tevfik 的引用的 lis。
我该怎么做?
【问题讨论】: