Page 1 of 1 [ 4 posts ] 

computerlove
Veteran
Veteran

User avatar

Joined: 10 Jul 2006
Age: 125
Gender: Male
Posts: 5,791

22 Aug 2009, 1:38 am

Kind of ugly, but it works for threads with more than one page, enjoy. also works when viewing sub-forums.

to use: 1.- install autopager
2.- Maybe after you install it, when you visit WP it'll say: "Found code for WP, install?". Press Yes.
if you did not see any confirmation window, do the next:

1.- copy the below code
2.- right click the Autopager icon, select "Import > From clipboard"
3.- enjoy

Code:
<autopager>
<site><urlPattern>http://www.wrongplanet.net/*</urlPattern>
<guid>DF06DC97-4E59-9226-9446-5977-1A3C-E89A</guid>
<margin>1</margin>
<owner>test0</owner>
<quickLoad>true</quickLoad>
<contentXPath>//body/table</contentXPath>
<testLink>http://www.wrongplanet.net/postt100398.html</testLink>
<linkXPath>//a[contains(text(),'Next')]</linkXPath>
<desc>http://www.wrongplanet.net/postt100398.html</desc>
</site>
</autopager>



Last edited by computerlove on 28 Aug 2009, 11:59 pm, edited 1 time in total.

computerlove
Veteran
Veteran

User avatar

Joined: 10 Jul 2006
Age: 125
Gender: Male
Posts: 5,791

28 Aug 2009, 11:48 pm

*bump*

works for sub-forums too


_________________
One of God's own prototypes. Some kind of high powered mutant never even considered for mass production. Too weird to live, and too rare to die.


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 36
Gender: Male
Posts: 12,518
Location: Room 101

29 Aug 2009, 11:33 am

You wrote an Autopager for WP? Thanks! I've been wondering why WP wouldn't auto-page for me.

One slight downside- Autopager is not necessarily ideal for a site with such slow load times as WP. But it's still nice.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


computerlove
Veteran
Veteran

User avatar

Joined: 10 Jul 2006
Age: 125
Gender: Male
Posts: 5,791

29 Aug 2009, 10:05 pm

Orwell wrote:
You wrote an Autopager for WP? Thanks!
(:



If you like it, just uploaded a Stylish code to make WP look cleaner: http://www.wrongplanet.net/postt106451.html link


_________________
One of God's own prototypes. Some kind of high powered mutant never even considered for mass production. Too weird to live, and too rare to die.