凤凰网的文章分页规则如何写啊?帮帮忙
http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_0.shtml分页区代码为:<div class="pageContainer">
<div class="pager"><span class="nextprev" id="pageprev"><<上一页</span> <span class="current">1</span> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/18/1639106_1.shtml">2</a><a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/18/1639106_2.shtml">3</a> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/18/1639106_1.shtml" class="nextprev" id="pageprev">下一页>></a> </div>
</div>像这种 应当如何写呢?? 这还不好写嘛?联系我 帮你搞定 这上面说太麻烦了QQ 121083181 全部列出模式,开始位置<div class="pager"> 结束位置</div> 不好意思这个是可以采用全部列出模式采集。
但是有些页面他是这样的<div class="pageContainer">
<div class="pager"><span class="nextprev" id="pageprev"><<上一页</span> <span class="current">1</span> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_1.shtml">2</a><a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_2.shtml">3</a><span id="pagecontent">...</span><a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_8.shtml">9</a><a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_9.shtml">10</a> <a href="http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_1.shtml" class="nextprev" id="pageprev">下一页>></a> </div>
</div>中间省略了一些页码的链接! 选择 全部列出模式,开始位置<div class="pager"> 结束位置</div>会导致 中间省略的页码无法采集
选择 上下页(上N页下N页)模式,开始位置<div class="pager"> 结束位置</div> 结果是所有的分页都可以采集,但是页码排序混乱了
自定义链接模式 不知道如何写 所以木选。 哪位热心肠的朋友过来帮帮忙吧! 我再上面留了 QQ号码 竟然没有人加 我帮他搞定????????????? 至今尚未彻底解决 高人究竟何在? ████████████████████████████████████
█此页面包含多个分页:
█1:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_0.shtml
█2:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_1.shtml
█3:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_2.shtml
█4:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_3.shtml
█5:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_4.shtml
█6:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_5.shtml
█7:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_6.shtml
█8:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_7.shtml
█9:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_8.shtml
█10:http://fashion.ifeng.com/beauty/makeup/detail_2010_06/12/1617310_9.shtml
█有分页匹配的标签,比如内容注意选中标签编辑框中的[该标签在分页中匹配]
只要是循环的分页,好象无法解决。也就是页码完了,最后一页上的下一页又指向第一页的,容易混乱
页:
[1]
2