2 Replies to “Improved image search”

  1. I really appreciate your work on this script, and I’m using it right now with John’s Background Switcher.

    One question — any chance the script can be updated so that the resulting RSS feed will show the complete search results, instead of just the first page. No matter what, every RSS media feed that I generate using ObSrv has only 21 items in it.

    Thanks again!

  2. Hi Aaron

    I’m really glad you’re using ObSrv.com – thanks for letting me know.

    For what it’s worth, I love Johns Background Switcher, and have loaded it on most of my machines here. That’s one of the reasons I wrote ObSrv – I wanted an easy way to pull in good images. John’s a great guy, and he takes fantastic photos 🙂

    I understand what you’re saying about the RSS feed. There’s a limit on the number of items in it. I did this because potentially you could have thousands of items in a feed, and you need some sort of upper limit on how many you show at any one time.

    I dug through the code, and surprise, surprise, the upper limit is 21 🙂

    There are two points I’d like to make about this:

    1. I will modify the system so you can specify the maximum number of items you can retrieve in one go. Please don’t go crazy with this. If you put too many items in, the site will spin its wheels, you’ll probably get a timeout error and the CPU usage on my server will redline 🙂

    2. If you do nothing, and keep the limit at 21, you should still get new images. ObSrv remembers what it has shown, and will try to show new items each time it’s accessed. If it doesn’t, either I’m doing something wrong, or there’s not many more pics for the search criteria you’re using.

    Regardless, please stay tuned, and I’ll make a new post when I’ve updated ObSrv!

    Best wishes

    Neil

Leave a Reply

Your email address will not be published. Required fields are marked *