Solved the image matching regexp issue: if the search term was more than one word, it needed to be rewritten for the query using a + rather than a space between the words.
as for hitting the catalog with searches over and over, I suppose there is a way to cache pages rather than pound the server over and over, right? I'll look into that. Godmar, would you mind passing along your PHP script so I can how exactly you created that JSON? On Tue, Dec 6, 2011 at 10:38 AM, Godmar Back <god...@gmail.com> wrote: > On Tue, Dec 6, 2011 at 11:18 AM, Nate Hill <nathanielh...@gmail.com> > wrote: > > > I attached the app as it stands now. There's something wrong w/ the > regex > > matching in catscrape.php so only some of the images are coming through. > > > > No, it's not the regexp. You're simply scraping syndetics links, without > checking if syndetics has or does not have an image for those ISBNs. Those > searches where the first four hits have jackets display, the others don't. > > > > Also: should I be sweating the fact that basically every time someone > > mouses over one of these boxes they are hitting our library catalog with > a > > query? It struck me that this might be unwise. But I don't know either > > way. > > > > > Yes, it's unwise, especially since the results won't change (much). > > - Godmar > -- Nate Hill nathanielh...@gmail.com http://www.natehill.net