View Single Post
Old 11-09-2011, 09:22 AM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by fw190a8 View Post
Being a programmer but a bit new to python and the world of feed parsing, could anybody help out with feeds that lead to stories with multiple pages? I am looking at the PC Gamer site first of all, to give you some context, and this post in particular is an example of one that has multiple pages.

Not all posts have multiple pages, and those that do, simply have 'next' buttons, rather than a full pager, so it's impossible to say from the first page how many pages are in a given article. It would be a case of saying: while (there's a 'next' button on the page) keep appending the page content and getting the next page - unfortunately my python's not good enough.

I'd like to ask for some help for a generic solution so I can adapt this for other purposes. I'll post any recipes I create using this, in case others are interested. Thanks in advance!
It's been written many times. Kovid's explained how it works. See the Adventure Gamers recipe that's builtin for a sample recipe. Search for "multipage" in this forum for comments on it and other examples.

Also, see here.

Last edited by Starson17; 11-09-2011 at 10:03 AM.
Starson17 is offline   Reply With Quote