kath — 2012-08-09T08:49:22-04:00 — #1
I have written php code to display job results based on a search string.
For an example, my search criteria returned 400 jobs.
The restriction is that I can only call 10 results at a time.
So I would have to make this call 40 times, changing the page number to start each time.
Is there some code out there that I could get to help me with this?
cups — 2012-08-09T10:47:20-04:00 — #2
Do you have permission to do this? I would have thought they'd prefer to provide one hit rather than an extra 39 requests ....
Are you planning to display them in pages of 10, or are you going to cache the results in groups of 10 at a time?
cpradio — 2012-08-09T10:49:34-04:00 — #3
I agree with Cups, personally the way I have handled this in a recent project, is I downloaded the RSS feed XML, wrote it to a local file, and then used the local file for paging. I would then download the RSS feed XML once per day (or whatever the client requested) so I wouldn't tax the owner of the RSS feed.