百度空间 | 百度首页 
 
查看文章
 
适用于hoopchina(虎扑)和popgo(漫游)的AutoPager自动翻页设置
2009-06-02 12:20
适用于hoopchina(虎扑)和popgo(漫游)的自动翻页设置,当然,前提是你用firefox并安装了autopager插件

for hoopchina.com:

<autopager>
<site><urlPattern>http://bbs.hoopchina.com/*</urlPattern>
<guid>D661475F-94D9-7FE3-417A-D884-BFBD-5D3D</guid>
<margin>1</margin>
<owner>dyerac</owner>
<urlIsRegex>true</urlIsRegex>
<quickLoad>true</quickLoad>
<contentXPath>//div[@class='page_box']</contentXPath>
<contentXPath>//table[@id='pl']</contentXPath>
<contentXPath>//body</contentXPath>
<testLink>http://bbs.hoopchina.com/670864.html?vthread</testLink>
<linkXPath>//a[@class='next' and @title='下一页'] | //table[3]/tbody/tr/td[@align='left']/span[1]/following-sibling::a[1]</linkXPath>
<desc>http://bbs.hoopchina.com/670864.html?vthread</desc>
</site>
</autopager>

for popgo.net:

<autopager>
<site><urlPattern>popgo.net/*</urlPattern>
<guid>EEC01EEE-5707-D109-F0A8-17EE-AC12-4D23</guid>
<margin>1</margin>
<owner>dyerac</owner>
<urlIsRegex>true</urlIsRegex>
<quickLoad>true</quickLoad>
<contentXPath>//center</contentXPath>
<testLink>http://popgo.net/bbs/forumdisplay.php?s=&amp;forumid=11&amp;daysprune=30&amp;sortorder=&amp;sortfield=lastpost&amp;perpage=40&amp;pagenumber=3</testLink>
<linkXPath>//a[@title='下一页']</linkXPath>
<desc>http://popgo.net/bbs/forumdisplay.php?s=&amp;forumid=11&amp;daysprune=30&amp;sortorder=&amp;sortfield=lastpost&amp;perpage=40&amp;pagenumber=3</desc>
</site>
</autopager>

———————————–

PHPWind 老版本的html代码真可怕…都不用div的….

useful links:

http://www.teesoft.info/component/option,com_wrapper/Itemid,86/


类别:Computer Application | 添加到搜藏 | 浏览() | 评论 (1)
 
最近读者:
 
网友评论:
1
2009-06-02 12:21 | 回复
这竟然是你博客第一帖……
 
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu